I2C
Inter-Integrated Circuit (I2C) hardware abstraction layer.
Summary
Macros
- I2C_CONFIG_MASK : Mask for the I2C_CFG register.
- I2C_PADS_NUM : Number of pads used for the I2C interface, for a single instance.
- SYS_I2C_GPIOCONFIG : Macro wrapper for Sys_I2C_GPIOConfig() Configure two GPIOs for the specified I2C interface.
- SYS_I2C_CONFIG : Macro wrapper for Sys_I2C_Config() Apply I2C Master mode related configuration.
- SYS_I2C_STARTREAD : Macro wrapper for Sys_I2C_StartRead() Send slave address on the bus with a read request.
- SYS_I2C_STARTWRITE : Macro wrapper for Sys_I2C_StartWrite() Send slave address on the bus with a write request.
- SYS_I2C_ACK : Macro wrapper for Sys_I2C_ACK() Issue an ACK on the I2C interface.
- SYS_I2C_NACK : Macro wrapper for Sys_I2C_NACK() Issue a NACK on the I2C interface.
- SYS_I2C_LASTDATA : Macro wrapper for Sys_I2C_LastData() Indicate that the current data is the last byte.
- SYS_I2C_RESET : Macro wrapper for Sys_I2C_Reset() Reset the I2C interface.
- SYS_I2C_NACKANDSTOP : Macro wrapper for Sys_I2C_NackAndStop() Issue a NACK followed by a Stop condition on I2C bus.
Functions
- Sys_I2C_GPIOConfig : Configure two GPIOs for the specified I2C interface.
- Sys_I2C_Config : Apply I2C Master mode related configuration.
- Sys_I2C_StartRead : Send slave address on the bus with a read request.
- Sys_I2C_StartWrite : Send slave address on the bus with a write request.
- Sys_I2C_ACK : Issue a ACK on the I2C interface.
- Sys_I2C_NACK : Issue a NACK on the I2C interface.
- Sys_I2C_LastData : Indicate that the current data is the last byte.
- Sys_I2C_Reset : Reset the I2C interface.
- Sys_I2C_NackAndStop : Issue a NACK followed by a Stop condition on I2C bus.