Lines Matching refs:baudrate
274 float baudrate; in XMC_USIC_CH_GetBaudrate() local
277 baudrate = fperi * (((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos) / 1024.0F); in XMC_USIC_CH_GetBaudrate()
282 …baudrate = fperi * (1.0F / (1024 - ((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos)… in XMC_USIC_CH_GetBaudrate()
285 baudrate /= divider; in XMC_USIC_CH_GetBaudrate()
287 return baudrate; in XMC_USIC_CH_GetBaudrate()
298 float baudrate; in XMC_USIC_CH_GetSCLKFrequency() local
302 baudrate = fperi * (((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos) / 1024.0F); in XMC_USIC_CH_GetSCLKFrequency()
307 …baudrate = fperi * (1.0F / (1024 - ((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos)… in XMC_USIC_CH_GetSCLKFrequency()
310 baudrate /= divider; in XMC_USIC_CH_GetSCLKFrequency()
312 return baudrate; in XMC_USIC_CH_GetSCLKFrequency()
319 float baudrate; in XMC_USIC_CH_GetMCLKFrequency() local
323 …baudrate = fperi * (1.0F / (1024 - ((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos)… in XMC_USIC_CH_GetMCLKFrequency()
328 baudrate = fperi / (((channel->FDR & USIC_CH_FDR_STEP_Msk) >> USIC_CH_FDR_STEP_Pos) / 1024.0F); in XMC_USIC_CH_GetMCLKFrequency()
331 baudrate /= 2; in XMC_USIC_CH_GetMCLKFrequency()
333 return baudrate; in XMC_USIC_CH_GetMCLKFrequency()