Home
last modified time | relevance | path

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

/hal_infineon-2.7.6/XMCLib/drivers/src/
Dxmc_usic.c274 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()
282baudrate = 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()
307baudrate = 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()
[all …]
Dxmc_can.c125 if ((bit_time_config->can_frequency % bit_time_config->baudrate) == 0) in XMC_CAN_NODE_NominalBitTimeConfigureEx()
131 uint32_t fcan_div = bit_time_config->can_frequency / bit_time_config->baudrate; in XMC_CAN_NODE_NominalBitTimeConfigureEx()
209 …XMC_ASSERT("XMC_CAN_NODE_NOMINAL_BIT_TIME_Configure: rate not supported", (can_bit_time->baudrate in XMC_CAN_NODE_NominalBitTimeConfigure()
210 (can_bit_time->baudrate >= 100000U)); in XMC_CAN_NODE_NominalBitTimeConfigure()
238 uint32_t temp_tbaud = (uint32_t)(f_quanta / (can_bit_time->baudrate)); in XMC_CAN_NODE_NominalBitTimeConfigure()
262 if(temp_baudrate >= can_bit_time->baudrate) in XMC_CAN_NODE_NominalBitTimeConfigure()
264 error = temp_baudrate - can_bit_time->baudrate; in XMC_CAN_NODE_NominalBitTimeConfigure()
268 error = can_bit_time->baudrate - temp_baudrate; in XMC_CAN_NODE_NominalBitTimeConfigure()
Dxmc_uart.c100 (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()
Dxmc_spi.c93 (void)XMC_USIC_CH_SetBaudrateEx(channel, config->baudrate, XMC_SPI_CH_OVERSAMPLING); in XMC_SPI_CH_Init()
98 (void)XMC_USIC_CH_SetBaudrate(channel, config->baudrate, XMC_SPI_CH_OVERSAMPLING); in XMC_SPI_CH_Init()
Dxmc_i2s.c100 (void)XMC_I2S_CH_SetBaudrateEx(channel, config->baudrate, config->normal_divider_mode); in XMC_I2S_CH_Init()
Dxmc_i2c.c126 (void)XMC_I2C_CH_SetBaudrateEx(channel, config->baudrate, config->normal_divider_mode); in XMC_I2C_CH_Init()
/hal_infineon-2.7.6/XMCLib/drivers/inc/
Dxmc_i2c.h262 uint32_t baudrate; /**< baud rate configuration upto max of 400KHz */ member
Dxmc_i2s.h237 uint32_t baudrate; /**< Module baud rate for communication */ member
Dxmc_uart.h226 …uint32_t baudrate; /**< Desired baudrate. \b Range: minimum= 100, maximum=… member
Dxmc_spi.h326 uint32_t baudrate; /**< Module baud rate for communication */ member
Dxmc_can.h478 …uint32_t baudrate; /**< Specifies the node baud rate. Unit: baud \a baudrate shall be ran… member