Macros | |
| #define | I2C_SLVADR_COUNT |
| #define | I2C_SLVADR_COUNT |
CFG - Configuration Register | |
| #define | I2C_CFG_MSTEN_MASK |
| #define | I2C_CFG_MSTEN_SHIFT |
| #define | I2C_CFG_MSTEN(x) |
| #define | I2C_CFG_SLVEN_MASK |
| #define | I2C_CFG_SLVEN_SHIFT |
| #define | I2C_CFG_SLVEN(x) |
| #define | I2C_CFG_MONEN_MASK |
| #define | I2C_CFG_MONEN_SHIFT |
| #define | I2C_CFG_MONEN(x) |
| #define | I2C_CFG_TIMEOUTEN_MASK |
| #define | I2C_CFG_TIMEOUTEN_SHIFT |
| #define | I2C_CFG_TIMEOUTEN(x) |
| #define | I2C_CFG_MONCLKSTR_MASK |
| #define | I2C_CFG_MONCLKSTR_SHIFT |
| #define | I2C_CFG_MONCLKSTR(x) |
| #define | I2C_CFG_HSCAPABLE_MASK |
| #define | I2C_CFG_HSCAPABLE_SHIFT |
| #define | I2C_CFG_HSCAPABLE(x) |
| #define | I2C_CFG_MSTEN_MASK |
| #define | I2C_CFG_MSTEN_SHIFT |
| #define | I2C_CFG_MSTEN(x) |
| #define | I2C_CFG_SLVEN_MASK |
| #define | I2C_CFG_SLVEN_SHIFT |
| #define | I2C_CFG_SLVEN(x) |
| #define | I2C_CFG_MONEN_MASK |
| #define | I2C_CFG_MONEN_SHIFT |
| #define | I2C_CFG_MONEN(x) |
| #define | I2C_CFG_TIMEOUTEN_MASK |
| #define | I2C_CFG_TIMEOUTEN_SHIFT |
| #define | I2C_CFG_TIMEOUTEN(x) |
| #define | I2C_CFG_MONCLKSTR_MASK |
| #define | I2C_CFG_MONCLKSTR_SHIFT |
| #define | I2C_CFG_MONCLKSTR(x) |
| #define | I2C_CFG_HSCAPABLE_MASK |
| #define | I2C_CFG_HSCAPABLE_SHIFT |
| #define | I2C_CFG_HSCAPABLE(x) |
| #define | SPI_CFG_ENABLE_MASK |
| #define | SPI_CFG_ENABLE_SHIFT |
| #define | SPI_CFG_ENABLE(x) |
| #define | SPI_CFG_MASTER_MASK |
| #define | SPI_CFG_MASTER_SHIFT |
| #define | SPI_CFG_MASTER(x) |
| #define | SPI_CFG_LSBF_MASK |
| #define | SPI_CFG_LSBF_SHIFT |
| #define | SPI_CFG_LSBF(x) |
| #define | SPI_CFG_CPHA_MASK |
| #define | SPI_CFG_CPHA_SHIFT |
| #define | SPI_CFG_CPHA(x) |
| #define | SPI_CFG_CPOL_MASK |
| #define | SPI_CFG_CPOL_SHIFT |
| #define | SPI_CFG_CPOL(x) |
| #define | SPI_CFG_LOOP_MASK |
| #define | SPI_CFG_LOOP_SHIFT |
| #define | SPI_CFG_LOOP(x) |
| #define | SPI_CFG_SPOL0_MASK |
| #define | SPI_CFG_SPOL0_SHIFT |
| #define | SPI_CFG_SPOL0(x) |
| #define | SPI_CFG_SPOL1_MASK |
| #define | SPI_CFG_SPOL1_SHIFT |
| #define | SPI_CFG_SPOL1(x) |
| #define | SPI_CFG_SPOL2_MASK |
| #define | SPI_CFG_SPOL2_SHIFT |
| #define | SPI_CFG_SPOL2(x) |
| #define | SPI_CFG_SPOL3_MASK |
| #define | SPI_CFG_SPOL3_SHIFT |
| #define | SPI_CFG_SPOL3(x) |
| #define | SPI_CFG_ENABLE_MASK |
| #define | SPI_CFG_ENABLE_SHIFT |
| #define | SPI_CFG_ENABLE(x) |
| #define | SPI_CFG_MASTER_MASK |
| #define | SPI_CFG_MASTER_SHIFT |
| #define | SPI_CFG_MASTER(x) |
| #define | SPI_CFG_LSBF_MASK |
| #define | SPI_CFG_LSBF_SHIFT |
| #define | SPI_CFG_LSBF(x) |
| #define | SPI_CFG_CPHA_MASK |
| #define | SPI_CFG_CPHA_SHIFT |
| #define | SPI_CFG_CPHA(x) |
| #define | SPI_CFG_CPOL_MASK |
| #define | SPI_CFG_CPOL_SHIFT |
| #define | SPI_CFG_CPOL(x) |
| #define | SPI_CFG_LOOP_MASK |
| #define | SPI_CFG_LOOP_SHIFT |
| #define | SPI_CFG_LOOP(x) |
| #define | SPI_CFG_SPOL0_MASK |
| #define | SPI_CFG_SPOL0_SHIFT |
| #define | SPI_CFG_SPOL0(x) |
| #define | SPI_CFG_SPOL1_MASK |
| #define | SPI_CFG_SPOL1_SHIFT |
| #define | SPI_CFG_SPOL1(x) |
| #define | SPI_CFG_SPOL2_MASK |
| #define | SPI_CFG_SPOL2_SHIFT |
| #define | SPI_CFG_SPOL2(x) |
| #define | SPI_CFG_SPOL3_MASK |
| #define | SPI_CFG_SPOL3_SHIFT |
| #define | SPI_CFG_SPOL3(x) |
STAT - Status Register | |
| #define | I2C_STAT_MSTPENDING_MASK |
| #define | I2C_STAT_MSTPENDING_SHIFT |
| #define | I2C_STAT_MSTPENDING(x) |
| #define | I2C_STAT_MSTSTATE_MASK |
| #define | I2C_STAT_MSTSTATE_SHIFT |
| #define | I2C_STAT_MSTSTATE(x) |
| #define | I2C_STAT_MSTARBLOSS_MASK |
| #define | I2C_STAT_MSTARBLOSS_SHIFT |
| #define | I2C_STAT_MSTARBLOSS(x) |
| #define | I2C_STAT_MSTSTSTPERR_MASK |
| #define | I2C_STAT_MSTSTSTPERR_SHIFT |
| #define | I2C_STAT_MSTSTSTPERR(x) |
| #define | I2C_STAT_SLVPENDING_MASK |
| #define | I2C_STAT_SLVPENDING_SHIFT |
| #define | I2C_STAT_SLVPENDING(x) |
| #define | I2C_STAT_SLVSTATE_MASK |
| #define | I2C_STAT_SLVSTATE_SHIFT |
| #define | I2C_STAT_SLVSTATE(x) |
| #define | I2C_STAT_SLVNOTSTR_MASK |
| #define | I2C_STAT_SLVNOTSTR_SHIFT |
| #define | I2C_STAT_SLVNOTSTR(x) |
| #define | I2C_STAT_SLVIDX_MASK |
| #define | I2C_STAT_SLVIDX_SHIFT |
| #define | I2C_STAT_SLVIDX(x) |
| #define | I2C_STAT_SLVSEL_MASK |
| #define | I2C_STAT_SLVSEL_SHIFT |
| #define | I2C_STAT_SLVSEL(x) |
| #define | I2C_STAT_SLVDESEL_MASK |
| #define | I2C_STAT_SLVDESEL_SHIFT |
| #define | I2C_STAT_SLVDESEL(x) |
| #define | I2C_STAT_MONRDY_MASK |
| #define | I2C_STAT_MONRDY_SHIFT |
| #define | I2C_STAT_MONRDY(x) |
| #define | I2C_STAT_MONOV_MASK |
| #define | I2C_STAT_MONOV_SHIFT |
| #define | I2C_STAT_MONOV(x) |
| #define | I2C_STAT_MONACTIVE_MASK |
| #define | I2C_STAT_MONACTIVE_SHIFT |
| #define | I2C_STAT_MONACTIVE(x) |
| #define | I2C_STAT_MONIDLE_MASK |
| #define | I2C_STAT_MONIDLE_SHIFT |
| #define | I2C_STAT_MONIDLE(x) |
| #define | I2C_STAT_EVENTTIMEOUT_MASK |
| #define | I2C_STAT_EVENTTIMEOUT_SHIFT |
| #define | I2C_STAT_EVENTTIMEOUT(x) |
| #define | I2C_STAT_SCLTIMEOUT_MASK |
| #define | I2C_STAT_SCLTIMEOUT_SHIFT |
| #define | I2C_STAT_SCLTIMEOUT(x) |
| #define | I2C_STAT_MSTPENDING_MASK |
| #define | I2C_STAT_MSTPENDING_SHIFT |
| #define | I2C_STAT_MSTPENDING(x) |
| #define | I2C_STAT_MSTSTATE_MASK |
| #define | I2C_STAT_MSTSTATE_SHIFT |
| #define | I2C_STAT_MSTSTATE(x) |
| #define | I2C_STAT_MSTARBLOSS_MASK |
| #define | I2C_STAT_MSTARBLOSS_SHIFT |
| #define | I2C_STAT_MSTARBLOSS(x) |
| #define | I2C_STAT_MSTSTSTPERR_MASK |
| #define | I2C_STAT_MSTSTSTPERR_SHIFT |
| #define | I2C_STAT_MSTSTSTPERR(x) |
| #define | I2C_STAT_SLVPENDING_MASK |
| #define | I2C_STAT_SLVPENDING_SHIFT |
| #define | I2C_STAT_SLVPENDING(x) |
| #define | I2C_STAT_SLVSTATE_MASK |
| #define | I2C_STAT_SLVSTATE_SHIFT |
| #define | I2C_STAT_SLVSTATE(x) |
| #define | I2C_STAT_SLVNOTSTR_MASK |
| #define | I2C_STAT_SLVNOTSTR_SHIFT |
| #define | I2C_STAT_SLVNOTSTR(x) |
| #define | I2C_STAT_SLVIDX_MASK |
| #define | I2C_STAT_SLVIDX_SHIFT |
| #define | I2C_STAT_SLVIDX(x) |
| #define | I2C_STAT_SLVSEL_MASK |
| #define | I2C_STAT_SLVSEL_SHIFT |
| #define | I2C_STAT_SLVSEL(x) |
| #define | I2C_STAT_SLVDESEL_MASK |
| #define | I2C_STAT_SLVDESEL_SHIFT |
| #define | I2C_STAT_SLVDESEL(x) |
| #define | I2C_STAT_MONRDY_MASK |
| #define | I2C_STAT_MONRDY_SHIFT |
| #define | I2C_STAT_MONRDY(x) |
| #define | I2C_STAT_MONOV_MASK |
| #define | I2C_STAT_MONOV_SHIFT |
| #define | I2C_STAT_MONOV(x) |
| #define | I2C_STAT_MONACTIVE_MASK |
| #define | I2C_STAT_MONACTIVE_SHIFT |
| #define | I2C_STAT_MONACTIVE(x) |
| #define | I2C_STAT_MONIDLE_MASK |
| #define | I2C_STAT_MONIDLE_SHIFT |
| #define | I2C_STAT_MONIDLE(x) |
| #define | I2C_STAT_EVENTTIMEOUT_MASK |
| #define | I2C_STAT_EVENTTIMEOUT_SHIFT |
| #define | I2C_STAT_EVENTTIMEOUT(x) |
| #define | I2C_STAT_SCLTIMEOUT_MASK |
| #define | I2C_STAT_SCLTIMEOUT_SHIFT |
| #define | I2C_STAT_SCLTIMEOUT(x) |
| #define | SPI_STAT_SSA_MASK |
| #define | SPI_STAT_SSA_SHIFT |
| #define | SPI_STAT_SSA(x) |
| #define | SPI_STAT_SSD_MASK |
| #define | SPI_STAT_SSD_SHIFT |
| #define | SPI_STAT_SSD(x) |
| #define | SPI_STAT_STALLED_MASK |
| #define | SPI_STAT_STALLED_SHIFT |
| #define | SPI_STAT_STALLED(x) |
| #define | SPI_STAT_ENDTRANSFER_MASK |
| #define | SPI_STAT_ENDTRANSFER_SHIFT |
| #define | SPI_STAT_ENDTRANSFER(x) |
| #define | SPI_STAT_MSTIDLE_MASK |
| #define | SPI_STAT_MSTIDLE_SHIFT |
| #define | SPI_STAT_MSTIDLE(x) |
| #define | SPI_STAT_SSA_MASK |
| #define | SPI_STAT_SSA_SHIFT |
| #define | SPI_STAT_SSA(x) |
| #define | SPI_STAT_SSD_MASK |
| #define | SPI_STAT_SSD_SHIFT |
| #define | SPI_STAT_SSD(x) |
| #define | SPI_STAT_STALLED_MASK |
| #define | SPI_STAT_STALLED_SHIFT |
| #define | SPI_STAT_STALLED(x) |
| #define | SPI_STAT_ENDTRANSFER_MASK |
| #define | SPI_STAT_ENDTRANSFER_SHIFT |
| #define | SPI_STAT_ENDTRANSFER(x) |
| #define | SPI_STAT_MSTIDLE_MASK |
| #define | SPI_STAT_MSTIDLE_SHIFT |
| #define | SPI_STAT_MSTIDLE(x) |
INTENSET - Interrupt Enable Set Register | |
| #define | I2C_INTENSET_MSTPENDINGEN_MASK |
| #define | I2C_INTENSET_MSTPENDINGEN_SHIFT |
| #define | I2C_INTENSET_MSTPENDINGEN(x) |
| #define | I2C_INTENSET_MSTARBLOSSEN_MASK |
| #define | I2C_INTENSET_MSTARBLOSSEN_SHIFT |
| #define | I2C_INTENSET_MSTARBLOSSEN(x) |
| #define | I2C_INTENSET_MSTSTSTPERREN_MASK |
| #define | I2C_INTENSET_MSTSTSTPERREN_SHIFT |
| #define | I2C_INTENSET_MSTSTSTPERREN(x) |
| #define | I2C_INTENSET_SLVPENDINGEN_MASK |
| #define | I2C_INTENSET_SLVPENDINGEN_SHIFT |
| #define | I2C_INTENSET_SLVPENDINGEN(x) |
| #define | I2C_INTENSET_SLVNOTSTREN_MASK |
| #define | I2C_INTENSET_SLVNOTSTREN_SHIFT |
| #define | I2C_INTENSET_SLVNOTSTREN(x) |
| #define | I2C_INTENSET_SLVDESELEN_MASK |
| #define | I2C_INTENSET_SLVDESELEN_SHIFT |
| #define | I2C_INTENSET_SLVDESELEN(x) |
| #define | I2C_INTENSET_MONRDYEN_MASK |
| #define | I2C_INTENSET_MONRDYEN_SHIFT |
| #define | I2C_INTENSET_MONRDYEN(x) |
| #define | I2C_INTENSET_MONOVEN_MASK |
| #define | I2C_INTENSET_MONOVEN_SHIFT |
| #define | I2C_INTENSET_MONOVEN(x) |
| #define | I2C_INTENSET_MONIDLEEN_MASK |
| #define | I2C_INTENSET_MONIDLEEN_SHIFT |
| #define | I2C_INTENSET_MONIDLEEN(x) |
| #define | I2C_INTENSET_EVENTTIMEOUTEN_MASK |
| #define | I2C_INTENSET_EVENTTIMEOUTEN_SHIFT |
| #define | I2C_INTENSET_EVENTTIMEOUTEN(x) |
| #define | I2C_INTENSET_SCLTIMEOUTEN_MASK |
| #define | I2C_INTENSET_SCLTIMEOUTEN_SHIFT |
| #define | I2C_INTENSET_SCLTIMEOUTEN(x) |
| #define | I2C_INTENSET_MSTPENDINGEN_MASK |
| #define | I2C_INTENSET_MSTPENDINGEN_SHIFT |
| #define | I2C_INTENSET_MSTPENDINGEN(x) |
| #define | I2C_INTENSET_MSTARBLOSSEN_MASK |
| #define | I2C_INTENSET_MSTARBLOSSEN_SHIFT |
| #define | I2C_INTENSET_MSTARBLOSSEN(x) |
| #define | I2C_INTENSET_MSTSTSTPERREN_MASK |
| #define | I2C_INTENSET_MSTSTSTPERREN_SHIFT |
| #define | I2C_INTENSET_MSTSTSTPERREN(x) |
| #define | I2C_INTENSET_SLVPENDINGEN_MASK |
| #define | I2C_INTENSET_SLVPENDINGEN_SHIFT |
| #define | I2C_INTENSET_SLVPENDINGEN(x) |
| #define | I2C_INTENSET_SLVNOTSTREN_MASK |
| #define | I2C_INTENSET_SLVNOTSTREN_SHIFT |
| #define | I2C_INTENSET_SLVNOTSTREN(x) |
| #define | I2C_INTENSET_SLVDESELEN_MASK |
| #define | I2C_INTENSET_SLVDESELEN_SHIFT |
| #define | I2C_INTENSET_SLVDESELEN(x) |
| #define | I2C_INTENSET_MONRDYEN_MASK |
| #define | I2C_INTENSET_MONRDYEN_SHIFT |
| #define | I2C_INTENSET_MONRDYEN(x) |
| #define | I2C_INTENSET_MONOVEN_MASK |
| #define | I2C_INTENSET_MONOVEN_SHIFT |
| #define | I2C_INTENSET_MONOVEN(x) |
| #define | I2C_INTENSET_MONIDLEEN_MASK |
| #define | I2C_INTENSET_MONIDLEEN_SHIFT |
| #define | I2C_INTENSET_MONIDLEEN(x) |
| #define | I2C_INTENSET_EVENTTIMEOUTEN_MASK |
| #define | I2C_INTENSET_EVENTTIMEOUTEN_SHIFT |
| #define | I2C_INTENSET_EVENTTIMEOUTEN(x) |
| #define | I2C_INTENSET_SCLTIMEOUTEN_MASK |
| #define | I2C_INTENSET_SCLTIMEOUTEN_SHIFT |
| #define | I2C_INTENSET_SCLTIMEOUTEN(x) |
INTENCLR - Interrupt Enable Clear Register | |
| #define | I2C_INTENCLR_MSTPENDINGCLR_MASK |
| #define | I2C_INTENCLR_MSTPENDINGCLR_SHIFT |
| #define | I2C_INTENCLR_MSTPENDINGCLR(x) |
| #define | I2C_INTENCLR_MSTARBLOSSCLR_MASK |
| #define | I2C_INTENCLR_MSTARBLOSSCLR_SHIFT |
| #define | I2C_INTENCLR_MSTARBLOSSCLR(x) |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR_MASK |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR_SHIFT |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR(x) |
| #define | I2C_INTENCLR_SLVPENDINGCLR_MASK |
| #define | I2C_INTENCLR_SLVPENDINGCLR_SHIFT |
| #define | I2C_INTENCLR_SLVPENDINGCLR(x) |
| #define | I2C_INTENCLR_SLVNOTSTRCLR_MASK |
| #define | I2C_INTENCLR_SLVNOTSTRCLR_SHIFT |
| #define | I2C_INTENCLR_SLVNOTSTRCLR(x) |
| #define | I2C_INTENCLR_SLVDESELCLR_MASK |
| #define | I2C_INTENCLR_SLVDESELCLR_SHIFT |
| #define | I2C_INTENCLR_SLVDESELCLR(x) |
| #define | I2C_INTENCLR_MONRDYCLR_MASK |
| #define | I2C_INTENCLR_MONRDYCLR_SHIFT |
| #define | I2C_INTENCLR_MONRDYCLR(x) |
| #define | I2C_INTENCLR_MONOVCLR_MASK |
| #define | I2C_INTENCLR_MONOVCLR_SHIFT |
| #define | I2C_INTENCLR_MONOVCLR(x) |
| #define | I2C_INTENCLR_MONIDLECLR_MASK |
| #define | I2C_INTENCLR_MONIDLECLR_SHIFT |
| #define | I2C_INTENCLR_MONIDLECLR(x) |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR_MASK |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR_SHIFT |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR(x) |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR_MASK |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR_SHIFT |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR(x) |
| #define | I2C_INTENCLR_MSTPENDINGCLR_MASK |
| #define | I2C_INTENCLR_MSTPENDINGCLR_SHIFT |
| #define | I2C_INTENCLR_MSTPENDINGCLR(x) |
| #define | I2C_INTENCLR_MSTARBLOSSCLR_MASK |
| #define | I2C_INTENCLR_MSTARBLOSSCLR_SHIFT |
| #define | I2C_INTENCLR_MSTARBLOSSCLR(x) |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR_MASK |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR_SHIFT |
| #define | I2C_INTENCLR_MSTSTSTPERRCLR(x) |
| #define | I2C_INTENCLR_SLVPENDINGCLR_MASK |
| #define | I2C_INTENCLR_SLVPENDINGCLR_SHIFT |
| #define | I2C_INTENCLR_SLVPENDINGCLR(x) |
| #define | I2C_INTENCLR_SLVNOTSTRCLR_MASK |
| #define | I2C_INTENCLR_SLVNOTSTRCLR_SHIFT |
| #define | I2C_INTENCLR_SLVNOTSTRCLR(x) |
| #define | I2C_INTENCLR_SLVDESELCLR_MASK |
| #define | I2C_INTENCLR_SLVDESELCLR_SHIFT |
| #define | I2C_INTENCLR_SLVDESELCLR(x) |
| #define | I2C_INTENCLR_MONRDYCLR_MASK |
| #define | I2C_INTENCLR_MONRDYCLR_SHIFT |
| #define | I2C_INTENCLR_MONRDYCLR(x) |
| #define | I2C_INTENCLR_MONOVCLR_MASK |
| #define | I2C_INTENCLR_MONOVCLR_SHIFT |
| #define | I2C_INTENCLR_MONOVCLR(x) |
| #define | I2C_INTENCLR_MONIDLECLR_MASK |
| #define | I2C_INTENCLR_MONIDLECLR_SHIFT |
| #define | I2C_INTENCLR_MONIDLECLR(x) |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR_MASK |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR_SHIFT |
| #define | I2C_INTENCLR_EVENTTIMEOUTCLR(x) |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR_MASK |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR_SHIFT |
| #define | I2C_INTENCLR_SCLTIMEOUTCLR(x) |
| #define | SPI_INTENCLR_SSAEN_MASK |
| #define | SPI_INTENCLR_SSAEN_SHIFT |
| #define | SPI_INTENCLR_SSAEN(x) |
| #define | SPI_INTENCLR_SSDEN_MASK |
| #define | SPI_INTENCLR_SSDEN_SHIFT |
| #define | SPI_INTENCLR_SSDEN(x) |
| #define | SPI_INTENCLR_MSTIDLE_MASK |
| #define | SPI_INTENCLR_MSTIDLE_SHIFT |
| #define | SPI_INTENCLR_MSTIDLE(x) |
| #define | SPI_INTENCLR_SSAEN_MASK |
| #define | SPI_INTENCLR_SSAEN_SHIFT |
| #define | SPI_INTENCLR_SSAEN(x) |
| #define | SPI_INTENCLR_SSDEN_MASK |
| #define | SPI_INTENCLR_SSDEN_SHIFT |
| #define | SPI_INTENCLR_SSDEN(x) |
| #define | SPI_INTENCLR_MSTIDLE_MASK |
| #define | SPI_INTENCLR_MSTIDLE_SHIFT |
| #define | SPI_INTENCLR_MSTIDLE(x) |
TIMEOUT - Time-out Register | |
| #define | I2C_TIMEOUT_TOMIN_MASK |
| #define | I2C_TIMEOUT_TOMIN_SHIFT |
| #define | I2C_TIMEOUT_TOMIN(x) |
| #define | I2C_TIMEOUT_TO_MASK |
| #define | I2C_TIMEOUT_TO_SHIFT |
| #define | I2C_TIMEOUT_TO(x) |
| #define | I2C_TIMEOUT_TOMIN_MASK |
| #define | I2C_TIMEOUT_TOMIN_SHIFT |
| #define | I2C_TIMEOUT_TOMIN(x) |
| #define | I2C_TIMEOUT_TO_MASK |
| #define | I2C_TIMEOUT_TO_SHIFT |
| #define | I2C_TIMEOUT_TO(x) |
CLKDIV - Clock Divider Register | |
| #define | I2C_CLKDIV_DIVVAL_MASK |
| #define | I2C_CLKDIV_DIVVAL_SHIFT |
| #define | I2C_CLKDIV_DIVVAL(x) |
| #define | I2C_CLKDIV_DIVVAL_MASK |
| #define | I2C_CLKDIV_DIVVAL_SHIFT |
| #define | I2C_CLKDIV_DIVVAL(x) |
INTSTAT - Interrupt Status Register | |
| #define | I2C_INTSTAT_MSTPENDING_MASK |
| #define | I2C_INTSTAT_MSTPENDING_SHIFT |
| #define | I2C_INTSTAT_MSTPENDING(x) |
| #define | I2C_INTSTAT_MSTARBLOSS_MASK |
| #define | I2C_INTSTAT_MSTARBLOSS_SHIFT |
| #define | I2C_INTSTAT_MSTARBLOSS(x) |
| #define | I2C_INTSTAT_MSTSTSTPERR_MASK |
| #define | I2C_INTSTAT_MSTSTSTPERR_SHIFT |
| #define | I2C_INTSTAT_MSTSTSTPERR(x) |
| #define | I2C_INTSTAT_SLVPENDING_MASK |
| #define | I2C_INTSTAT_SLVPENDING_SHIFT |
| #define | I2C_INTSTAT_SLVPENDING(x) |
| #define | I2C_INTSTAT_SLVNOTSTR_MASK |
| #define | I2C_INTSTAT_SLVNOTSTR_SHIFT |
| #define | I2C_INTSTAT_SLVNOTSTR(x) |
| #define | I2C_INTSTAT_SLVDESEL_MASK |
| #define | I2C_INTSTAT_SLVDESEL_SHIFT |
| #define | I2C_INTSTAT_SLVDESEL(x) |
| #define | I2C_INTSTAT_MONRDY_MASK |
| #define | I2C_INTSTAT_MONRDY_SHIFT |
| #define | I2C_INTSTAT_MONRDY(x) |
| #define | I2C_INTSTAT_MONOV_MASK |
| #define | I2C_INTSTAT_MONOV_SHIFT |
| #define | I2C_INTSTAT_MONOV(x) |
| #define | I2C_INTSTAT_MONIDLE_MASK |
| #define | I2C_INTSTAT_MONIDLE_SHIFT |
| #define | I2C_INTSTAT_MONIDLE(x) |
| #define | I2C_INTSTAT_EVENTTIMEOUT_MASK |
| #define | I2C_INTSTAT_EVENTTIMEOUT_SHIFT |
| #define | I2C_INTSTAT_EVENTTIMEOUT(x) |
| #define | I2C_INTSTAT_SCLTIMEOUT_MASK |
| #define | I2C_INTSTAT_SCLTIMEOUT_SHIFT |
| #define | I2C_INTSTAT_SCLTIMEOUT(x) |
| #define | I2C_INTSTAT_MSTPENDING_MASK |
| #define | I2C_INTSTAT_MSTPENDING_SHIFT |
| #define | I2C_INTSTAT_MSTPENDING(x) |
| #define | I2C_INTSTAT_MSTARBLOSS_MASK |
| #define | I2C_INTSTAT_MSTARBLOSS_SHIFT |
| #define | I2C_INTSTAT_MSTARBLOSS(x) |
| #define | I2C_INTSTAT_MSTSTSTPERR_MASK |
| #define | I2C_INTSTAT_MSTSTSTPERR_SHIFT |
| #define | I2C_INTSTAT_MSTSTSTPERR(x) |
| #define | I2C_INTSTAT_SLVPENDING_MASK |
| #define | I2C_INTSTAT_SLVPENDING_SHIFT |
| #define | I2C_INTSTAT_SLVPENDING(x) |
| #define | I2C_INTSTAT_SLVNOTSTR_MASK |
| #define | I2C_INTSTAT_SLVNOTSTR_SHIFT |
| #define | I2C_INTSTAT_SLVNOTSTR(x) |
| #define | I2C_INTSTAT_SLVDESEL_MASK |
| #define | I2C_INTSTAT_SLVDESEL_SHIFT |
| #define | I2C_INTSTAT_SLVDESEL(x) |
| #define | I2C_INTSTAT_MONRDY_MASK |
| #define | I2C_INTSTAT_MONRDY_SHIFT |
| #define | I2C_INTSTAT_MONRDY(x) |
| #define | I2C_INTSTAT_MONOV_MASK |
| #define | I2C_INTSTAT_MONOV_SHIFT |
| #define | I2C_INTSTAT_MONOV(x) |
| #define | I2C_INTSTAT_MONIDLE_MASK |
| #define | I2C_INTSTAT_MONIDLE_SHIFT |
| #define | I2C_INTSTAT_MONIDLE(x) |
| #define | I2C_INTSTAT_EVENTTIMEOUT_MASK |
| #define | I2C_INTSTAT_EVENTTIMEOUT_SHIFT |
| #define | I2C_INTSTAT_EVENTTIMEOUT(x) |
| #define | I2C_INTSTAT_SCLTIMEOUT_MASK |
| #define | I2C_INTSTAT_SCLTIMEOUT_SHIFT |
| #define | I2C_INTSTAT_SCLTIMEOUT(x) |
| #define | SPI_INTSTAT_SSA_MASK |
| #define | SPI_INTSTAT_SSA_SHIFT |
| #define | SPI_INTSTAT_SSA(x) |
| #define | SPI_INTSTAT_SSD_MASK |
| #define | SPI_INTSTAT_SSD_SHIFT |
| #define | SPI_INTSTAT_SSD(x) |
| #define | SPI_INTSTAT_MSTIDLE_MASK |
| #define | SPI_INTSTAT_MSTIDLE_SHIFT |
| #define | SPI_INTSTAT_MSTIDLE(x) |
| #define | SPI_INTSTAT_SSA_MASK |
| #define | SPI_INTSTAT_SSA_SHIFT |
| #define | SPI_INTSTAT_SSA(x) |
| #define | SPI_INTSTAT_SSD_MASK |
| #define | SPI_INTSTAT_SSD_SHIFT |
| #define | SPI_INTSTAT_SSD(x) |
| #define | SPI_INTSTAT_MSTIDLE_MASK |
| #define | SPI_INTSTAT_MSTIDLE_SHIFT |
| #define | SPI_INTSTAT_MSTIDLE(x) |
MSTCTL - Master Control Register | |
| #define | I2C_MSTCTL_MSTCONTINUE_MASK |
| #define | I2C_MSTCTL_MSTCONTINUE_SHIFT |
| #define | I2C_MSTCTL_MSTCONTINUE(x) |
| #define | I2C_MSTCTL_MSTSTART_MASK |
| #define | I2C_MSTCTL_MSTSTART_SHIFT |
| #define | I2C_MSTCTL_MSTSTART(x) |
| #define | I2C_MSTCTL_MSTSTOP_MASK |
| #define | I2C_MSTCTL_MSTSTOP_SHIFT |
| #define | I2C_MSTCTL_MSTSTOP(x) |
| #define | I2C_MSTCTL_MSTDMA_MASK |
| #define | I2C_MSTCTL_MSTDMA_SHIFT |
| #define | I2C_MSTCTL_MSTDMA(x) |
| #define | I2C_MSTCTL_MSTCONTINUE_MASK |
| #define | I2C_MSTCTL_MSTCONTINUE_SHIFT |
| #define | I2C_MSTCTL_MSTCONTINUE(x) |
| #define | I2C_MSTCTL_MSTSTART_MASK |
| #define | I2C_MSTCTL_MSTSTART_SHIFT |
| #define | I2C_MSTCTL_MSTSTART(x) |
| #define | I2C_MSTCTL_MSTSTOP_MASK |
| #define | I2C_MSTCTL_MSTSTOP_SHIFT |
| #define | I2C_MSTCTL_MSTSTOP(x) |
| #define | I2C_MSTCTL_MSTDMA_MASK |
| #define | I2C_MSTCTL_MSTDMA_SHIFT |
| #define | I2C_MSTCTL_MSTDMA(x) |
MSTTIME - Master Timing Register | |
| #define | I2C_MSTTIME_MSTSCLLOW_MASK |
| #define | I2C_MSTTIME_MSTSCLLOW_SHIFT |
| #define | I2C_MSTTIME_MSTSCLLOW(x) |
| #define | I2C_MSTTIME_MSTSCLHIGH_MASK |
| #define | I2C_MSTTIME_MSTSCLHIGH_SHIFT |
| #define | I2C_MSTTIME_MSTSCLHIGH(x) |
| #define | I2C_MSTTIME_MSTSCLLOW_MASK |
| #define | I2C_MSTTIME_MSTSCLLOW_SHIFT |
| #define | I2C_MSTTIME_MSTSCLLOW(x) |
| #define | I2C_MSTTIME_MSTSCLHIGH_MASK |
| #define | I2C_MSTTIME_MSTSCLHIGH_SHIFT |
| #define | I2C_MSTTIME_MSTSCLHIGH(x) |
MSTDAT - Master Data Register | |
| #define | I2C_MSTDAT_DATA_MASK |
| #define | I2C_MSTDAT_DATA_SHIFT |
| #define | I2C_MSTDAT_DATA(x) |
| #define | I2C_MSTDAT_DATA_MASK |
| #define | I2C_MSTDAT_DATA_SHIFT |
| #define | I2C_MSTDAT_DATA(x) |
SLVCTL - Slave Control Register | |
| #define | I2C_SLVCTL_SLVCONTINUE_MASK |
| #define | I2C_SLVCTL_SLVCONTINUE_SHIFT |
| #define | I2C_SLVCTL_SLVCONTINUE(x) |
| #define | I2C_SLVCTL_SLVNACK_MASK |
| #define | I2C_SLVCTL_SLVNACK_SHIFT |
| #define | I2C_SLVCTL_SLVNACK(x) |
| #define | I2C_SLVCTL_SLVDMA_MASK |
| #define | I2C_SLVCTL_SLVDMA_SHIFT |
| #define | I2C_SLVCTL_SLVDMA(x) |
| #define | I2C_SLVCTL_AUTOACK_MASK |
| #define | I2C_SLVCTL_AUTOACK_SHIFT |
| #define | I2C_SLVCTL_AUTOACK(x) |
| #define | I2C_SLVCTL_AUTOMATCHREAD_MASK |
| #define | I2C_SLVCTL_AUTOMATCHREAD_SHIFT |
| #define | I2C_SLVCTL_AUTOMATCHREAD(x) |
| #define | I2C_SLVCTL_SLVCONTINUE_MASK |
| #define | I2C_SLVCTL_SLVCONTINUE_SHIFT |
| #define | I2C_SLVCTL_SLVCONTINUE(x) |
| #define | I2C_SLVCTL_SLVNACK_MASK |
| #define | I2C_SLVCTL_SLVNACK_SHIFT |
| #define | I2C_SLVCTL_SLVNACK(x) |
| #define | I2C_SLVCTL_SLVDMA_MASK |
| #define | I2C_SLVCTL_SLVDMA_SHIFT |
| #define | I2C_SLVCTL_SLVDMA(x) |
| #define | I2C_SLVCTL_AUTOACK_MASK |
| #define | I2C_SLVCTL_AUTOACK_SHIFT |
| #define | I2C_SLVCTL_AUTOACK(x) |
| #define | I2C_SLVCTL_AUTOMATCHREAD_MASK |
| #define | I2C_SLVCTL_AUTOMATCHREAD_SHIFT |
| #define | I2C_SLVCTL_AUTOMATCHREAD(x) |
SLVDAT - Slave Data Register | |
| #define | I2C_SLVDAT_DATA_MASK |
| #define | I2C_SLVDAT_DATA_SHIFT |
| #define | I2C_SLVDAT_DATA(x) |
| #define | I2C_SLVDAT_DATA_MASK |
| #define | I2C_SLVDAT_DATA_SHIFT |
| #define | I2C_SLVDAT_DATA(x) |
SLVADR - Slave Address Register | |
| #define | I2C_SLVADR_SADISABLE_MASK |
| #define | I2C_SLVADR_SADISABLE_SHIFT |
| #define | I2C_SLVADR_SADISABLE(x) |
| #define | I2C_SLVADR_SLVADR_MASK |
| #define | I2C_SLVADR_SLVADR_SHIFT |
| #define | I2C_SLVADR_SLVADR(x) |
| #define | I2C_SLVADR_AUTONACK_MASK |
| #define | I2C_SLVADR_AUTONACK_SHIFT |
| #define | I2C_SLVADR_AUTONACK(x) |
| #define | I2C_SLVADR_SADISABLE_MASK |
| #define | I2C_SLVADR_SADISABLE_SHIFT |
| #define | I2C_SLVADR_SADISABLE(x) |
| #define | I2C_SLVADR_SLVADR_MASK |
| #define | I2C_SLVADR_SLVADR_SHIFT |
| #define | I2C_SLVADR_SLVADR(x) |
| #define | I2C_SLVADR_AUTONACK_MASK |
| #define | I2C_SLVADR_AUTONACK_SHIFT |
| #define | I2C_SLVADR_AUTONACK(x) |
SLVQUAL0 - Slave Qualification for Address 0 Register | |
| #define | I2C_SLVQUAL0_QUALMODE0_MASK |
| #define | I2C_SLVQUAL0_QUALMODE0_SHIFT |
| #define | I2C_SLVQUAL0_QUALMODE0(x) |
| #define | I2C_SLVQUAL0_SLVQUAL0_MASK |
| #define | I2C_SLVQUAL0_SLVQUAL0_SHIFT |
| #define | I2C_SLVQUAL0_SLVQUAL0(x) |
| #define | I2C_SLVQUAL0_QUALMODE0_MASK |
| #define | I2C_SLVQUAL0_QUALMODE0_SHIFT |
| #define | I2C_SLVQUAL0_QUALMODE0(x) |
| #define | I2C_SLVQUAL0_SLVQUAL0_MASK |
| #define | I2C_SLVQUAL0_SLVQUAL0_SHIFT |
| #define | I2C_SLVQUAL0_SLVQUAL0(x) |
MONRXDAT - Monitor Receiver Data Register | |
| #define | I2C_MONRXDAT_MONRXDAT_MASK |
| #define | I2C_MONRXDAT_MONRXDAT_SHIFT |
| #define | I2C_MONRXDAT_MONRXDAT(x) |
| #define | I2C_MONRXDAT_MONSTART_MASK |
| #define | I2C_MONRXDAT_MONSTART_SHIFT |
| #define | I2C_MONRXDAT_MONSTART(x) |
| #define | I2C_MONRXDAT_MONRESTART_MASK |
| #define | I2C_MONRXDAT_MONRESTART_SHIFT |
| #define | I2C_MONRXDAT_MONRESTART(x) |
| #define | I2C_MONRXDAT_MONNACK_MASK |
| #define | I2C_MONRXDAT_MONNACK_SHIFT |
| #define | I2C_MONRXDAT_MONNACK(x) |
| #define | I2C_MONRXDAT_MONRXDAT_MASK |
| #define | I2C_MONRXDAT_MONRXDAT_SHIFT |
| #define | I2C_MONRXDAT_MONRXDAT(x) |
| #define | I2C_MONRXDAT_MONSTART_MASK |
| #define | I2C_MONRXDAT_MONSTART_SHIFT |
| #define | I2C_MONRXDAT_MONSTART(x) |
| #define | I2C_MONRXDAT_MONRESTART_MASK |
| #define | I2C_MONRXDAT_MONRESTART_SHIFT |
| #define | I2C_MONRXDAT_MONRESTART(x) |
| #define | I2C_MONRXDAT_MONNACK_MASK |
| #define | I2C_MONRXDAT_MONNACK_SHIFT |
| #define | I2C_MONRXDAT_MONNACK(x) |
ID - Peripheral Identification Register | |
| #define | I2C_ID_APERTURE_MASK |
| #define | I2C_ID_APERTURE_SHIFT |
| #define | I2C_ID_APERTURE(x) |
| #define | I2C_ID_MINOR_REV_MASK |
| #define | I2C_ID_MINOR_REV_SHIFT |
| #define | I2C_ID_MINOR_REV(x) |
| #define | I2C_ID_MAJOR_REV_MASK |
| #define | I2C_ID_MAJOR_REV_SHIFT |
| #define | I2C_ID_MAJOR_REV(x) |
| #define | I2C_ID_ID_MASK |
| #define | I2C_ID_ID_SHIFT |
| #define | I2C_ID_ID(x) |
| #define | I2C_ID_APERTURE_MASK |
| #define | I2C_ID_APERTURE_SHIFT |
| #define | I2C_ID_APERTURE(x) |
| #define | I2C_ID_MINOR_REV_MASK |
| #define | I2C_ID_MINOR_REV_SHIFT |
| #define | I2C_ID_MINOR_REV(x) |
| #define | I2C_ID_MAJOR_REV_MASK |
| #define | I2C_ID_MAJOR_REV_SHIFT |
| #define | I2C_ID_MAJOR_REV(x) |
| #define | I2C_ID_ID_MASK |
| #define | I2C_ID_ID_SHIFT |
| #define | I2C_ID_ID(x) |
| #define | SPI_ID_APERTURE_MASK |
| #define | SPI_ID_APERTURE_SHIFT |
| #define | SPI_ID_APERTURE(x) |
| #define | SPI_ID_MINOR_REV_MASK |
| #define | SPI_ID_MINOR_REV_SHIFT |
| #define | SPI_ID_MINOR_REV(x) |
| #define | SPI_ID_MAJOR_REV_MASK |
| #define | SPI_ID_MAJOR_REV_SHIFT |
| #define | SPI_ID_MAJOR_REV(x) |
| #define | SPI_ID_ID_MASK |
| #define | SPI_ID_ID_SHIFT |
| #define | SPI_ID_ID(x) |
| #define | SPI_ID_APERTURE_MASK |
| #define | SPI_ID_APERTURE_SHIFT |
| #define | SPI_ID_APERTURE(x) |
| #define | SPI_ID_MINOR_REV_MASK |
| #define | SPI_ID_MINOR_REV_SHIFT |
| #define | SPI_ID_MINOR_REV(x) |
| #define | SPI_ID_MAJOR_REV_MASK |
| #define | SPI_ID_MAJOR_REV_SHIFT |
| #define | SPI_ID_MAJOR_REV(x) |
| #define | SPI_ID_ID_MASK |
| #define | SPI_ID_ID_SHIFT |
| #define | SPI_ID_ID(x) |
| #define I2C_CFG_MSTEN | ( | x | ) |
MSTEN - Master Enable 0b0..Disabled. The I2C Master function is disabled. When disabled, the Master configuration settings are not changed, but the Master function is internally reset. 0b1..Enabled. The I2C Master function is enabled.
| #define I2C_CFG_SLVEN | ( | x | ) |
SLVEN - Slave Enable 0b0..Disabled. The I2C slave function is disabled. When disabled, the Slave configuration settings are not changed, but the Slave function is internally reset. 0b1..Enabled. The I2C slave function is enabled.
| #define I2C_CFG_MONEN | ( | x | ) |
MONEN - Monitor Enable 0b0..Disabled. The I2C Monitor function is disabled. When disabled, the Monitor function configuration settings are not changed, but the Monitor function is internally reset. 0b1..Enabled. The I2C Monitor function is enabled.
| #define I2C_CFG_TIMEOUTEN | ( | x | ) |
TIMEOUTEN - I2C bus Time-out Enable 0b0..Disabled. The time-out function is disabled. When disabled, the time-out function is internally reset. 0b1..Enabled. The time-out function is enabled. Both types of time-out flags will be generated and will cause interrupts if those flags are enabled. Typically, only one time-out flag will be used in a system.
| #define I2C_CFG_MONCLKSTR | ( | x | ) |
MONCLKSTR - Monitor function Clock Stretching 0b0..Disabled. The Monitor function will not perform clock stretching. Software or DMA may not always be able to read data provided by the Monitor function before it (the data) is overwritten. This mode can be used when non-invasive monitoring is critical. 0b1..Enabled. The Monitor function will perform clock stretching, to ensure that the software or DMA can read all incoming data supplied by the Monitor function.
| #define I2C_CFG_HSCAPABLE | ( | x | ) |
HSCAPABLE - High Speed mode Capable enable 0b0..Fast mode Plus enable 0b1..High Speed mode enable
| #define I2C_STAT_MSTPENDING | ( | x | ) |
MSTPENDING - Master Pending 0b0..In progress. Communication is in progress and the Master function is busy and cannot currently accept a command. 0b1..Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, then the master is waiting to receive or transmit data, or is waiting for the NACK bit.
| #define I2C_STAT_MSTSTATE | ( | x | ) |
MSTSTATE - Master State code 0b000..Idle. The Master function is available to be used for a new transaction. 0b001..Receive ready. Received data is available (in Master Receiver mode). Address plus Read was previously sent and Acknowledged by a slave. 0b010..Transmit ready. Data can be transmitted (in Master Transmitter mode). Address plus Write was previously sent and Acknowledged by a slave. 0b011..NACK Address. Slave NACKed address. 0b100..NACK Data. Slave NACKed transmitted data.
| #define I2C_STAT_MSTARBLOSS | ( | x | ) |
MSTARBLOSS - Master Arbitration Loss flag 0b0..No Arbitration Loss has occurred 0b1..Arbitration loss. The Master function has experienced an Arbitration Loss. At this point, the Master function has already stopped driving the bus and has gone into an idle state. Software can respond by doing nothing, or by sending a Start (to attempt to gain control of the bus when the bus next becomes idle).
| #define I2C_STAT_MSTSTSTPERR | ( | x | ) |
MSTSTSTPERR - Master Start/Stop Error flag 0b0..No Start/Stop Error has occurred. 0b1..The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when Start or Stop is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone into an idle state; no action is required. A request for a Start could be made, or software could attempt to make sure that the bus has not stalled.
| #define I2C_STAT_SLVPENDING | ( | x | ) |
SLVPENDING - Slave Pending 0b0..In progress. The Slave function does not currently need software service. 0b1..Pending. The Slave function needs software service. Information about what is needed is in the Slave state field (SLVSTATE).
| #define I2C_STAT_SLVSTATE | ( | x | ) |
SLVSTATE - Slave State 0b00..Slave address. Address plus R/W received. At least one of the 4 slave addresses has been matched by hardware. 0b01..Slave receive. Received data is available (in Slave Receiver mode). 0b10..Slave transmit. Data can be transmitted (in Slave Transmitter mode). 0b11..Reserved
| #define I2C_STAT_SLVNOTSTR | ( | x | ) |
SLVNOTSTR - Slave Not Stretching 0b0..Stretching. The slave function is currently stretching the I2C bus clock. Deep-Sleepmode cannot be entered at this time. 0b1..Not stretching. The slave function is not currently stretching the I2C bus clock. Deep-sleep mode can be entered at this time.
| #define I2C_STAT_SLVIDX | ( | x | ) |
SLVIDX - Slave address match Index T 0b00..Address 0. Slave address 0 was matched. 0b01..Address 1. Slave address 1 was matched. 0b10..Address 2. Slave address 2 was matched. 0b11..Address 3. Slave address 3 was matched.
| #define I2C_STAT_SLVSEL | ( | x | ) |
SLVSEL - Slave selected flag 0b0..Not selected. The Slave function is not currently selected. 0b1..Selected. The Slave function is currently selected.
| #define I2C_STAT_SLVDESEL | ( | x | ) |
SLVDESEL - Slave Deselected flag 0b0..Not deselected. The Slave function has not become deselected. This does not mean that the Slave is currently selected. That information is in the SLVSEL flag. 0b1..Deselected. The Slave function has become deselected. This is specifically caused by the SLVSEL flag changing from 1 to 0. See SLVSEL for details about when that event occurs.
| #define I2C_STAT_MONRDY | ( | x | ) |
MONRDY - Monitor Ready 0b0..No data. The Monitor function does not currently have data available. 0b1..Data waiting. The Monitor function has data waiting to be read.
| #define I2C_STAT_MONOV | ( | x | ) |
MONOV - Monitor Overflow flag 0b0..No overrun. Monitor data has not overrun. 0b1..Overrun. A Monitor data overrun has occurred. An overrun can only happen when Monitor clock stretching not enabled via the CFG[MONCLKSTR] bit. Writing 1 to MONOV bit clears the MONOV flag.
| #define I2C_STAT_MONACTIVE | ( | x | ) |
MONACTIVE - Monitor Active flag 0b0..Inactive. The Monitor function considers the I2C bus to be inactive. 0b1..Active. The Monitor function considers the I2C bus to be active.
| #define I2C_STAT_MONIDLE | ( | x | ) |
MONIDLE - Monitor Idle flag 0b0..Not idle. The I2C bus is not idle, or MONIDLE flag has been cleared by software. 0b1..Idle. The I2C bus has gone idle at least once, since the last time MONIDLE flag was cleared by software.
| #define I2C_STAT_EVENTTIMEOUT | ( | x | ) |
EVENTTIMEOUT - Event Time-out Interrupt flag 0b0..No time-out. I2C bus events have not caused a time-out. 0b1..Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.
| #define I2C_STAT_SCLTIMEOUT | ( | x | ) |
SCLTIMEOUT - SCL Time-out Interrupt flag 0b0..No time-out. SCL low time has not caused a time-out. 0b1..Time-out. SCL low time has caused a time-out.
| #define I2C_INTENSET_MSTPENDINGEN | ( | x | ) |
MSTPENDINGEN - Master Pending interrupt Enable 0b0..Disabled. The MstPending interrupt is disabled. 0b1..Enabled. The MstPending interrupt is enabled.
| #define I2C_INTENSET_MSTARBLOSSEN | ( | x | ) |
MSTARBLOSSEN - Master Arbitration Loss interrupt Enable 0b0..Disabled. The MstArbLoss interrupt is disabled. 0b1..Enabled. The MstArbLoss interrupt is enabled.
| #define I2C_INTENSET_MSTSTSTPERREN | ( | x | ) |
MSTSTSTPERREN - Master Start/Stop Error interrupt Enable 0b0..Disabled. The MstStStpErr interrupt is disabled. 0b1..Enabled. The MstStStpErr interrupt is enabled.
| #define I2C_INTENSET_SLVPENDINGEN | ( | x | ) |
SLVPENDINGEN - Slave Pending interrupt Enable 0b0..Disabled. The SlvPending interrupt is disabled. 0b1..Enabled. The SlvPending interrupt is enabled.
| #define I2C_INTENSET_SLVNOTSTREN | ( | x | ) |
SLVNOTSTREN - Slave Not Stretching interrupt Enable 0b0..Disabled. The SlvNotStr interrupt is disabled. 0b1..Enabled. The SlvNotStr interrupt is enabled.
| #define I2C_INTENSET_SLVDESELEN | ( | x | ) |
SLVDESELEN - Slave Deselect interrupt Enable 0b0..Disabled. The SlvDeSel interrupt is disabled. 0b1..Enabled. The SlvDeSel interrupt is enabled.
| #define I2C_INTENSET_MONRDYEN | ( | x | ) |
MONRDYEN - Monitor data Ready interrupt Enable 0b0..Disabled. The MonRdy interrupt is disabled. 0b1..Enabled. The MonRdy interrupt is enabled.
| #define I2C_INTENSET_MONOVEN | ( | x | ) |
MONOVEN - Monitor Overrun interrupt Enable 0b0..Disabled. The MonOv interrupt is disabled. 0b1..Enabled. The MonOv interrupt is enabled.
| #define I2C_INTENSET_MONIDLEEN | ( | x | ) |
MONIDLEEN - Monitor Idle interrupt Enable 0b0..Disabled. The MonIdle interrupt is disabled. 0b1..Enabled. The MonIdle interrupt is enabled.
| #define I2C_INTENSET_EVENTTIMEOUTEN | ( | x | ) |
EVENTTIMEOUTEN - Event Time-out interrupt Enable 0b0..Disabled. The Event time-out interrupt is disabled. 0b1..Enabled. The Event time-out interrupt is enabled.
| #define I2C_INTENSET_SCLTIMEOUTEN | ( | x | ) |
SCLTIMEOUTEN - SCL Time-out interrupt Enable 0b0..Disabled. The SCL time-out interrupt is disabled. 0b1..Enabled. The SCL time-out interrupt is enabled.
| #define I2C_INTENCLR_MSTPENDINGCLR | ( | x | ) |
MSTPENDINGCLR - Master Pending interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MSTARBLOSSCLR | ( | x | ) |
MSTARBLOSSCLR - Master Arbitration Loss interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MSTSTSTPERRCLR | ( | x | ) |
MSTSTSTPERRCLR - Master Start/Stop Error interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVPENDINGCLR | ( | x | ) |
SLVPENDINGCLR - Slave Pending interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVNOTSTRCLR | ( | x | ) |
SLVNOTSTRCLR - Slave Not Stretching interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVDESELCLR | ( | x | ) |
SLVDESELCLR - Slave Deselect interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONRDYCLR | ( | x | ) |
MONRDYCLR - Monitor data Ready interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONOVCLR | ( | x | ) |
MONOVCLR - Monitor Overrun interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONIDLECLR | ( | x | ) |
MONIDLECLR - Monitor Idle interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_EVENTTIMEOUTCLR | ( | x | ) |
EVENTTIMEOUTCLR - Event time-out interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SCLTIMEOUTCLR | ( | x | ) |
SCLTIMEOUTCLR - SCL time-out interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_TIMEOUT_TOMIN | ( | x | ) |
TOMIN - Time-out time value, the bottom 4 bits
| #define I2C_TIMEOUT_TO | ( | x | ) |
TO - Time-out time value 0b000000000000..A time-out will occur after 16 counts of the I2C function clock. 0b000000000001..A time-out will occur after 32 counts of the I2C function clock. 0b111111111111..A time-out will occur after 65,536 counts of the I2C function clock.
| #define I2C_CLKDIV_DIVVAL | ( | x | ) |
DIVVAL - Divider Value 0b0000000000000000..FCLK is used directly by the I2C. 0b0000000000000001..FCLK is divided by 2 before being used by the I2C. 0b0000000000000010..FCLK is divided by 3 before being used by the I2C. 0b1111111111111111..FCLK is divided by 65,536 before being used by the I2C.
| #define I2C_INTSTAT_MSTPENDING | ( | x | ) |
MSTPENDING - Master Pending 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MSTARBLOSS | ( | x | ) |
MSTARBLOSS - Master Arbitration Loss flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MSTSTSTPERR | ( | x | ) |
MSTSTSTPERR - Master Start/Stop Error flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVPENDING | ( | x | ) |
SLVPENDING - Slave Pending 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVNOTSTR | ( | x | ) |
SLVNOTSTR - Slave Not Stretching status 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVDESEL | ( | x | ) |
SLVDESEL - Slave Deselected flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONRDY | ( | x | ) |
MONRDY - Monitor Ready 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONOV | ( | x | ) |
MONOV - Monitor Overflow flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONIDLE | ( | x | ) |
MONIDLE - Monitor Idle flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_EVENTTIMEOUT | ( | x | ) |
EVENTTIMEOUT - Event Time-out Interrupt flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SCLTIMEOUT | ( | x | ) |
SCLTIMEOUT - SCL Time-out Interrupt flag 0b0..Not active 0b1..Active
| #define I2C_MSTCTL_MSTCONTINUE | ( | x | ) |
MSTCONTINUE - Master Continue(write-only) 0b0..No effect 0b1..Continue. Informs the Master function to continue to the next operation. This action must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.
| #define I2C_MSTCTL_MSTSTART | ( | x | ) |
MSTSTART - Master Start control(write-only) 0b0..No effect 0b1..Start. A Start will be generated on the I2C bus at the next allowed time.
| #define I2C_MSTCTL_MSTSTOP | ( | x | ) |
MSTSTOP - Master Stop control(write-only) 0b0..No effect 0b1..Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (in Master Receiver mode).
| #define I2C_MSTCTL_MSTDMA | ( | x | ) |
MSTDMA - Master DMA enable 0b0..Disable. No DMA requests are generated for master operation. 0b1..Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.
| #define I2C_MSTTIME_MSTSCLLOW | ( | x | ) |
MSTSCLLOW - Master SCL Low time 0b000..2 clocks. Minimum SCL low time is 2 clocks of the I2C clock pre-divider. 0b001..3 clocks. Minimum SCL low time is 3 clocks of the I2C clock pre-divider. 0b010..4 clocks. Minimum SCL low time is 4 clocks of the I2C clock pre-divider. 0b011..5 clocks. Minimum SCL low time is 5 clocks of the I2C clock pre-divider. 0b100..6 clocks. Minimum SCL low time is 6 clocks of the I2C clock pre-divider. 0b101..7 clocks. Minimum SCL low time is 7 clocks of the I2C clock pre-divider. 0b110..8 clocks. Minimum SCL low time is 8 clocks of the I2C clock pre-divider. 0b111..9 clocks. Minimum SCL low time is 9 clocks of the I2C clock pre-divider.
| #define I2C_MSTTIME_MSTSCLHIGH | ( | x | ) |
MSTSCLHIGH - Master SCL High time 0b000..2 clocks. Minimum SCL high time is 2 clocks of the I2C clock pre-divider. 0b001..3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider . 0b010..4 clocks. Minimum SCL high time is 4 clocks of the I2C clock pre-divider. 0b011..5 clocks. Minimum SCL high time is 5 clocks of the I2C clock pre-divider. 0b100..6 clocks. Minimum SCL high time is 6 clocks of the I2C clock pre-divider. 0b101..7 clocks. Minimum SCL high time is 7 clocks of the I2C clock pre-divider. 0b110..8 clocks. Minimum SCL high time is 8 clocks of the I2C clock pre-divider. 0b111..9 clocks. Minimum SCL high time is 9 clocks of the I2C clock pre-divider.
| #define I2C_MSTDAT_DATA | ( | x | ) |
DATA - Master function data register
| #define I2C_SLVCTL_SLVCONTINUE | ( | x | ) |
SLVCONTINUE - Slave Continue 0b0..No effect 0b1..Continue. Informs the Slave function to continue to the next operation, by clearing the STAT[SLVPENDING] flag. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.
| #define I2C_SLVCTL_SLVNACK | ( | x | ) |
SLVNACK - Slave NACK 0b0..No effect 0b1..NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (in Slave Receiver mode).
| #define I2C_SLVCTL_SLVDMA | ( | x | ) |
SLVDMA - Slave DMA enable 0b0..Disabled. No DMA requests are issued for Slave mode operation. 0b1..Enabled. DMA requests are issued for I2C slave data transmission and reception.
| #define I2C_SLVCTL_AUTOACK | ( | x | ) |
AUTOACK - Automatic Acknowledge 0b0..Normal, non-automatic operation. If AUTONACK = 0, then a SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, then received addresses are NACKed (ignored). 0b1..A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, then the behavior will depend on the SLVADR0[AUTONACK] bit: if AUTONACK is set, then it will be Nacked; if AUTONACK is clear, then a SlvPending interrupt is generated.
| #define I2C_SLVCTL_AUTOMATCHREAD | ( | x | ) |
AUTOMATCHREAD - Automatic Match Read 0b0..In Automatic Mode, the expected next operation is an I2C write. 0b1..In Automatic Mode, the expected next operation is an I2C read.
| #define I2C_SLVDAT_DATA | ( | x | ) |
DATA - Slave function data register
| #define I2C_SLVADR_SADISABLE | ( | x | ) |
SADISABLE - Slave Address n Disable 0b0..Enabled. Slave Address n is enabled. 0b1..Ignored. Slave Address n is ignored.
| #define I2C_SLVADR_SLVADR | ( | x | ) |
SLVADR - Slave Address.
| #define I2C_SLVADR_AUTONACK | ( | x | ) |
AUTONACK - Automatic NACK operation 0b0..Normal operation, matching I2C addresses are not ignored. 0b1..Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, and the address matches SLVADRn, and AUTOMATCHREAD matches the direction.
| #define I2C_SLVQUAL0_QUALMODE0 | ( | x | ) |
QUALMODE0 - Qualify mode for slave address 0 0b0..Mask. The SLVQUAL0 field is used as a logical mask for matching address 0. 0b1..Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.
| #define I2C_SLVQUAL0_SLVQUAL0 | ( | x | ) |
SLVQUAL0 - Slave address Qualifier for address 0
| #define I2C_MONRXDAT_MONRXDAT | ( | x | ) |
MONRXDAT - Monitor function Receiver Data
| #define I2C_MONRXDAT_MONSTART | ( | x | ) |
MONSTART - Monitor Received Start 0b0..No start detected. The Monitor function has not detected a Start event on the I2C bus. 0b1..Start detected. The Monitor function has detected a Start event on the I2C bus.
| #define I2C_MONRXDAT_MONRESTART | ( | x | ) |
MONRESTART - Monitor Received Repeated Start 0b0..No repeated start detected. The Monitor function has not detected a Repeated Start event on the I2C bus. 0b1..Repeated start detected. The Monitor function has detected a Repeated Start event on the I2C bus.
| #define I2C_MONRXDAT_MONNACK | ( | x | ) |
MONNACK - Monitor Received NACK 0b0..Acknowledged. The data currently being provided by the Monitor function was acknowledged by at least one master or slave receiver. 0b1..Not acknowledged. The data currently being provided by the Monitor function was not acknowledged by any receiver.
| #define I2C_ID_APERTURE | ( | x | ) |
APERTURE - Aperture
| #define I2C_ID_MINOR_REV | ( | x | ) |
MINOR_REV - Minor revision of module implementation
| #define I2C_ID_MAJOR_REV | ( | x | ) |
MAJOR_REV - Major revision of module implementation
| #define I2C_ID_ID | ( | x | ) |
ID - Module identifier for the selected function
| #define I2C_CFG_MSTEN | ( | x | ) |
MSTEN - Master Enable 0b0..Disabled. The I2C Master function is disabled. When disabled, the Master configuration settings are not changed, but the Master function is internally reset. 0b1..Enabled. The I2C Master function is enabled.
| #define I2C_CFG_SLVEN | ( | x | ) |
SLVEN - Slave Enable 0b0..Disabled. The I2C slave function is disabled. When disabled, the Slave configuration settings are not changed, but the Slave function is internally reset. 0b1..Enabled. The I2C slave function is enabled.
| #define I2C_CFG_MONEN | ( | x | ) |
MONEN - Monitor Enable 0b0..Disabled. The I2C Monitor function is disabled. When disabled, the Monitor function configuration settings are not changed, but the Monitor function is internally reset. 0b1..Enabled. The I2C Monitor function is enabled.
| #define I2C_CFG_TIMEOUTEN | ( | x | ) |
TIMEOUTEN - I2C bus Time-out Enable 0b0..Disabled. The time-out function is disabled. When disabled, the time-out function is internally reset. 0b1..Enabled. The time-out function is enabled. Both types of time-out flags will be generated and will cause interrupts if those flags are enabled. Typically, only one time-out flag will be used in a system.
| #define I2C_CFG_MONCLKSTR | ( | x | ) |
MONCLKSTR - Monitor function Clock Stretching 0b0..Disabled. The Monitor function will not perform clock stretching. Software or DMA may not always be able to read data provided by the Monitor function before it (the data) is overwritten. This mode can be used when non-invasive monitoring is critical. 0b1..Enabled. The Monitor function will perform clock stretching, to ensure that the software or DMA can read all incoming data supplied by the Monitor function.
| #define I2C_CFG_HSCAPABLE | ( | x | ) |
HSCAPABLE - High Speed mode Capable enable 0b0..Fast mode Plus enable 0b1..High Speed mode enable
| #define I2C_STAT_MSTPENDING | ( | x | ) |
MSTPENDING - Master Pending 0b0..In progress. Communication is in progress and the Master function is busy and cannot currently accept a command. 0b1..Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, then the master is waiting to receive or transmit data, or is waiting for the NACK bit.
| #define I2C_STAT_MSTSTATE | ( | x | ) |
MSTSTATE - Master State code 0b000..Idle. The Master function is available to be used for a new transaction. 0b001..Receive ready. Received data is available (in Master Receiver mode). Address plus Read was previously sent and Acknowledged by a slave. 0b010..Transmit ready. Data can be transmitted (in Master Transmitter mode). Address plus Write was previously sent and Acknowledged by a slave. 0b011..NACK Address. Slave NACKed address. 0b100..NACK Data. Slave NACKed transmitted data.
| #define I2C_STAT_MSTARBLOSS | ( | x | ) |
MSTARBLOSS - Master Arbitration Loss flag 0b0..No Arbitration Loss has occurred 0b1..Arbitration loss. The Master function has experienced an Arbitration Loss. At this point, the Master function has already stopped driving the bus and has gone into an idle state. Software can respond by doing nothing, or by sending a Start (to attempt to gain control of the bus when the bus next becomes idle).
| #define I2C_STAT_MSTSTSTPERR | ( | x | ) |
MSTSTSTPERR - Master Start/Stop Error flag 0b0..No Start/Stop Error has occurred. 0b1..The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when Start or Stop is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone into an idle state; no action is required. A request for a Start could be made, or software could attempt to make sure that the bus has not stalled.
| #define I2C_STAT_SLVPENDING | ( | x | ) |
SLVPENDING - Slave Pending 0b0..In progress. The Slave function does not currently need software service. 0b1..Pending. The Slave function needs software service. Information about what is needed is in the Slave state field (SLVSTATE).
| #define I2C_STAT_SLVSTATE | ( | x | ) |
SLVSTATE - Slave State 0b00..Slave address. Address plus R/W received. At least one of the 4 slave addresses has been matched by hardware. 0b01..Slave receive. Received data is available (in Slave Receiver mode). 0b10..Slave transmit. Data can be transmitted (in Slave Transmitter mode). 0b11..Reserved
| #define I2C_STAT_SLVNOTSTR | ( | x | ) |
SLVNOTSTR - Slave Not Stretching 0b0..Stretching. The slave function is currently stretching the I2C bus clock. Deep-Sleepmode cannot be entered at this time. 0b1..Not stretching. The slave function is not currently stretching the I2C bus clock. Deep-sleep mode can be entered at this time.
| #define I2C_STAT_SLVIDX | ( | x | ) |
SLVIDX - Slave address match Index T 0b00..Address 0. Slave address 0 was matched. 0b01..Address 1. Slave address 1 was matched. 0b10..Address 2. Slave address 2 was matched. 0b11..Address 3. Slave address 3 was matched.
| #define I2C_STAT_SLVSEL | ( | x | ) |
SLVSEL - Slave selected flag 0b0..Not selected. The Slave function is not currently selected. 0b1..Selected. The Slave function is currently selected.
| #define I2C_STAT_SLVDESEL | ( | x | ) |
SLVDESEL - Slave Deselected flag 0b0..Not deselected. The Slave function has not become deselected. This does not mean that the Slave is currently selected. That information is in the SLVSEL flag. 0b1..Deselected. The Slave function has become deselected. This is specifically caused by the SLVSEL flag changing from 1 to 0. See SLVSEL for details about when that event occurs.
| #define I2C_STAT_MONRDY | ( | x | ) |
MONRDY - Monitor Ready 0b0..No data. The Monitor function does not currently have data available. 0b1..Data waiting. The Monitor function has data waiting to be read.
| #define I2C_STAT_MONOV | ( | x | ) |
MONOV - Monitor Overflow flag 0b0..No overrun. Monitor data has not overrun. 0b1..Overrun. A Monitor data overrun has occurred. An overrun can only happen when Monitor clock stretching not enabled via the CFG[MONCLKSTR] bit. Writing 1 to MONOV bit clears the MONOV flag.
| #define I2C_STAT_MONACTIVE | ( | x | ) |
MONACTIVE - Monitor Active flag 0b0..Inactive. The Monitor function considers the I2C bus to be inactive. 0b1..Active. The Monitor function considers the I2C bus to be active.
| #define I2C_STAT_MONIDLE | ( | x | ) |
MONIDLE - Monitor Idle flag 0b0..Not idle. The I2C bus is not idle, or MONIDLE flag has been cleared by software. 0b1..Idle. The I2C bus has gone idle at least once, since the last time MONIDLE flag was cleared by software.
| #define I2C_STAT_EVENTTIMEOUT | ( | x | ) |
EVENTTIMEOUT - Event Time-out Interrupt flag 0b0..No time-out. I2C bus events have not caused a time-out. 0b1..Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.
| #define I2C_STAT_SCLTIMEOUT | ( | x | ) |
SCLTIMEOUT - SCL Time-out Interrupt flag 0b0..No time-out. SCL low time has not caused a time-out. 0b1..Time-out. SCL low time has caused a time-out.
| #define I2C_INTENSET_MSTPENDINGEN | ( | x | ) |
MSTPENDINGEN - Master Pending interrupt Enable 0b0..Disabled. The MstPending interrupt is disabled. 0b1..Enabled. The MstPending interrupt is enabled.
| #define I2C_INTENSET_MSTARBLOSSEN | ( | x | ) |
MSTARBLOSSEN - Master Arbitration Loss interrupt Enable 0b0..Disabled. The MstArbLoss interrupt is disabled. 0b1..Enabled. The MstArbLoss interrupt is enabled.
| #define I2C_INTENSET_MSTSTSTPERREN | ( | x | ) |
MSTSTSTPERREN - Master Start/Stop Error interrupt Enable 0b0..Disabled. The MstStStpErr interrupt is disabled. 0b1..Enabled. The MstStStpErr interrupt is enabled.
| #define I2C_INTENSET_SLVPENDINGEN | ( | x | ) |
SLVPENDINGEN - Slave Pending interrupt Enable 0b0..Disabled. The SlvPending interrupt is disabled. 0b1..Enabled. The SlvPending interrupt is enabled.
| #define I2C_INTENSET_SLVNOTSTREN | ( | x | ) |
SLVNOTSTREN - Slave Not Stretching interrupt Enable 0b0..Disabled. The SlvNotStr interrupt is disabled. 0b1..Enabled. The SlvNotStr interrupt is enabled.
| #define I2C_INTENSET_SLVDESELEN | ( | x | ) |
SLVDESELEN - Slave Deselect interrupt Enable 0b0..Disabled. The SlvDeSel interrupt is disabled. 0b1..Enabled. The SlvDeSel interrupt is enabled.
| #define I2C_INTENSET_MONRDYEN | ( | x | ) |
MONRDYEN - Monitor data Ready interrupt Enable 0b0..Disabled. The MonRdy interrupt is disabled. 0b1..Enabled. The MonRdy interrupt is enabled.
| #define I2C_INTENSET_MONOVEN | ( | x | ) |
MONOVEN - Monitor Overrun interrupt Enable 0b0..Disabled. The MonOv interrupt is disabled. 0b1..Enabled. The MonOv interrupt is enabled.
| #define I2C_INTENSET_MONIDLEEN | ( | x | ) |
MONIDLEEN - Monitor Idle interrupt Enable 0b0..Disabled. The MonIdle interrupt is disabled. 0b1..Enabled. The MonIdle interrupt is enabled.
| #define I2C_INTENSET_EVENTTIMEOUTEN | ( | x | ) |
EVENTTIMEOUTEN - Event Time-out interrupt Enable 0b0..Disabled. The Event time-out interrupt is disabled. 0b1..Enabled. The Event time-out interrupt is enabled.
| #define I2C_INTENSET_SCLTIMEOUTEN | ( | x | ) |
SCLTIMEOUTEN - SCL Time-out interrupt Enable 0b0..Disabled. The SCL time-out interrupt is disabled. 0b1..Enabled. The SCL time-out interrupt is enabled.
| #define I2C_INTENCLR_MSTPENDINGCLR | ( | x | ) |
MSTPENDINGCLR - Master Pending interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MSTARBLOSSCLR | ( | x | ) |
MSTARBLOSSCLR - Master Arbitration Loss interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MSTSTSTPERRCLR | ( | x | ) |
MSTSTSTPERRCLR - Master Start/Stop Error interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVPENDINGCLR | ( | x | ) |
SLVPENDINGCLR - Slave Pending interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVNOTSTRCLR | ( | x | ) |
SLVNOTSTRCLR - Slave Not Stretching interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SLVDESELCLR | ( | x | ) |
SLVDESELCLR - Slave Deselect interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONRDYCLR | ( | x | ) |
MONRDYCLR - Monitor data Ready interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONOVCLR | ( | x | ) |
MONOVCLR - Monitor Overrun interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_MONIDLECLR | ( | x | ) |
MONIDLECLR - Monitor Idle interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_EVENTTIMEOUTCLR | ( | x | ) |
EVENTTIMEOUTCLR - Event time-out interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_INTENCLR_SCLTIMEOUTCLR | ( | x | ) |
SCLTIMEOUTCLR - SCL time-out interrupt clear 0b0..No effect on interrupt 0b1..Clears the interrupt bit in INTENSET register
| #define I2C_TIMEOUT_TOMIN | ( | x | ) |
TOMIN - Time-out time value, the bottom 4 bits
| #define I2C_TIMEOUT_TO | ( | x | ) |
TO - Time-out time value 0b000000000000..A time-out will occur after 16 counts of the I2C function clock. 0b000000000001..A time-out will occur after 32 counts of the I2C function clock. 0b111111111111..A time-out will occur after 65,536 counts of the I2C function clock.
| #define I2C_CLKDIV_DIVVAL | ( | x | ) |
DIVVAL - Divider Value 0b0000000000000000..FCLK is used directly by the I2C. 0b0000000000000001..FCLK is divided by 2 before being used by the I2C. 0b0000000000000010..FCLK is divided by 3 before being used by the I2C. 0b1111111111111111..FCLK is divided by 65,536 before being used by the I2C.
| #define I2C_INTSTAT_MSTPENDING | ( | x | ) |
MSTPENDING - Master Pending 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MSTARBLOSS | ( | x | ) |
MSTARBLOSS - Master Arbitration Loss flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MSTSTSTPERR | ( | x | ) |
MSTSTSTPERR - Master Start/Stop Error flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVPENDING | ( | x | ) |
SLVPENDING - Slave Pending 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVNOTSTR | ( | x | ) |
SLVNOTSTR - Slave Not Stretching status 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SLVDESEL | ( | x | ) |
SLVDESEL - Slave Deselected flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONRDY | ( | x | ) |
MONRDY - Monitor Ready 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONOV | ( | x | ) |
MONOV - Monitor Overflow flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_MONIDLE | ( | x | ) |
MONIDLE - Monitor Idle flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_EVENTTIMEOUT | ( | x | ) |
EVENTTIMEOUT - Event Time-out Interrupt flag 0b0..Not active 0b1..Active
| #define I2C_INTSTAT_SCLTIMEOUT | ( | x | ) |
SCLTIMEOUT - SCL Time-out Interrupt flag 0b0..Not active 0b1..Active
| #define I2C_MSTCTL_MSTCONTINUE | ( | x | ) |
MSTCONTINUE - Master Continue(write-only) 0b0..No effect 0b1..Continue. Informs the Master function to continue to the next operation. This action must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.
| #define I2C_MSTCTL_MSTSTART | ( | x | ) |
MSTSTART - Master Start control(write-only) 0b0..No effect 0b1..Start. A Start will be generated on the I2C bus at the next allowed time.
| #define I2C_MSTCTL_MSTSTOP | ( | x | ) |
MSTSTOP - Master Stop control(write-only) 0b0..No effect 0b1..Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (in Master Receiver mode).
| #define I2C_MSTCTL_MSTDMA | ( | x | ) |
MSTDMA - Master DMA enable 0b0..Disable. No DMA requests are generated for master operation. 0b1..Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.
| #define I2C_MSTTIME_MSTSCLLOW | ( | x | ) |
MSTSCLLOW - Master SCL Low time 0b000..2 clocks. Minimum SCL low time is 2 clocks of the I2C clock pre-divider. 0b001..3 clocks. Minimum SCL low time is 3 clocks of the I2C clock pre-divider. 0b010..4 clocks. Minimum SCL low time is 4 clocks of the I2C clock pre-divider. 0b011..5 clocks. Minimum SCL low time is 5 clocks of the I2C clock pre-divider. 0b100..6 clocks. Minimum SCL low time is 6 clocks of the I2C clock pre-divider. 0b101..7 clocks. Minimum SCL low time is 7 clocks of the I2C clock pre-divider. 0b110..8 clocks. Minimum SCL low time is 8 clocks of the I2C clock pre-divider. 0b111..9 clocks. Minimum SCL low time is 9 clocks of the I2C clock pre-divider.
| #define I2C_MSTTIME_MSTSCLHIGH | ( | x | ) |
MSTSCLHIGH - Master SCL High time 0b000..2 clocks. Minimum SCL high time is 2 clocks of the I2C clock pre-divider. 0b001..3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider . 0b010..4 clocks. Minimum SCL high time is 4 clocks of the I2C clock pre-divider. 0b011..5 clocks. Minimum SCL high time is 5 clocks of the I2C clock pre-divider. 0b100..6 clocks. Minimum SCL high time is 6 clocks of the I2C clock pre-divider. 0b101..7 clocks. Minimum SCL high time is 7 clocks of the I2C clock pre-divider. 0b110..8 clocks. Minimum SCL high time is 8 clocks of the I2C clock pre-divider. 0b111..9 clocks. Minimum SCL high time is 9 clocks of the I2C clock pre-divider.
| #define I2C_MSTDAT_DATA | ( | x | ) |
DATA - Master function data register
| #define I2C_SLVCTL_SLVCONTINUE | ( | x | ) |
SLVCONTINUE - Slave Continue 0b0..No effect 0b1..Continue. Informs the Slave function to continue to the next operation, by clearing the STAT[SLVPENDING] flag. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.
| #define I2C_SLVCTL_SLVNACK | ( | x | ) |
SLVNACK - Slave NACK 0b0..No effect 0b1..NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (in Slave Receiver mode).
| #define I2C_SLVCTL_SLVDMA | ( | x | ) |
SLVDMA - Slave DMA enable 0b0..Disabled. No DMA requests are issued for Slave mode operation. 0b1..Enabled. DMA requests are issued for I2C slave data transmission and reception.
| #define I2C_SLVCTL_AUTOACK | ( | x | ) |
AUTOACK - Automatic Acknowledge 0b0..Normal, non-automatic operation. If AUTONACK = 0, then a SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, then received addresses are NACKed (ignored). 0b1..A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, then the behavior will depend on the SLVADR0[AUTONACK] bit: if AUTONACK is set, then it will be Nacked; if AUTONACK is clear, then a SlvPending interrupt is generated.
| #define I2C_SLVCTL_AUTOMATCHREAD | ( | x | ) |
AUTOMATCHREAD - Automatic Match Read 0b0..In Automatic Mode, the expected next operation is an I2C write. 0b1..In Automatic Mode, the expected next operation is an I2C read.
| #define I2C_SLVDAT_DATA | ( | x | ) |
DATA - Slave function data register
| #define I2C_SLVADR_SADISABLE | ( | x | ) |
SADISABLE - Slave Address n Disable 0b0..Enabled. Slave Address n is enabled. 0b1..Ignored. Slave Address n is ignored.
| #define I2C_SLVADR_SLVADR | ( | x | ) |
SLVADR - Slave Address.
| #define I2C_SLVADR_AUTONACK | ( | x | ) |
AUTONACK - Automatic NACK operation 0b0..Normal operation, matching I2C addresses are not ignored. 0b1..Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, and the address matches SLVADRn, and AUTOMATCHREAD matches the direction.
| #define I2C_SLVQUAL0_QUALMODE0 | ( | x | ) |
QUALMODE0 - Qualify mode for slave address 0 0b0..Mask. The SLVQUAL0 field is used as a logical mask for matching address 0. 0b1..Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.
| #define I2C_SLVQUAL0_SLVQUAL0 | ( | x | ) |
SLVQUAL0 - Slave address Qualifier for address 0
| #define I2C_MONRXDAT_MONRXDAT | ( | x | ) |
MONRXDAT - Monitor function Receiver Data
| #define I2C_MONRXDAT_MONSTART | ( | x | ) |
MONSTART - Monitor Received Start 0b0..No start detected. The Monitor function has not detected a Start event on the I2C bus. 0b1..Start detected. The Monitor function has detected a Start event on the I2C bus.
| #define I2C_MONRXDAT_MONRESTART | ( | x | ) |
MONRESTART - Monitor Received Repeated Start 0b0..No repeated start detected. The Monitor function has not detected a Repeated Start event on the I2C bus. 0b1..Repeated start detected. The Monitor function has detected a Repeated Start event on the I2C bus.
| #define I2C_MONRXDAT_MONNACK | ( | x | ) |
MONNACK - Monitor Received NACK 0b0..Acknowledged. The data currently being provided by the Monitor function was acknowledged by at least one master or slave receiver. 0b1..Not acknowledged. The data currently being provided by the Monitor function was not acknowledged by any receiver.
| #define I2C_ID_APERTURE | ( | x | ) |
APERTURE - Aperture
| #define I2C_ID_MINOR_REV | ( | x | ) |
MINOR_REV - Minor revision of module implementation
| #define I2C_ID_MAJOR_REV | ( | x | ) |
MAJOR_REV - Major revision of module implementation
| #define I2C_ID_ID | ( | x | ) |
ID - Module identifier for the selected function
| #define SPI_CFG_ENABLE | ( | x | ) |
ENABLE - SPI Enable 0b0..Disabled. The SPI is disabled and the internal state machine and counters are reset. 0b1..Enabled. The SPI is enabled for operation.
| #define SPI_CFG_MASTER | ( | x | ) |
MASTER - Master Mode Select 0b0..Slave mode. The SPI will operate in slave mode. SCK, MOSI, and the SSEL signals are inputs; MISO is an output. 0b1..Master mode. The SPI will operate in master mode. SCK, MOSI, and the SSEL signals are outputs; MISO is an input.
| #define SPI_CFG_LSBF | ( | x | ) |
LSBF - LSB First Mode Enable 0b0..Standard. Data is transmitted and received in standard MSB-first order. 0b1..Reverse. Data is transmitted and received in reverse order (LSB first).
| #define SPI_CFG_CPHA | ( | x | ) |
CPHA - Clock Phase Select 0b0..Change 0b1..Capture
| #define SPI_CFG_CPOL | ( | x | ) |
CPOL - Clock Polarity Select 0b0..Low. The rest state of the clock (between transfers) is low. 0b1..High. The rest state of the clock (between transfers) is high.
| #define SPI_CFG_LOOP | ( | x | ) |
LOOP - Loopback Mode Enable 0b0..Disabled 0b1..Enabled
| #define SPI_CFG_SPOL0 | ( | x | ) |
SPOL0 - SSEL0 Polarity Select 0b0..Low. The SSEL0 pin is active low. 0b1..High. The SSEL0 pin is active high.
| #define SPI_CFG_SPOL1 | ( | x | ) |
SPOL1 - SSEL1 Polarity Select 0b0..Low. The SSEL1 pin is active low. 0b1..High. The SSEL1 pin is active high.
| #define SPI_CFG_SPOL2 | ( | x | ) |
SPOL2 - SSEL2 Polarity Select 0b0..Low. The SSEL2 pin is active low. 0b1..High. The SSEL2 pin is active high.
| #define SPI_CFG_SPOL3 | ( | x | ) |
SPOL3 - SSEL3 Polarity Select 0b0..Low. The SSEL3 pin is active low. 0b1..High. The SSEL3 pin is active high.
| #define SPI_STAT_SSA | ( | x | ) |
SSA - Slave Select Assert
| #define SPI_STAT_SSD | ( | x | ) |
SSD - Slave Select Deassert
| #define SPI_STAT_STALLED | ( | x | ) |
STALLED - Stalled Status Flag
| #define SPI_STAT_ENDTRANSFER | ( | x | ) |
ENDTRANSFER - End Transfer Control
| #define SPI_STAT_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Status Flag
| #define SPI_INTENCLR_SSAEN | ( | x | ) |
SSAEN - Slave Select Assert Interrupt Enable 0b0..No effect 0b1..Clear the Slave Select Assert Interrupt Enable bit (INTENSET[SSAEN])
| #define SPI_INTENCLR_SSDEN | ( | x | ) |
SSDEN - Slave Select Deassert Interrupt Enable 0b0..No effect 0b1..Clear the Slave Select Deassert Interrupt Enable bit (INTENSET[SSDEN])
| #define SPI_INTENCLR_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Interrupt Enable 0b0..No effect 0b1..Clear the Master Idle Interrupt Enable bit (INTENSET[MSTIDLE])
| #define SPI_INTSTAT_SSA | ( | x | ) |
SSA - Slave Select Assert Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_INTSTAT_SSD | ( | x | ) |
SSD - Slave Select Deassert Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_INTSTAT_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Status Flag Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_ID_APERTURE | ( | x | ) |
APERTURE - Aperture
| #define SPI_ID_MINOR_REV | ( | x | ) |
MINOR_REV - Minor revision of module implementation
| #define SPI_ID_MAJOR_REV | ( | x | ) |
MAJOR_REV - Major revision of module implementation
| #define SPI_ID_ID | ( | x | ) |
ID - Module identifier for the selected function
| #define SPI_CFG_ENABLE | ( | x | ) |
ENABLE - SPI Enable 0b0..Disabled. The SPI is disabled and the internal state machine and counters are reset. 0b1..Enabled. The SPI is enabled for operation.
| #define SPI_CFG_MASTER | ( | x | ) |
MASTER - Master Mode Select 0b0..Slave mode. The SPI will operate in slave mode. SCK, MOSI, and the SSEL signals are inputs; MISO is an output. 0b1..Master mode. The SPI will operate in master mode. SCK, MOSI, and the SSEL signals are outputs; MISO is an input.
| #define SPI_CFG_LSBF | ( | x | ) |
LSBF - LSB First Mode Enable 0b0..Standard. Data is transmitted and received in standard MSB-first order. 0b1..Reverse. Data is transmitted and received in reverse order (LSB first).
| #define SPI_CFG_CPHA | ( | x | ) |
CPHA - Clock Phase Select 0b0..Change 0b1..Capture
| #define SPI_CFG_CPOL | ( | x | ) |
CPOL - Clock Polarity Select 0b0..Low. The rest state of the clock (between transfers) is low. 0b1..High. The rest state of the clock (between transfers) is high.
| #define SPI_CFG_LOOP | ( | x | ) |
LOOP - Loopback Mode Enable 0b0..Disabled 0b1..Enabled
| #define SPI_CFG_SPOL0 | ( | x | ) |
SPOL0 - SSEL0 Polarity Select 0b0..Low. The SSEL0 pin is active low. 0b1..High. The SSEL0 pin is active high.
| #define SPI_CFG_SPOL1 | ( | x | ) |
SPOL1 - SSEL1 Polarity Select 0b0..Low. The SSEL1 pin is active low. 0b1..High. The SSEL1 pin is active high.
| #define SPI_CFG_SPOL2 | ( | x | ) |
SPOL2 - SSEL2 Polarity Select 0b0..Low. The SSEL2 pin is active low. 0b1..High. The SSEL2 pin is active high.
| #define SPI_CFG_SPOL3 | ( | x | ) |
SPOL3 - SSEL3 Polarity Select 0b0..Low. The SSEL3 pin is active low. 0b1..High. The SSEL3 pin is active high.
| #define SPI_STAT_SSA | ( | x | ) |
SSA - Slave Select Assert
| #define SPI_STAT_SSD | ( | x | ) |
SSD - Slave Select Deassert
| #define SPI_STAT_STALLED | ( | x | ) |
STALLED - Stalled Status Flag
| #define SPI_STAT_ENDTRANSFER | ( | x | ) |
ENDTRANSFER - End Transfer Control
| #define SPI_STAT_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Status Flag
| #define SPI_INTENCLR_SSAEN | ( | x | ) |
SSAEN - Slave Select Assert Interrupt Enable 0b0..No effect 0b1..Clear the Slave Select Assert Interrupt Enable bit (INTENSET[SSAEN])
| #define SPI_INTENCLR_SSDEN | ( | x | ) |
SSDEN - Slave Select Deassert Interrupt Enable 0b0..No effect 0b1..Clear the Slave Select Deassert Interrupt Enable bit (INTENSET[SSDEN])
| #define SPI_INTENCLR_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Interrupt Enable 0b0..No effect 0b1..Clear the Master Idle Interrupt Enable bit (INTENSET[MSTIDLE])
| #define SPI_INTSTAT_SSA | ( | x | ) |
SSA - Slave Select Assert Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_INTSTAT_SSD | ( | x | ) |
SSD - Slave Select Deassert Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_INTSTAT_MSTIDLE | ( | x | ) |
MSTIDLE - Master Idle Status Flag Interrupt 0b0..Disabled 0b1..Enabled
| #define SPI_ID_APERTURE | ( | x | ) |
APERTURE - Aperture
| #define SPI_ID_MINOR_REV | ( | x | ) |
MINOR_REV - Minor revision of module implementation
| #define SPI_ID_MAJOR_REV | ( | x | ) |
MAJOR_REV - Major revision of module implementation
| #define SPI_ID_ID | ( | x | ) |
ID - Module identifier for the selected function