Home
last modified time | relevance | path

Searched refs:bitClockDiv (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c1047 uint32_t bitClockDiv = 0; in SAI_TxSetBitClockRate() local
1054 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() local
1101 bitClockDiv = sourceClockHz / bitClockFreq; in SAI_RxSetBitClockRate()
[all …]