|
MZ_I2C_BTYPE_PTR | MZ_I2C_get_base_address (void) |
| This function returns the base address of all the I2CS defined in SDK. More...
|
|
MZ_I2C_BTYPE_PTR | MZ_I2C_reference (en_i2c_no i2c_no) |
| This function returns the address of the specific I2C. More...
|
|
mz_error_t | MZ_I2C_init (MZ_I2C_INIT_PTR _cfg) |
| This function initializes the specific I2C. More...
|
|
mz_error_t | MZ_I2C_register_callback (uint8_t I2C_no, _i2c_api cb) |
| This function registers the I2C callback. More...
|
|
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. More...
|
|
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. More...
|
|
mz_error_t | MZ_I2C_Master_Transmit (uint8_t i2c_no, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| This function is used to transmit data using I2C in interrupt mode. More...
|
|
mz_error_t | MZ_I2C_Master_Receive (uint8_t i2c_no, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| This function is used to receive data using I2C in interrupt mode. More...
|
|
mz_error_t | MZ_I2C_Master_Transmit_IT (uint8_t i2c_no, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
| This function is used to transmit data using I2C in polling mode. More...
|
|
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. More...
|
|
void | MZ_HAL_I2C_EV_IRQHandler (uint8_t i2c_no) |
| This function defines the Global Event Interrupt handler functions of I2C. More...
|
|
void | MZ_HAL_I2C_ER_IRQHandler (uint8_t i2c_no) |
| This function defines the Global Error Interrupt handler functions of I2C. More...
|
|
This file contains all the functionalities for I2C protocol.
- Date
- Jun 8, 2021
- Author
- Mahendra
Definition in file MZ_i2c.h.