Lines Matching refs:oversampling
86 uint32_t oversampling = XMC_UART_CH_OVERSAMPLING; in XMC_UART_CH_Init() local
91 if(config->oversampling != 0U) in XMC_UART_CH_Init()
93 oversampling = (uint32_t)config->oversampling; in XMC_UART_CH_Init()
100 (void)XMC_USIC_CH_SetBaudrateEx(channel, config->baudrate, oversampling); in XMC_UART_CH_Init()
105 (void)XMC_USIC_CH_SetBaudrate(channel, config->baudrate, oversampling); in XMC_UART_CH_Init()
117 (((oversampling >> 1UL) + 1UL) << USIC_CH_PCR_ASCMode_SP_Pos) | in XMC_UART_CH_Init()
149 …TATUS_t XMC_UART_CH_SetBaudrate(XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling) in XMC_UART_CH_SetBaudrate() argument
155 …if ((rate <= (XMC_SCU_CLOCK_GetPeripheralClockFrequency() >> 2U)) && (oversampling >= XMC_UART_CH_… in XMC_UART_CH_SetBaudrate()
157 if (XMC_USIC_CH_SetBaudrate(channel, rate, oversampling) == XMC_USIC_CH_STATUS_OK) in XMC_UART_CH_SetBaudrate()
165 …H_SetBaudrateEx(XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling, bool normal_di… in XMC_UART_CH_SetBaudrateEx() argument
169 …if ((rate <= (XMC_SCU_CLOCK_GetPeripheralClockFrequency() >> 2U)) && (oversampling >= XMC_UART_CH_… in XMC_UART_CH_SetBaudrateEx()
174 status = XMC_USIC_CH_SetBaudrateEx(channel, rate, oversampling); in XMC_UART_CH_SetBaudrateEx()
179 status = XMC_USIC_CH_SetBaudrate(channel, rate, oversampling); in XMC_UART_CH_SetBaudrateEx()