Lines Matching refs:oversampling
134 …TATUS_t XMC_USIC_CH_SetBaudrate(XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling) in XMC_USIC_CH_SetBaudrate() argument
151 if ((rate >= 100U) && (oversampling != 0U)) in XMC_USIC_CH_SetBaudrate()
162 pdiv = ((peripheral_clock * clock_divider) / (rate * oversampling)); in XMC_USIC_CH_SetBaudrate()
181 ((oversampling - 1U) << USIC_CH_BRG_DCTQ_Pos) | in XMC_USIC_CH_SetBaudrate()
194 …TATUS_t XMC_USIC_CH_SetBaudrateEx(XMC_USIC_CH_t *const channel, int32_t rate, int32_t oversampling) in XMC_USIC_CH_SetBaudrateEx() argument
197 int32_t brg_clock = rate * oversampling; in XMC_USIC_CH_SetBaudrateEx()
210 brg_clock = rate * oversampling * pdiv; in XMC_USIC_CH_SetBaudrateEx()
213 actual_rate_upper = peripheral_clock / (divider_step * oversampling * pdiv); in XMC_USIC_CH_SetBaudrateEx()
214 actual_rate_lower = peripheral_clock / ((divider_step + 1) * oversampling * pdiv); in XMC_USIC_CH_SetBaudrateEx()
232 ((oversampling - 1U) << USIC_CH_BRG_DCTQ_Pos) | in XMC_USIC_CH_SetBaudrateEx()
339 const uint32_t oversampling, in XMC_USIC_CH_ConfigExternalInputSignalToBRG() argument
343 …ExternalInputSignalToBRG: Oversampling out of range", ((1U < oversampling) || (oversampling < 32U)… in XMC_USIC_CH_ConfigExternalInputSignalToBRG()
356 (((oversampling) - 1U) << USIC_CH_BRG_DCTQ_Pos) | in XMC_USIC_CH_ConfigExternalInputSignalToBRG()