Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/i2s/
Dfsl_flexio_i2s.c362 uint32_t timDiv = srcClock_Hz / (format->sampleRate_Hz * format->bitWidth * 2U); in FLEXIO_I2S_MasterSetFormat() local
366 if ((timDiv % 2UL) != 0UL) in FLEXIO_I2S_MasterSetFormat()
368 timDiv += 1U; in FLEXIO_I2S_MasterSetFormat()
371 … base->flexioBase->TIMCMP[base->fsTimerIndex] = FLEXIO_TIMCMP_CMP(format->bitWidth * timDiv - 1U); in FLEXIO_I2S_MasterSetFormat()
374 …bclkDiv = ((timDiv / 2U - 1U) | ((format->bitWidth * 2UL - … in FLEXIO_I2S_MasterSetFormat()