Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c203 uint32_t remaind = 0; in SAI_SetMasterClockDivider() local
221 remaind = mul_freq % targetFreq; in SAI_SetMasterClockDivider()
225 if (remaind == 0U) in SAI_SetMasterClockDivider()
233 if (remaind > mclk_Hz / 2U) in SAI_SetMasterClockDivider()
235 remaind = targetFreq - remaind; in SAI_SetMasterClockDivider()
240 if (remaind < current_remainder) in SAI_SetMasterClockDivider()
244 current_remainder = remaind; in SAI_SetMasterClockDivider()