mz_error_t
Enumeration of monoZ Error Flags.
void i2c1_tx_intr(void *arg)
mz_error_t I2C1_init(void)
MZ_I2C_INIT_ST i2c1_instance
void i2c1_rx_intr(void *arg)
#define MZ_I2C1_INIT_OWNADDRESS1
#define MZ_I2C1_INIT_OWNADDRESS2MASKS
#define MZ_I2C1_INIT_GENERALCALLMODE
#define MZ_I2C1_INIT_DUALADDRESSMODE
#define MZ_I2C1_INIT_NOSTRETCHMODE
#define MZ_I2C1_INIT_ADDRESSINGMODE
#define MZ_I2C1_INIT_OWNADDRESS2
#define MZ_I2C1_INIT_TIMING
This file contains all the functionalities for I2C protocol.
monoZ Public All peripheral Configurations will send to monoZ library through this file
mz_error_t MZ_I2C_register_intr_cb_rx(uint8_t i2c_no, _i2c_api cb)
This function registers the RX complete callback function for the specific I2C.
mz_error_t MZ_I2C_register_intr_cb_tx(uint8_t i2c_no, _i2c_api cb)
This function registers the TX complete callback function for the specific I2C.
mz_error_t MZ_I2C_Master_Receive_IT(uint8_t i2c_no, uint16_t DevAddress, uint8_t *pData, uint16_t Size)
This function is used to receive data using I2C in interrupt mode.
Structure for I2C Initialization.