Home
last modified time | relevance | path

Searched refs:ClockPrescaler (Results 1 – 25 of 28) sorted by relevance

12

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_uart.c2813 assert_param(IS_UART_PRESCALER(huart->Init.ClockPrescaler)); in UART_SetConfig()
2852 MODIFY_REG(huart->Instance->PRESC, USART_PRESC_PRESCALER, huart->Init.ClockPrescaler); in UART_SetConfig()
2866 … lpuart_ker_ck_pres = (HAL_RCC_GetPCLK1Freq() / UART_GET_DIV_FACTOR(huart->Init.ClockPrescaler)); in UART_SetConfig()
2873 … lpuart_ker_ck_pres = ((uint32_t)HSI_VALUE / UART_GET_DIV_FACTOR(huart->Init.ClockPrescaler)); in UART_SetConfig()
2880 …lpuart_ker_ck_pres = (HAL_RCC_GetSysClockFreq() / UART_GET_DIV_FACTOR(huart->Init.ClockPrescaler)); in UART_SetConfig()
2887 … lpuart_ker_ck_pres = ((uint32_t)LSE_VALUE / UART_GET_DIV_FACTOR(huart->Init.ClockPrescaler)); in UART_SetConfig()
2913 …nt32_t)(UART_DIV_LPUART(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate, huart->Init.ClockPrescaler)); in UART_SetConfig()
2920 …sartdiv = (uint32_t)(UART_DIV_LPUART(HSI_VALUE, huart->Init.BaudRate, huart->Init.ClockPrescaler)); in UART_SetConfig()
2927 …2_t)(UART_DIV_LPUART(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate, huart->Init.ClockPrescaler)); in UART_SetConfig()
2934 …sartdiv = (uint32_t)(UART_DIV_LPUART(LSE_VALUE, huart->Init.BaudRate, huart->Init.ClockPrescaler)); in UART_SetConfig()
[all …]
Dstm32l4xx_hal_irda.c2322 assert_param(IS_IRDA_CLOCKPRESCALER(hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
2341 MODIFY_REG(hirda->Instance->PRESC, USART_PRESC_PRESCALER, hirda->Init.ClockPrescaler); in IRDA_SetConfig()
2354 …_t)(IRDA_DIV_SAMPLING16(HAL_RCC_GetPCLK1Freq(), hirda->Init.BaudRate, hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
2361 …_t)(IRDA_DIV_SAMPLING16(HAL_RCC_GetPCLK2Freq(), hirda->Init.BaudRate, hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
2368 …reg = (uint16_t)(IRDA_DIV_SAMPLING16(HSI_VALUE, hirda->Init.BaudRate, hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
2375 …(IRDA_DIV_SAMPLING16(HAL_RCC_GetSysClockFreq(), hirda->Init.BaudRate, hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
2382 …t16_t)(IRDA_DIV_SAMPLING16((uint32_t)LSE_VALUE, hirda->Init.BaudRate, hirda->Init.ClockPrescaler)); in IRDA_SetConfig()
Dstm32l4xx_hal_smartcard.c2417 assert_param(IS_SMARTCARD_CLOCKPRESCALER(hsmartcard->Init.ClockPrescaler)); in SMARTCARD_SetConfig()
2458 MODIFY_REG(hsmartcard->Instance->PRESC, USART_PRESC_PRESCALER, hsmartcard->Init.ClockPrescaler); in SMARTCARD_SetConfig()
2481 …6_t)(((HAL_RCC_GetPCLK1Freq() / SMARTCARDPrescTable[hsmartcard->Init.ClockPrescaler]) + (hsmartcar… in SMARTCARD_SetConfig()
2488 …6_t)(((HAL_RCC_GetPCLK2Freq() / SMARTCARDPrescTable[hsmartcard->Init.ClockPrescaler]) + (hsmartcar… in SMARTCARD_SetConfig()
2495 …tmpreg = (uint16_t)(((HSI_VALUE / SMARTCARDPrescTable[hsmartcard->Init.ClockPrescaler]) + (hsmartc… in SMARTCARD_SetConfig()
2502 …)(((HAL_RCC_GetSysClockFreq() / SMARTCARDPrescTable[hsmartcard->Init.ClockPrescaler]) + (hsmartcar… in SMARTCARD_SetConfig()
2509 …nt16_t)(((uint16_t)(LSE_VALUE / SMARTCARDPrescTable[hsmartcard->Init.ClockPrescaler]) + (hsmartcar… in SMARTCARD_SetConfig()
Dstm32l4xx_hal_usart.c2949 assert_param(IS_USART_PRESCALER(husart->Init.ClockPrescaler)); in USART_SetConfig()
2978 MODIFY_REG(husart->Instance->PRESC, USART_PRESC_PRESCALER, husart->Init.ClockPrescaler); in USART_SetConfig()
2989 …)(USART_DIV_SAMPLING8(HAL_RCC_GetPCLK1Freq(), husart->Init.BaudRate, husart->Init.ClockPrescaler)); in USART_SetConfig()
2996 …)(USART_DIV_SAMPLING8(HAL_RCC_GetPCLK2Freq(), husart->Init.BaudRate, husart->Init.ClockPrescaler)); in USART_SetConfig()
3003 …v = (uint32_t)(USART_DIV_SAMPLING8(HSI_VALUE, husart->Init.BaudRate, husart->Init.ClockPrescaler)); in USART_SetConfig()
3010 …SART_DIV_SAMPLING8(HAL_RCC_GetSysClockFreq(), husart->Init.BaudRate, husart->Init.ClockPrescaler)); in USART_SetConfig()
3017 …v = (uint32_t)(USART_DIV_SAMPLING8(LSE_VALUE, husart->Init.BaudRate, husart->Init.ClockPrescaler)); in USART_SetConfig()
Dstm32l4xx_hal_qspi.c320 assert_param(IS_QSPI_CLOCK_PRESCALER(hqspi->Init.ClockPrescaler)); in HAL_QSPI_Init()
384 ((hqspi->Init.ClockPrescaler << QUADSPI_CR_PRESCALER_Pos) | in HAL_QSPI_Init()
388 ((hqspi->Init.ClockPrescaler << QUADSPI_CR_PRESCALER_Pos) | in HAL_QSPI_Init()
Dstm32l4xx_hal_tim.c4527 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
4533 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
4553 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
4559 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
Dstm32l4xx_hal_adc.c435 assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler)); in HAL_ADC_Init()
581 LL_ADC_SetCommonClock(__LL_ADC_COMMON_INSTANCE(hadc->Instance), hadc->Init.ClockPrescaler); in HAL_ADC_Init()
Dstm32l4xx_hal_ospi.c335 assert_param(IS_OSPI_CLK_PRESCALER (hospi->Init.ClockPrescaler)); in HAL_OSPI_Init()
399 …MODIFY_REG(hospi->Instance->DCR2, OCTOSPI_DCR2_PRESCALER, ((hospi->Init.ClockPrescaler - 1U) << OC… in HAL_OSPI_Init()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_adc.h92 …uint32_t ClockPrescaler; /*!< Select ADC clock source (synchronous clock derived from APB c… member
872 if ((((__HANDLE__)->Init.ClockPrescaler) == ADC_CLOCK_SYNC_PCLK_DIV1) || \
873 (((__HANDLE__)->Init.ClockPrescaler) == ADC_CLOCK_SYNC_PCLK_DIV2) || \
874 (((__HANDLE__)->Init.ClockPrescaler) == ADC_CLOCK_SYNC_PCLK_DIV4)) \
877 (__HANDLE__)->Instance->CFGR2 |= (__HANDLE__)->Init.ClockPrescaler; \
884 ADC->CCR |= (__HANDLE__)->Init.ClockPrescaler; \
/loramac-node-2.7.6/src/boards/NucleoL476/
Dadc-board.c60 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV1; in AdcMcuConfig()
/loramac-node-2.7.6/src/boards/B-L072Z-LRWAN1/
Dadc-board.c47 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; in AdcMcuConfig()
/loramac-node-2.7.6/src/boards/SKiM881AXL/
Dadc-board.c47 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; in AdcMcuConfig()
/loramac-node-2.7.6/src/boards/NucleoL073/
Dadc-board.c47 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; in AdcMcuConfig()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_adc.c397 assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler)); in HAL_ADC_Init()
462 hadc->Init.ClockPrescaler ); in HAL_ADC_Init()
Dstm32l1xx_hal_tim.c3833 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
3839 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
3859 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
3865 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_irda.h91 …uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the IRDA clo… member
Dstm32l4xx_hal_qspi.h67 …uint32_t ClockPrescaler; /* Specifies the prescaler factor for generating clock based on the A… member
Dstm32l4xx_hal_usart.h100 …uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the USART cl… member
Dstm32l4xx_hal_smartcard.h125 …uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the USART cl… member
Dstm32l4xx_hal_adc.h105 …uint32_t ClockPrescaler; /*!< Select ADC clock source (synchronous clock derived from APB c… member
Dstm32l4xx_hal_ospi.h89 uint32_t ClockPrescaler; /* It specifies the prescaler factor used for generating member
Dstm32l4xx_hal_uart.h109 …uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the UART clo… member
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_tim.c3780 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
3785 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
3802 assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); in HAL_TIM_ConfigClockSource()
3807 sClockSourceConfig->ClockPrescaler, in HAL_TIM_ConfigClockSource()
Dstm32l0xx_hal_adc.c366 assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler)); in HAL_ADC_Init()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_tim.h190 uint32_t ClockPrescaler; /*!< TIM clock prescaler member

12