DIY Logging Volt/Ampmeter

Macros

#define __HAL_RCC_SYSCLK_CONFIG(__SYSCLKSOURCE__)   MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__SYSCLKSOURCE__))
 Macro to configure the system clock source. More...
 
#define __HAL_RCC_GET_SYSCLK_SOURCE()   ((uint32_t)(READ_BIT(RCC->CFGR,RCC_CFGR_SWS)))
 Macro to get the clock source used as system clock. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_RCC_GET_SYSCLK_SOURCE

#define __HAL_RCC_GET_SYSCLK_SOURCE ( )    ((uint32_t)(READ_BIT(RCC->CFGR,RCC_CFGR_SWS)))

Macro to get the clock source used as system clock.

Return values
Theclock source used as system clock. The returned value can be one of the following:

Definition at line 911 of file stm32f1xx_hal_rcc.h.

◆ __HAL_RCC_SYSCLK_CONFIG

#define __HAL_RCC_SYSCLK_CONFIG (   __SYSCLKSOURCE__)    MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__SYSCLKSOURCE__))

Macro to configure the system clock source.

Parameters
<strong>SYSCLKSOURCE</strong>specifies the system clock source. This parameter can be one of the following values:

Definition at line 901 of file stm32f1xx_hal_rcc.h.