Searched refs:baudrate (Results 1 – 13 of 13) sorted by relevance
/hal_infineon-3.4.0/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-3.4.0/mtb-hal-cat1/COMPONENT_PSOC6HAL/source/ |
D | cyhal_uart.c | 329 static uint8_t _cyhal_uart_best_oversample(const cyhal_resource_inst_t *resource, uint32_t baudrate) in _cyhal_uart_best_oversample() argument 336 uint32_t divider = _cyhal_utils_divider_value(resource, baudrate * i, 0); in _cyhal_uart_best_oversample() 337 …uint8_t difference = (uint8_t)_cyhal_uart_baud_perdif(baudrate, _cyhal_uart_actual_baud(resource, … in _cyhal_uart_best_oversample() 601 cy_rslt_t cyhal_uart_set_baud(cyhal_uart_t *obj, uint32_t baudrate, uint32_t *actualbaud) in cyhal_uart_set_baud() argument 619 oversample_value = _cyhal_uart_best_oversample(&(obj->resource), baudrate); in cyhal_uart_set_baud() 622 divider = _cyhal_utils_divider_value(&(obj->resource), baudrate * oversample_value, 0); in cyhal_uart_set_baud() 637 uint32_t baud_difference = _cyhal_uart_baud_perdif(baudrate, calculated_baud); in cyhal_uart_set_baud()
|
/hal_infineon-3.4.0/mtb-hal-cat1/include/ |
D | cyhal_uart.h | 250 cy_rslt_t cyhal_uart_set_baud(cyhal_uart_t *obj, uint32_t baudrate, uint32_t *actualbaud);
|
/hal_infineon-3.4.0/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
|