1.1.1.16 mtch2120_getGain

MTCH2120_I2C_Status mtch2120_getGain(uint8_t channel, uint8_t *value);

Description:

This function reads gain value from the MTCH2120 device memory via the I2C peripheral, according to the specified channel.

Parameters:

FieldTypeDescription
channeluint8_tChannel Number to read the gain value
valueuint8_t*Buffer to store the read value

Return:

MTCH2120_I2C_Status