Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
System
[RCC Exported Functions]
Functions | |
__STATIC_INLINE void | LL_RCC_SetSysClkSource (uint32_t Source) |
Configure the system clock source CFGR SW LL_RCC_SetSysClkSource. | |
__STATIC_INLINE uint32_t | LL_RCC_GetSysClkSource (void) |
Get the system clock source CFGR SWS LL_RCC_GetSysClkSource. | |
__STATIC_INLINE void | LL_RCC_SetAHBPrescaler (uint32_t Prescaler) |
Set AHB prescaler CFGR HPRE LL_RCC_SetAHBPrescaler. | |
__STATIC_INLINE void | LL_RCC_SetAPB1Prescaler (uint32_t Prescaler) |
Set APB1 prescaler CFGR PPRE1 LL_RCC_SetAPB1Prescaler. | |
__STATIC_INLINE void | LL_RCC_SetAPB2Prescaler (uint32_t Prescaler) |
Set APB2 prescaler CFGR PPRE2 LL_RCC_SetAPB2Prescaler. | |
__STATIC_INLINE uint32_t | LL_RCC_GetAHBPrescaler (void) |
Get AHB prescaler CFGR HPRE LL_RCC_GetAHBPrescaler. | |
__STATIC_INLINE uint32_t | LL_RCC_GetAPB1Prescaler (void) |
Get APB1 prescaler CFGR PPRE1 LL_RCC_GetAPB1Prescaler. | |
__STATIC_INLINE uint32_t | LL_RCC_GetAPB2Prescaler (void) |
Get APB2 prescaler CFGR PPRE2 LL_RCC_GetAPB2Prescaler. | |
__STATIC_INLINE void | LL_RCC_SetClkAfterWakeFromStop (uint32_t Clock) |
Set Clock After Wake-Up From Stop mode CFGR STOPWUCK LL_RCC_SetClkAfterWakeFromStop. | |
__STATIC_INLINE uint32_t | LL_RCC_GetClkAfterWakeFromStop (void) |
Get Clock After Wake-Up From Stop mode CFGR STOPWUCK LL_RCC_GetClkAfterWakeFromStop. |
Function Documentation
__STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler | ( | void | ) |
Get AHB prescaler CFGR HPRE LL_RCC_GetAHBPrescaler.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_SYSCLK_DIV_1
- LL_RCC_SYSCLK_DIV_2
- LL_RCC_SYSCLK_DIV_4
- LL_RCC_SYSCLK_DIV_8
- LL_RCC_SYSCLK_DIV_16
- LL_RCC_SYSCLK_DIV_64
- LL_RCC_SYSCLK_DIV_128
- LL_RCC_SYSCLK_DIV_256
- LL_RCC_SYSCLK_DIV_512
Definition at line 2093 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler | ( | void | ) |
Get APB1 prescaler CFGR PPRE1 LL_RCC_GetAPB1Prescaler.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_APB1_DIV_1
- LL_RCC_APB1_DIV_2
- LL_RCC_APB1_DIV_4
- LL_RCC_APB1_DIV_8
- LL_RCC_APB1_DIV_16
Definition at line 2108 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler | ( | void | ) |
Get APB2 prescaler CFGR PPRE2 LL_RCC_GetAPB2Prescaler.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_APB2_DIV_1
- LL_RCC_APB2_DIV_2
- LL_RCC_APB2_DIV_4
- LL_RCC_APB2_DIV_8
- LL_RCC_APB2_DIV_16
Definition at line 2123 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_GetClkAfterWakeFromStop | ( | void | ) |
Get Clock After Wake-Up From Stop mode CFGR STOPWUCK LL_RCC_GetClkAfterWakeFromStop.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_STOP_WAKEUPCLOCK_MSI
- LL_RCC_STOP_WAKEUPCLOCK_HSI
Definition at line 2149 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_GetSysClkSource | ( | void | ) |
Get the system clock source CFGR SWS LL_RCC_GetSysClkSource.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_SYS_CLKSOURCE_STATUS_MSI
- LL_RCC_SYS_CLKSOURCE_STATUS_HSI
- LL_RCC_SYS_CLKSOURCE_STATUS_HSE
- LL_RCC_SYS_CLKSOURCE_STATUS_PLL
Definition at line 2022 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_SetAHBPrescaler | ( | uint32_t | Prescaler ) |
Set AHB prescaler CFGR HPRE LL_RCC_SetAHBPrescaler.
- Parameters:
-
Prescaler This parameter can be one of the following values: - LL_RCC_SYSCLK_DIV_1
- LL_RCC_SYSCLK_DIV_2
- LL_RCC_SYSCLK_DIV_4
- LL_RCC_SYSCLK_DIV_8
- LL_RCC_SYSCLK_DIV_16
- LL_RCC_SYSCLK_DIV_64
- LL_RCC_SYSCLK_DIV_128
- LL_RCC_SYSCLK_DIV_256
- LL_RCC_SYSCLK_DIV_512
- Return values:
-
None
Definition at line 2042 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_SetAPB1Prescaler | ( | uint32_t | Prescaler ) |
Set APB1 prescaler CFGR PPRE1 LL_RCC_SetAPB1Prescaler.
- Parameters:
-
Prescaler This parameter can be one of the following values: - LL_RCC_APB1_DIV_1
- LL_RCC_APB1_DIV_2
- LL_RCC_APB1_DIV_4
- LL_RCC_APB1_DIV_8
- LL_RCC_APB1_DIV_16
- Return values:
-
None
Definition at line 2058 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_SetAPB2Prescaler | ( | uint32_t | Prescaler ) |
Set APB2 prescaler CFGR PPRE2 LL_RCC_SetAPB2Prescaler.
- Parameters:
-
Prescaler This parameter can be one of the following values: - LL_RCC_APB2_DIV_1
- LL_RCC_APB2_DIV_2
- LL_RCC_APB2_DIV_4
- LL_RCC_APB2_DIV_8
- LL_RCC_APB2_DIV_16
- Return values:
-
None
Definition at line 2074 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_SetClkAfterWakeFromStop | ( | uint32_t | Clock ) |
Set Clock After Wake-Up From Stop mode CFGR STOPWUCK LL_RCC_SetClkAfterWakeFromStop.
- Parameters:
-
Clock This parameter can be one of the following values: - LL_RCC_STOP_WAKEUPCLOCK_MSI
- LL_RCC_STOP_WAKEUPCLOCK_HSI
- Return values:
-
None
Definition at line 2137 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_SetSysClkSource | ( | uint32_t | Source ) |
Configure the system clock source CFGR SW LL_RCC_SetSysClkSource.
- Parameters:
-
Source This parameter can be one of the following values: - LL_RCC_SYS_CLKSOURCE_MSI
- LL_RCC_SYS_CLKSOURCE_HSI
- LL_RCC_SYS_CLKSOURCE_HSE
- LL_RCC_SYS_CLKSOURCE_PLL
- Return values:
-
None
Definition at line 2008 of file stm32l4xx_ll_rcc.h.
Generated on Tue Jul 12 2022 17:38:57 by
