35#define IMX_I2C_IADR_ADR(val) BSP_FLD16(val, 1, 7)
36#define IMX_I2C_IADR_ADR_GET(reg) BSP_FLD16GET(reg, 1, 7)
37#define IMX_I2C_IADR_ADR_SET(reg, val) BSP_FLD16SET(reg, val, 1, 7)
40#define IMX_I2C_IFDR_IC(val) BSP_FLD16(val, 0, 5)
41#define IMX_I2C_IFDR_IC_GET(reg) BSP_FLD16GET(reg, 0, 5)
42#define IMX_I2C_IFDR_IC_SET(reg, val) BSP_FLD16SET(reg, val, 0, 5)
45#define IMX_I2C_I2CR_IEN BSP_BIT16(7)
46#define IMX_I2C_I2CR_IIEN BSP_BIT16(6)
47#define IMX_I2C_I2CR_MSTA BSP_BIT16(5)
48#define IMX_I2C_I2CR_MTX BSP_BIT16(4)
49#define IMX_I2C_I2CR_TXAK BSP_BIT16(3)
50#define IMX_I2C_I2CR_RSTA BSP_BIT16(2)
53#define IMX_I2C_I2SR_ICF BSP_BIT16(7)
54#define IMX_I2C_I2SR_IAAS BSP_BIT16(6)
55#define IMX_I2C_I2SR_IBB BSP_BIT16(5)
56#define IMX_I2C_I2SR_IAL BSP_BIT16(4)
57#define IMX_I2C_I2SR_SRW BSP_BIT16(2)
58#define IMX_I2C_I2SR_IIF BSP_BIT16(1)
59#define IMX_I2C_I2SR_RXAK BSP_BIT16(0)
62#define IMX_I2C_I2DR_DATA(val) BSP_FLD16(val, 0, 7)
63#define IMX_I2C_I2DR_DATA_GET(reg) BSP_FLD16GET(reg, 0, 7)
64#define IMX_I2C_I2DR_DATA_SET(reg, val) BSP_FLD16SET(reg, val, 0, 7)
This header file provides utility macros for BSPs.
Definition: imx_i2creg.h:33