Prusa MINI Firmware overview
|
Macros | |
#define | __HAL_RCC_SYSCLK_CONFIG(__RCC_SYSCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
Macro to configure the system clock source. More... | |
#define | __HAL_RCC_GET_SYSCLK_SOURCE() (RCC->CFGR & RCC_CFGR_SWS) |
Macro to get the clock source used as system clock. More... | |
#define | __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
Macro to get the oscillator used as PLL clock source. More... | |
#define __HAL_RCC_SYSCLK_CONFIG | ( | __RCC_SYSCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
Macro to configure the system clock source.
<strong>RCC_SYSCLKSOURCE</strong> | specifies the system clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_GET_SYSCLK_SOURCE | ( | ) | (RCC->CFGR & RCC_CFGR_SWS) |
Macro to get the clock source used as system clock.
The | clock source used as system clock. The returned value can be one of the following:
|
#define __HAL_RCC_GET_PLL_OSCSOURCE | ( | ) | ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
Macro to get the oscillator used as PLL clock source.
The | oscillator used as PLL clock source. The returned value can be one of the following:
|