22 #define IMX_I2C_IADR_ADR(val) BSP_FLD16(val, 1, 7) 23 #define IMX_I2C_IADR_ADR_GET(reg) BSP_FLD16GET(reg, 1, 7) 24 #define IMX_I2C_IADR_ADR_SET(reg, val) BSP_FLD16SET(reg, val, 1, 7) 27 #define IMX_I2C_IFDR_IC(val) BSP_FLD16(val, 0, 5) 28 #define IMX_I2C_IFDR_IC_GET(reg) BSP_FLD16GET(reg, 0, 5) 29 #define IMX_I2C_IFDR_IC_SET(reg, val) BSP_FLD16SET(reg, val, 0, 5) 32 #define IMX_I2C_I2CR_IEN BSP_BIT16(7) 33 #define IMX_I2C_I2CR_IIEN BSP_BIT16(6) 34 #define IMX_I2C_I2CR_MSTA BSP_BIT16(5) 35 #define IMX_I2C_I2CR_MTX BSP_BIT16(4) 36 #define IMX_I2C_I2CR_TXAK BSP_BIT16(3) 37 #define IMX_I2C_I2CR_RSTA BSP_BIT16(2) 40 #define IMX_I2C_I2SR_ICF BSP_BIT16(7) 41 #define IMX_I2C_I2SR_IAAS BSP_BIT16(6) 42 #define IMX_I2C_I2SR_IBB BSP_BIT16(5) 43 #define IMX_I2C_I2SR_IAL BSP_BIT16(4) 44 #define IMX_I2C_I2SR_SRW BSP_BIT16(2) 45 #define IMX_I2C_I2SR_IIF BSP_BIT16(1) 46 #define IMX_I2C_I2SR_RXAK BSP_BIT16(0) 49 #define IMX_I2C_I2DR_DATA(val) BSP_FLD16(val, 0, 7) 50 #define IMX_I2C_I2DR_DATA_GET(reg) BSP_FLD16GET(reg, 0, 7) 51 #define IMX_I2C_I2DR_DATA_SET(reg, val) BSP_FLD16SET(reg, val, 0, 7)
Definition: imx_i2creg.h:20