Jump to main content

##

# 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:

Field | Type | Description
--- | --- | ---
channel | uint8_t | Channel Number to write the gain value
value | uint8_t | Data that needs to be written.

## Return:

MTCH2120_I2C_Status