Searched refs:ui32TPR (Results 1 – 2 of 2) sorted by relevance
68 uint32_t ui32TPR; in I2CMasterInitExpClk() local90 ui32TPR = ((ui32I2CClk + (2 * 10 * ui32SCLFreq) - 1) / (2 * 10 * ui32SCLFreq)) - 1; in I2CMasterInitExpClk()91 HWREG(I2C0_BASE + I2C_O_MTPR) = ui32TPR; in I2CMasterInitExpClk()
172 uint32_t ui32TPR; in I2CMasterInitExpClk() local202 ui32TPR = ((ui32I2CClk + (2 * 10 * ui32SCLFreq) - 1) / in I2CMasterInitExpClk()204 HWREG(ui32Base + I2C_O_MTPR) = ui32TPR; in I2CMasterInitExpClk()212 ui32TPR = ((ui32I2CClk + (2 * 3 * 3400000) - 1) / in I2CMasterInitExpClk()214 HWREG(ui32Base + I2C_O_MTPR) = I2C_MTPR_HS | ui32TPR; in I2CMasterInitExpClk()