|
#define | TMS570_I2C_OAR_OA(val) BSP_FLD32(val,0, 9) |
|
#define | TMS570_I2C_OAR_OA_GET(reg) BSP_FLD32GET(reg,0, 9) |
|
#define | TMS570_I2C_OAR_OA_SET(reg, val) BSP_FLD32SET(reg, val,0, 9) |
|
#define | TMS570_I2C_IMR_AASEN BSP_BIT32(6) |
|
#define | TMS570_I2C_IMR_SCDEN BSP_BIT32(5) |
|
#define | TMS570_I2C_IMR_TXRDYEN BSP_BIT32(4) |
|
#define | TMS570_I2C_IMR_RXRDYEN BSP_BIT32(3) |
|
#define | TMS570_I2C_IMR_ARDYEN BSP_BIT32(2) |
|
#define | TMS570_I2C_IMR_NACKEN BSP_BIT32(1) |
|
#define | TMS570_I2C_IMR_ALEN BSP_BIT32(0) |
|
#define | TMS570_I2C_STR_SDIR BSP_BIT32(14) |
|
#define | TMS570_I2C_STR_NACKSNT BSP_BIT32(13) |
|
#define | TMS570_I2C_STR_BB BSP_BIT32(12) |
|
#define | TMS570_I2C_STR_RSFULL BSP_BIT32(11) |
|
#define | TMS570_I2C_STR_XSMT BSP_BIT32(10) |
|
#define | TMS570_I2C_STR_AAS BSP_BIT32(9) |
|
#define | TMS570_I2C_STR_AD0 BSP_BIT32(8) |
|
#define | TMS570_I2C_STR_SCD BSP_BIT32(5) |
|
#define | TMS570_I2C_STR_TXRDY BSP_BIT32(4) |
|
#define | TMS570_I2C_STR_RXRDY BSP_BIT32(3) |
|
#define | TMS570_I2C_STR_ARDY BSP_BIT32(2) |
|
#define | TMS570_I2C_STR_NACK BSP_BIT32(1) |
|
#define | TMS570_I2C_STR_AL BSP_BIT32(0) |
|
#define | TMS570_I2C_CKL_CLKL(val) BSP_FLD32(val,0, 15) |
|
#define | TMS570_I2C_CKL_CLKL_GET(reg) BSP_FLD32GET(reg,0, 15) |
|
#define | TMS570_I2C_CKL_CLKL_SET(reg, val) BSP_FLD32SET(reg, val,0, 15) |
|
#define | TMS570_I2C_CKH_CLKH(val) BSP_FLD32(val,0, 15) |
|
#define | TMS570_I2C_CKH_CLKH_GET(reg) BSP_FLD32GET(reg,0, 15) |
|
#define | TMS570_I2C_CKH_CLKH_SET(reg, val) BSP_FLD32SET(reg, val,0, 15) |
|
#define | TMS570_I2C_CNT_CNT(val) BSP_FLD32(val,0, 15) |
|
#define | TMS570_I2C_CNT_CNT_GET(reg) BSP_FLD32GET(reg,0, 15) |
|
#define | TMS570_I2C_CNT_CNT_SET(reg, val) BSP_FLD32SET(reg, val,0, 15) |
|
#define | TMS570_I2C_DRR_DATARX(val) BSP_FLD32(val,0, 7) |
|
#define | TMS570_I2C_DRR_DATARX_GET(reg) BSP_FLD32GET(reg,0, 7) |
|
#define | TMS570_I2C_DRR_DATARX_SET(reg, val) BSP_FLD32SET(reg, val,0, 7) |
|
#define | TMS570_I2C_SAR_SA(val) BSP_FLD32(val,0, 9) |
|
#define | TMS570_I2C_SAR_SA_GET(reg) BSP_FLD32GET(reg,0, 9) |
|
#define | TMS570_I2C_SAR_SA_SET(reg, val) BSP_FLD32SET(reg, val,0, 9) |
|
#define | TMS570_I2C_DXR_DATATX(val) BSP_FLD32(val,0, 7) |
|
#define | TMS570_I2C_DXR_DATATX_GET(reg) BSP_FLD32GET(reg,0, 7) |
|
#define | TMS570_I2C_DXR_DATATX_SET(reg, val) BSP_FLD32SET(reg, val,0, 7) |
|
#define | TMS570_I2C_MDR_NACKMOD BSP_BIT32(15) |
|
#define | TMS570_I2C_MDR_FREE BSP_BIT32(14) |
|
#define | TMS570_I2C_MDR_STT BSP_BIT32(13) |
|
#define | TMS570_I2C_MDR_STP BSP_BIT32(11) |
|
#define | TMS570_I2C_MDR_MST BSP_BIT32(10) |
|
#define | TMS570_I2C_MDR_TRX BSP_BIT32(9) |
|
#define | TMS570_I2C_MDR_XA BSP_BIT32(8) |
|
#define | TMS570_I2C_MDR_RM BSP_BIT32(7) |
|
#define | TMS570_I2C_MDR_DLB BSP_BIT32(6) |
|
#define | TMS570_I2C_MDR_nIRS BSP_BIT32(5) |
|
#define | TMS570_I2C_MDR_STB BSP_BIT32(4) |
|
#define | TMS570_I2C_MDR_FDF BSP_BIT32(3) |
|
#define | TMS570_I2C_MDR_BC(val) BSP_FLD32(val,0, 2) |
|
#define | TMS570_I2C_MDR_BC_GET(reg) BSP_FLD32GET(reg,0, 2) |
|
#define | TMS570_I2C_MDR_BC_SET(reg, val) BSP_FLD32SET(reg, val,0, 2) |
|
#define | TMS570_I2C_IVR_TESTMD(val) BSP_FLD32(val,8, 11) |
|
#define | TMS570_I2C_IVR_TESTMD_GET(reg) BSP_FLD32GET(reg,8, 11) |
|
#define | TMS570_I2C_IVR_TESTMD_SET(reg, val) BSP_FLD32SET(reg, val,8, 11) |
|
#define | TMS570_I2C_IVR_INTCODE(val) BSP_FLD32(val,0, 2) |
|
#define | TMS570_I2C_IVR_INTCODE_GET(reg) BSP_FLD32GET(reg,0, 2) |
|
#define | TMS570_I2C_IVR_INTCODE_SET(reg, val) BSP_FLD32SET(reg, val,0, 2) |
|
#define | TMS570_I2C_EMDR_IGNACK BSP_BIT32(1) |
|
#define | TMS570_I2C_EMDR_BCM BSP_BIT32(0) |
|
#define | TMS570_I2C_PSC_PSC(val) BSP_FLD32(val,0, 7) |
|
#define | TMS570_I2C_PSC_PSC_GET(reg) BSP_FLD32GET(reg,0, 7) |
|
#define | TMS570_I2C_PSC_PSC_SET(reg, val) BSP_FLD32SET(reg, val,0, 7) |
|
#define | TMS570_I2C_PID11_CLASS(val) BSP_FLD32(val,8, 15) |
|
#define | TMS570_I2C_PID11_CLASS_GET(reg) BSP_FLD32GET(reg,8, 15) |
|
#define | TMS570_I2C_PID11_CLASS_SET(reg, val) BSP_FLD32SET(reg, val,8, 15) |
|
#define | TMS570_I2C_PID11_REVISION(val) BSP_FLD32(val,0, 7) |
|
#define | TMS570_I2C_PID11_REVISION_GET(reg) BSP_FLD32GET(reg,0, 7) |
|
#define | TMS570_I2C_PID11_REVISION_SET(reg, val) BSP_FLD32SET(reg, val,0, 7) |
|
#define | TMS570_I2C_PID12_TYPE(val) BSP_FLD32(val,0, 7) |
|
#define | TMS570_I2C_PID12_TYPE_GET(reg) BSP_FLD32GET(reg,0, 7) |
|
#define | TMS570_I2C_PID12_TYPE_SET(reg, val) BSP_FLD32SET(reg, val,0, 7) |
|
#define | TMS570_I2C_DMACR_TXDMAEN BSP_BIT32(1) |
|
#define | TMS570_I2C_DMACR_RXDMAEN BSP_BIT32(0) |
|
#define | TMS570_I2C_PFNC_PINFUNC BSP_BIT32(0) |
|
#define | TMS570_I2C_DIR_SDADIR BSP_BIT32(1) |
|
#define | TMS570_I2C_DIR_SCLDIR BSP_BIT32(0) |
|
#define | TMS570_I2C_DIN_SDAIN BSP_BIT32(1) |
|
#define | TMS570_I2C_DIN_SCLIN BSP_BIT32(0) |
|
#define | TMS570_I2C_DOUT_SDAOUT BSP_BIT32(1) |
|
#define | TMS570_I2C_DOUT_SCLOUT BSP_BIT32(0) |
|
#define | TMS570_I2C_SET_SDASET BSP_BIT32(1) |
|
#define | TMS570_I2C_SET_SCLSET BSP_BIT32(0) |
|
#define | TMS570_I2C_CLR_SDACLR BSP_BIT32(1) |
|
#define | TMS570_I2C_CLR_SCLCLR BSP_BIT32(0) |
|
#define | TMS570_I2C_PDR_SDAPDR BSP_BIT32(1) |
|
#define | TMS570_I2C_PDR_SCLPDR BSP_BIT32(0) |
|
#define | TMS570_I2C_PDIS_SDAPDIS BSP_BIT32(1) |
|
#define | TMS570_I2C_PDIS_SCLPDIS BSP_BIT32(0) |
|
#define | TMS570_I2C_PSEL_SDAPSEL BSP_BIT32(1) |
|
#define | TMS570_I2C_PSEL_SCLPSEL BSP_BIT32(0) |
|
#define | TMS570_I2C_pSRS_SDASRS BSP_BIT32(1) |
|
#define | TMS570_I2C_pSRS_SCLSRS BSP_BIT32(0) |
|