Searched refs:u32BitRate (Results 1 – 2 of 2) sorted by relevance
94 uint32_t u32BitRate, u32SrcClk; in I2S_Open() local104 u32BitRate = u32SampleRate * (((u32WordWidth>>4U) & 0x3U) + 1U) * 16U; in I2S_Open()106 u16Divider = (uint16_t)((((u32SrcClk * 10UL / u32BitRate) >> 1U) + 5UL) / 10UL) - 1U; in I2S_Open()110 u32BitRate = u32SrcClk / (2U*((uint32_t)u16Divider+1U)); in I2S_Open()111 u32SampleRate = u32BitRate / ((((u32WordWidth>>4U) & 0x3U) + 1U) * 16U); in I2S_Open()
1136 uint32_t u32BitRate, u32SrcClk, u32RetValue; in SPII2S_Open() local1171 u32BitRate = u32SampleRate * ((u32WordWidth >> SPI_I2SCTL_WDWIDTH_Pos) + 1U) * 16U; in SPII2S_Open()1172 u32Divider = ((u32SrcClk / u32BitRate) >> 1U) - 1U; in SPII2S_Open()1178 u32BitRate = u32SrcClk / ((u32Divider + 1U) * 2U); in SPII2S_Open()1180 u32SampleRate = u32BitRate / (((u32WordWidth >> SPI_I2SCTL_WDWIDTH_Pos) + 1U) * 16U); in SPII2S_Open()