mikroSDK Reference Manual
|
Macros | |
#define | __HAL_RCC_SYSCLK_CONFIG(__SYSCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__SYSCLKSOURCE__)) |
Macro to configure the system clock 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. | |
#define | __HAL_RCC_SYSCLK_CONFIG(__RCC_SYSCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
Macro to configure the system clock source. | |
#define | __HAL_RCC_GET_SYSCLK_SOURCE() (RCC->CFGR & RCC_CFGR_SWS) |
Macro to get the clock source used as system clock. | |
#define | __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
Macro to get the oscillator used as PLL clock source. | |
#define | __HAL_RCC_SYSCLK_CONFIG(__RCC_SYSCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
Macro to configure the system clock source. | |
#define | __HAL_RCC_GET_SYSCLK_SOURCE() (RCC->CFGR & RCC_CFGR_SWS) |
Macro to get the clock source used as system clock. | |
#define | __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
Macro to get the oscillator used as PLL clock source. | |
#define | __HAL_RCC_SYSCLK_CONFIG(__RCC_SYSCLKSOURCE__) MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
Macro to configure the system clock source. | |
#define | __HAL_RCC_GET_SYSCLK_SOURCE() (RCC->CFGR & RCC_CFGR_SWS) |
Macro to get the clock source used as system clock. | |
#define | __HAL_RCC_LSEDRIVE_CONFIG(__RCC_LSEDRIVE__) (MODIFY_REG(RCC->BDCR, RCC_BDCR_LSEDRV, (uint32_t)(__RCC_LSEDRIVE__) )) |
Macro to configures the External Low Speed oscillator (LSE) drive capability. | |
#define | __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
Macro to get the oscillator used as PLL clock source. | |
#define __HAL_RCC_GET_PLL_OSCSOURCE | ( | ) | ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
The | oscillator used as PLL clock source. The returned value can be one of the following:
|
#define __HAL_RCC_GET_PLL_OSCSOURCE | ( | ) | ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
The | oscillator used as PLL clock source. The returned value can be one of the following:
|
#define __HAL_RCC_GET_PLL_OSCSOURCE | ( | ) | ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)) |
The | oscillator used as PLL clock source. The returned value can be one of the following:
|
#define __HAL_RCC_GET_SYSCLK_SOURCE | ( | ) | ((uint32_t)(READ_BIT(RCC->CFGR,RCC_CFGR_SWS))) |
The | clock source used as system clock. The returned value can be one of the following:
|
The | clock source used as system clock. The returned value can be one of the following:
|
The | clock source used as system clock. The returned value can be one of the following:
|
#define __HAL_RCC_GET_SYSCLK_SOURCE | ( | ) | (RCC->CFGR & RCC_CFGR_SWS) |
The | clock source used as system clock. The returned value can be one of the following:
|
The | clock source used as system clock. The returned value can be one of the following:
|
#define __HAL_RCC_GET_SYSCLK_SOURCE | ( | ) | (RCC->CFGR & RCC_CFGR_SWS) |
The | clock source used as system clock. The returned value can be one of the following:
|
The | clock source used as system clock. The returned value can be one of the following:
|
#define __HAL_RCC_GET_SYSCLK_SOURCE | ( | ) | (RCC->CFGR & RCC_CFGR_SWS) |
The | clock source used as system clock. The returned value can be one of the following:
|
#define __HAL_RCC_LSEDRIVE_CONFIG | ( | __RCC_LSEDRIVE__ | ) | (MODIFY_REG(RCC->BDCR, RCC_BDCR_LSEDRV, (uint32_t)(__RCC_LSEDRIVE__) )) |
__RCC_LSEDRIVE__ | specifies the new state of the LSE drive capability. This parameter can be one of the following values:
|
None |
#define __HAL_RCC_SYSCLK_CONFIG | ( | __RCC_SYSCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_SYSCLK_CONFIG | ( | __RCC_SYSCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_SYSCLK_CONFIG | ( | __RCC_SYSCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__RCC_SYSCLKSOURCE__)) |
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
#define __HAL_RCC_SYSCLK_CONFIG | ( | __SYSCLKSOURCE__ | ) | MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, (__SYSCLKSOURCE__)) |
__SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|
__RCC_SYSCLKSOURCE__ | specifies the system clock source. This parameter can be one of the following values:
|