MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Files | |
file | fsl_i2c.h |
Macros | |
#define | I2C_WAIT_TIMEOUT 0U /* Define to zero means keep waiting until the flag is assert/deassert. */ |
Timeout times for waiting flag. More... | |
#define | I2C_STAT_MSTCODE_IDLE (0) |
Master Idle State Code. | |
#define | I2C_STAT_MSTCODE_RXREADY (1) |
Master Receive Ready State Code. | |
#define | I2C_STAT_MSTCODE_TXREADY (2) |
Master Transmit Ready State Code. | |
#define | I2C_STAT_MSTCODE_NACKADR (3) |
Master NACK by slave on address State Code. | |
#define | I2C_STAT_MSTCODE_NACKDAT (4) |
Master NACK by slave on data State Code. | |
Enumerations | |
enum | _i2c_status { kStatus_I2C_Busy = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 0), kStatus_I2C_Idle = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 1), kStatus_I2C_Nak, kStatus_I2C_InvalidParameter, kStatus_I2C_BitError = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 4), kStatus_I2C_ArbitrationLost = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 5), kStatus_I2C_NoTransferInProgress, kStatus_I2C_DmaRequestFail = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 7) , kStatus_I2C_Timeout = MAKE_STATUS(kStatusGroup_FLEXCOMM_I2C, 10) } |
I2C status return codes. More... | |
Driver version | |
#define | FSL_I2C_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
I2C driver version 2.0.1. More... | |
#define FSL_I2C_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
#define I2C_WAIT_TIMEOUT 0U /* Define to zero means keep waiting until the flag is assert/deassert. */ |
enum _i2c_status |