/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_ll_usart.c | 270 assert_param(IS_LL_USART_BAUDRATE(USART_InitStruct->BaudRate)); in LL_USART_Init() 389 && (USART_InitStruct->BaudRate != 0U)) in LL_USART_Init() 395 USART_InitStruct->BaudRate); in LL_USART_Init() 419 USART_InitStruct->BaudRate = 9600U; in LL_USART_StructInit()
|
A D | stm32f0xx_ll_spi.c | 207 assert_param(IS_LL_SPI_BAUDRATE(SPI_InitStruct->BaudRate)); in LL_SPI_Init() 228 SPI_InitStruct->NSS | SPI_InitStruct->BaudRate | in LL_SPI_Init() 274 SPI_InitStruct->BaudRate = LL_SPI_BAUDRATEPRESCALER_DIV2; in LL_SPI_StructInit()
|
A D | stm32f0xx_hal_irda.c | 1807 assert_param(IS_IRDA_BAUDRATE(hirda->Init.BaudRate)); in IRDA_SetConfig() 1834 …ance->BRR = (uint16_t)((HAL_RCC_GetPCLK1Freq() + (hirda->Init.BaudRate/2)) / hirda->Init.BaudRate); in IRDA_SetConfig() 1837 … hirda->Instance->BRR = (uint16_t)((HSI_VALUE + (hirda->Init.BaudRate/2)) / hirda->Init.BaudRate); in IRDA_SetConfig() 1840 …e->BRR = (uint16_t)((HAL_RCC_GetSysClockFreq() + (hirda->Init.BaudRate/2)) / hirda->Init.BaudRate); in IRDA_SetConfig() 1843 … hirda->Instance->BRR = (uint16_t)((LSE_VALUE + (hirda->Init.BaudRate/2)) / hirda->Init.BaudRate); in IRDA_SetConfig()
|
A D | stm32f0xx_hal_smartcard.c | 1677 assert_param(IS_SMARTCARD_BAUDRATE(hsmartcard->Init.BaudRate)); in SMARTCARD_SetConfig() 1737 … (uint16_t)((HAL_RCC_GetPCLK1Freq() + (hsmartcard->Init.BaudRate/2U)) / hsmartcard->Init.BaudRate); in SMARTCARD_SetConfig() 1740 …stance->BRR = (uint16_t)((HSI_VALUE + (hsmartcard->Init.BaudRate/2U)) / hsmartcard->Init.BaudRate); in SMARTCARD_SetConfig() 1743 …int16_t)((HAL_RCC_GetSysClockFreq() + (hsmartcard->Init.BaudRate/2U)) / hsmartcard->Init.BaudRate); in SMARTCARD_SetConfig() 1746 …stance->BRR = (uint16_t)((LSE_VALUE + (hsmartcard->Init.BaudRate/2U)) / hsmartcard->Init.BaudRate); in SMARTCARD_SetConfig()
|
A D | stm32f0xx_hal_usart.c | 2181 assert_param(IS_USART_BAUDRATE(husart->Init.BaudRate)); in USART_SetConfig() 2218 …div = (uint16_t)(((2*HAL_RCC_GetPCLK1Freq()) + (husart->Init.BaudRate/2)) / husart->Init.BaudRate); in USART_SetConfig() 2221 usartdiv = (uint16_t)(((2*HSI_VALUE) + (husart->Init.BaudRate/2)) / husart->Init.BaudRate); in USART_SetConfig() 2224 … = (uint16_t)(((2*HAL_RCC_GetSysClockFreq()) + (husart->Init.BaudRate/2)) / husart->Init.BaudRate); in USART_SetConfig() 2227 usartdiv = (uint16_t)(((2*LSE_VALUE) + (husart->Init.BaudRate/2)) / husart->Init.BaudRate); in USART_SetConfig()
|
A D | stm32f0xx_hal_uart.c | 2118 assert_param(IS_UART_BAUDRATE(huart->Init.BaudRate)); in UART_SetConfig() 2161 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate)); in UART_SetConfig() 2164 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HSI_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 2167 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate)); in UART_SetConfig() 2170 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(LSE_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 2187 …art->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate)); in UART_SetConfig() 2190 huart->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HSI_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 2193 …->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate)); in UART_SetConfig() 2196 huart->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(LSE_VALUE, huart->Init.BaudRate)); in UART_SetConfig()
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
A D | stm32f7xx_hal_uart.c | 1550 assert_param(IS_UART_BAUDRATE(huart->Init.BaudRate)); in UART_SetConfig() 1590 … usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate)); in UART_SetConfig() 1593 … usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK2Freq(), huart->Init.BaudRate)); in UART_SetConfig() 1596 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HSI_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 1599 … usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate)); in UART_SetConfig() 1602 usartdiv = (uint16_t)(UART_DIV_SAMPLING8(LSE_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 1616 …art->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate)); in UART_SetConfig() 1619 …art->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetPCLK2Freq(), huart->Init.BaudRate)); in UART_SetConfig() 1622 … huart->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HSI_VALUE, huart->Init.BaudRate)); in UART_SetConfig() 1625 …->Instance->BRR = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate)); in UART_SetConfig() [all …]
|
A D | stm32f7xx_hal_smartcard.c | 895 assert_param(IS_SMARTCARD_BAUDRATE(hsc->Init.BaudRate)); in SMARTCARD_SetConfig() 960 hsc->Instance->BRR = (uint16_t)(HAL_RCC_GetPCLK1Freq() / hsc->Init.BaudRate); in SMARTCARD_SetConfig() 963 hsc->Instance->BRR = (uint16_t)(HAL_RCC_GetPCLK2Freq() / hsc->Init.BaudRate); in SMARTCARD_SetConfig() 966 hsc->Instance->BRR = (uint16_t)(HSI_VALUE / hsc->Init.BaudRate); in SMARTCARD_SetConfig() 969 hsc->Instance->BRR = (uint16_t)(HAL_RCC_GetSysClockFreq() / hsc->Init.BaudRate); in SMARTCARD_SetConfig() 972 hsc->Instance->BRR = (uint16_t)(LSE_VALUE / hsc->Init.BaudRate); in SMARTCARD_SetConfig()
|
A D | stm32f7xx_hal_irda.c | 1001 assert_param(IS_IRDA_BAUDRATE(hirda->Init.BaudRate)); in IRDA_SetConfig() 1026 hirda->Instance->BRR = (uint16_t)(HAL_RCC_GetPCLK1Freq() / hirda->Init.BaudRate); in IRDA_SetConfig() 1029 hirda->Instance->BRR = (uint16_t)(HAL_RCC_GetPCLK2Freq() / hirda->Init.BaudRate); in IRDA_SetConfig() 1032 hirda->Instance->BRR = (uint16_t)(HSI_VALUE / hirda->Init.BaudRate); in IRDA_SetConfig() 1035 hirda->Instance->BRR = (uint16_t)(HAL_RCC_GetSysClockFreq() / hirda->Init.BaudRate); in IRDA_SetConfig() 1038 hirda->Instance->BRR = (uint16_t)(LSE_VALUE / hirda->Init.BaudRate); in IRDA_SetConfig()
|
A D | stm32f7xx_hal_usart.c | 1538 assert_param(IS_USART_BAUDRATE(husart->Init.BaudRate)); in USART_SetConfig() 1575 usartdiv = (uint16_t)((2*HAL_RCC_GetPCLK1Freq()) / husart->Init.BaudRate); in USART_SetConfig() 1578 usartdiv = (uint16_t)((2*HAL_RCC_GetPCLK2Freq()) / husart->Init.BaudRate); in USART_SetConfig() 1581 usartdiv = (uint16_t)((2*HSI_VALUE) / husart->Init.BaudRate); in USART_SetConfig() 1584 usartdiv = (uint16_t)((2*HAL_RCC_GetSysClockFreq()) / husart->Init.BaudRate); in USART_SetConfig() 1587 usartdiv = (uint16_t)((2*LSE_VALUE) / husart->Init.BaudRate); in USART_SetConfig()
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
A D | stm32f0xx_ll_spi.h | 102 …uint32_t BaudRate; /*!< Specifies the BaudRate prescaler value which will be used t… member 535 __STATIC_INLINE void LL_SPI_SetBaudRatePrescaler(SPI_TypeDef *SPIx, uint32_t BaudRate) in LL_SPI_SetBaudRatePrescaler() argument 537 MODIFY_REG(SPIx->CR1, SPI_CR1_BR, BaudRate); in LL_SPI_SetBaudRatePrescaler()
|
A D | stm32f0xx_ll_usart.h | 89 …uint32_t BaudRate; /*!< This field defines expected Usart communication baud rate. member 1629 uint32_t BaudRate) in LL_USART_SetBaudRate() argument 1636 usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, BaudRate)); in LL_USART_SetBaudRate() 1643 USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, BaudRate)); in LL_USART_SetBaudRate()
|
A D | stm32f0xx_hal_usart.h | 65 uint32_t BaudRate; /*!< This member configures the Usart communication baud rate. member
|
A D | stm32f0xx_hal_irda.h | 68 uint32_t BaudRate; /*!< This member configures the IRDA communication baud rate. member
|
A D | stm32f0xx_hal_smartcard.h | 67 uint32_t BaudRate; /*!< Configures the SmartCard communication baud rate. member
|
A D | stm32f0xx_hal_uart.h | 65 uint32_t BaudRate; /*!< This member configures the UART communication baud rate. member
|
/lk-master/platform/stm32f7xx/ |
A D | uart.c | 101 u->handle.Init.BaudRate = baud; in usart_init_early()
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Inc/ |
A D | stm32f7xx_hal_irda.h | 65 … uint32_t BaudRate; /*!< This member configures the IRDA communication baud rate. member
|
A D | stm32f7xx_hal_usart.h | 66 … uint32_t BaudRate; /*!< This member configures the Usart communication baud rate. member
|
A D | stm32f7xx_hal_smartcard.h | 66 uint32_t BaudRate; /*!< Configures the SmartCard communication baud rate. member
|
A D | stm32f7xx_hal_uart.h | 66 … uint32_t BaudRate; /*!< This member configures the UART communication baud rate. member
|