Searched refs:baudrate (Results 1 – 11 of 11) sorted by relevance
/hal_infineon-2.7.6/XMCLib/drivers/src/ |
D | xmc_usic.c | 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() [all …]
|
D | xmc_can.c | 125 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()
|
D | xmc_uart.c | 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()
|
D | xmc_spi.c | 93 (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()
|
D | xmc_i2s.c | 100 (void)XMC_I2S_CH_SetBaudrateEx(channel, config->baudrate, config->normal_divider_mode); in XMC_I2S_CH_Init()
|
D | xmc_i2c.c | 126 (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/ |
D | xmc_i2c.h | 262 uint32_t baudrate; /**< baud rate configuration upto max of 400KHz */ member
|
D | xmc_i2s.h | 237 uint32_t baudrate; /**< Module baud rate for communication */ member
|
D | xmc_uart.h | 226 …uint32_t baudrate; /**< Desired baudrate. \b Range: minimum= 100, maximum=… member
|
D | xmc_spi.h | 326 uint32_t baudrate; /**< Module baud rate for communication */ member
|
D | xmc_can.h | 478 …uint32_t baudrate; /**< Specifies the node baud rate. Unit: baud \a baudrate shall be ran… member
|