1.1.1.4 mtch2120_writeToMemory

MTCH2120_I2C_Status mtch2120_writeToMemory(uint16_t memoryAddress, const uint8_t *data, uint8_t length);

Description:

This function writes data to the MTCH2120 device memory via the I2C peripheral, according to the specified length.

Parameters:

FieldTypeDescription
memoryAddressuint16_tAddress of the memory location
dataconst uint8_t *Data that needs to be written.
lengthuint8_tNumber of bytes to write

Return:

MTCH2120_I2C_Status