Searched refs:bitClockDiv (Results 1 – 1 of 1) sorted by relevance
1047 uint32_t bitClockDiv = 0; in SAI_TxSetBitClockRate() local1054 bitClockDiv = sourceClockHz / bitClockFreq; in SAI_TxSetBitClockRate()1056 if (bitClockDiv == 0U) in SAI_TxSetBitClockRate()1058 bitClockDiv++; in SAI_TxSetBitClockRate()1061 if ((sourceClockHz / bitClockDiv) > bitClockFreq) in SAI_TxSetBitClockRate()1063 bitClockDiv++; in SAI_TxSetBitClockRate()1068 if (bitClockDiv == 1U) in SAI_TxSetBitClockRate()1075 tcr2 |= I2S_TCR2_DIV(bitClockDiv / 2U - 1UL); in SAI_TxSetBitClockRate()1094 uint32_t bitClockDiv = 0; in SAI_RxSetBitClockRate() local1101 bitClockDiv = sourceClockHz / bitClockFreq; in SAI_RxSetBitClockRate()[all …]