Home
last modified time | relevance | path

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

/hal_infineon-3.4.0/XMCLib/drivers/src/
Dxmc_usic.c273 uint32_t fperi = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); 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()
297 uint32_t fperi = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); 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()
317 uint32_t fperi = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); 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()