RTEMS 6.1-rc6
|
Header file of UTILS LL module. More...
Go to the source code of this file.
Data Structures | |
struct | LL_UTILS_PLLInitTypeDef |
UTILS PLL structure definition. More... | |
struct | LL_UTILS_ClkInitTypeDef |
UTILS System, AHB and APB buses clock configuration structure definition. More... | |
Macros | |
#define | LL_MAX_DELAY 0xFFFFFFFFU |
#define | UID_BASE_ADDRESS UID_BASE |
Unique device ID register base address. | |
#define | FLASHSIZE_BASE_ADDRESS FLASHSIZE_BASE |
Flash size data register base address. | |
#define | PACKAGE_BASE_ADDRESS PACKAGE_BASE |
Package data register base address. | |
#define | LL_UTILS_HSEBYPASS_OFF 0x00000000U |
#define | LL_UTILS_HSEBYPASS_ON 0x00000001U |
Functions | |
__STATIC_INLINE uint32_t | LL_GetUID_Word0 (void) |
Get Word0 of the unique device identifier (UID based on 96 bits) | |
__STATIC_INLINE uint32_t | LL_GetUID_Word1 (void) |
Get Word1 of the unique device identifier (UID based on 96 bits) | |
__STATIC_INLINE uint32_t | LL_GetUID_Word2 (void) |
Get Word2 of the unique device identifier (UID based on 96 bits) | |
__STATIC_INLINE uint32_t | LL_GetFlashSize (void) |
Get Flash memory size. | |
__STATIC_INLINE uint32_t | LL_GetPackageType (void) |
Get Package type. | |
__STATIC_INLINE void | LL_InitTick (uint32_t HCLKFrequency, uint32_t Ticks) |
This function configures the Cortex-M SysTick source of the time base. | |
void | LL_Init1msTick (uint32_t CPU_Frequency) |
This function configures the Cortex-M SysTick source to have 1ms time base. | |
void | LL_mDelay (uint32_t Delay) |
This function provides accurate delay (in milliseconds) based on SysTick counter flag. | |
void | LL_SetSystemCoreClock (uint32_t CPU_Frequency) |
This function sets directly SystemCoreClock CMSIS variable. | |
ErrorStatus | LL_PLL_ConfigSystemClock_HSI (LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) |
This function configures system clock at maximum frequency with HSI as clock source of the PLL. | |
ErrorStatus | LL_PLL_ConfigSystemClock_HSE (uint32_t HSEFrequency, uint32_t HSEBypass, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) |
This function configures system clock with HSE as clock source of the PLL. | |
ErrorStatus | LL_SetFlashLatency (uint32_t HCLK_Frequency) |
Update number of Flash wait states in line with new frequency and current voltage range. | |
Header file of UTILS LL module.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
============================================================================== ##### How to use this driver ##### ============================================================================== [..] The LL UTILS driver contains a set of generic APIs that can be used by user: (+) Device electronic signature (+) Timing functions (+) PLL configuration functions