1.1.1.17 mtch2120_setGain

MTCH2120_I2C_Status mtch2120_setGain(uint8_t channel, uint8_t value);

Description:

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

Parameters:

FieldTypeDescription
channeluint8_tChannel Number to write the gain value
valueuint8_tData that needs to be written.

Return:

MTCH2120_I2C_Status