DIY Logging Volt/Ampmeter
|
Macros to configure clock source of different peripherals. More...
Macros | |
#define | __HAL_RCC_ADC_CONFIG(__ADCCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_ADCPRE, (uint32_t)(__ADCCLKSOURCE__)) |
Macro to configure the ADCx clock (x=1 to 3 depending on devices). More... | |
#define | __HAL_RCC_GET_ADC_SOURCE() ((uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_ADCPRE))) |
Macro to get the ADC clock (ADCxCLK, x=1 to 3 depending on devices). More... | |
Macros to configure clock source of different peripherals.
#define __HAL_RCC_ADC_CONFIG | ( | __ADCCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_ADCPRE, (uint32_t)(__ADCCLKSOURCE__)) |
Macro to configure the ADCx clock (x=1 to 3 depending on devices).
<strong>ADCCLKSOURCE</strong> | specifies the ADC clock source. This parameter can be one of the following values:
|
Definition at line 1721 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_GET_ADC_SOURCE | ( | ) | ((uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_ADCPRE))) |
Macro to get the ADC clock (ADCxCLK, x=1 to 3 depending on devices).
The | clock source can be one of the following values:
|
Definition at line 1731 of file stm32f1xx_hal_rcc_ex.h.