Lines Matching refs:I2C0_BASE
172 return(ui32Base == I2C0_BASE); in I2CBaseValid()
244 HWREG(I2C0_BASE + I2C_O_MCTRL) = ui32Cmd; in I2CMasterControl()
285 HWREG(I2C0_BASE + I2C_O_MSA) = (ui8SlaveAddr << 1) | bReceive; in I2CMasterSlaveAddrSet()
306 HWREGBITW(I2C0_BASE + I2C_O_MCR, I2C_MCR_MFE_BITN) = 1; in I2CMasterEnable()
309 HWREG(I2C0_BASE + I2C_O_MCTRL) = I2C_MCTRL_RUN; in I2CMasterEnable()
330 HWREG(I2C0_BASE + I2C_O_MCTRL) = 0; in I2CMasterDisable()
333 HWREGBITW(I2C0_BASE + I2C_O_MCR, I2C_MCR_MFE_BITN) = 0; in I2CMasterDisable()
361 if(HWREG(I2C0_BASE + I2C_O_MSTAT) & I2C_MSTAT_BUSY) in I2CMasterBusy()
397 if(HWREG(I2C0_BASE + I2C_O_MSTAT) & I2C_MSTAT_BUSBSY) in I2CMasterBusBusy()
430 return(HWREG(I2C0_BASE + I2C_O_MDR)); in I2CMasterDataGet()
456 HWREG(I2C0_BASE + I2C_O_MDR) = ui8Data; in I2CMasterDataPut()
499 HWREG(I2C0_BASE + I2C_O_MIMR) = I2C_MIMR_IM; in I2CMasterIntEnable()
524 HWREG(I2C0_BASE + I2C_O_MIMR) = 0; in I2CMasterIntDisable()
566 HWREG(I2C0_BASE + I2C_O_MICR) = I2C_MICR_IC; in I2CMasterIntClear()
601 return((HWREG(I2C0_BASE + I2C_O_MMIS)) ? true : false); in I2CMasterIntStatus()
605 return((HWREG(I2C0_BASE + I2C_O_MRIS)) ? true : false); in I2CMasterIntStatus()
627 HWREGBITW(I2C0_BASE + I2C_O_MCR, I2C_MCR_SFE_BITN) = 1; in I2CSlaveEnable()
630 HWREG(I2C0_BASE + I2C_O_SCTL) = I2C_SCTL_DA; in I2CSlaveEnable()
662 I2CSlaveEnable(I2C0_BASE); in I2CSlaveInit()
667 HWREG(I2C0_BASE + I2C_O_SOAR) = ui8SlaveAddr; in I2CSlaveInit()
694 HWREG(I2C0_BASE + I2C_O_SOAR) = ui8SlaveAddr; in I2CSlaveAddressSet()
715 HWREG(I2C0_BASE + I2C_O_SCTL) = 0x0; in I2CSlaveDisable()
718 HWREGBITW(I2C0_BASE + I2C_O_MCR, I2C_MCR_SFE_BITN) = 0; in I2CSlaveDisable()
748 return(HWREG(I2C0_BASE + I2C_O_SSTAT)); in I2CSlaveStatus()
774 return(HWREG(I2C0_BASE + I2C_O_SDR)); in I2CSlaveDataGet()
800 HWREG(I2C0_BASE + I2C_O_SDR) = ui8Data; in I2CSlaveDataPut()
836 ui32Val = HWREG(I2C0_BASE + I2C_O_SIMR); in I2CSlaveIntEnable()
838 HWREG(I2C0_BASE + I2C_O_SIMR) = ui32Val; in I2CSlaveIntEnable()
874 ui32Val = HWREG(I2C0_BASE + I2C_O_SIMR); in I2CSlaveIntDisable()
876 HWREG(I2C0_BASE + I2C_O_SIMR) = ui32Val; in I2CSlaveIntDisable()
923 HWREG(I2C0_BASE + I2C_O_SICR) = ui32IntFlags; in I2CSlaveIntClear()
960 return(HWREG(I2C0_BASE + I2C_O_SMIS)); in I2CSlaveIntStatus()
964 return(HWREG(I2C0_BASE + I2C_O_SRIS)); in I2CSlaveIntStatus()