RTEMS 7.0-rc1
Loading...
Searching...
No Matches
system_stm32u5xx.h
Go to the documentation of this file.
1
27#ifndef SYSTEM_STM32U5XX_H
28#define SYSTEM_STM32U5XX_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
45 /* The SystemCoreClock variable is updated in three ways:
46 1) by calling CMSIS function SystemCoreClockUpdate()
47 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
48 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
49 Note: If you use this function to configure the system clock; then there
50 is no need to call the 2 first functions listed above, since SystemCoreClock
51 variable is updated automatically.
52 */
53extern uint32_t SystemCoreClock;
55extern const uint8_t AHBPrescTable[16];
56extern const uint8_t APBPrescTable[8];
57extern const uint32_t MSIRangeTable[16];
73extern void SystemInit (void);
74
75
81extern void SystemCoreClockUpdate (void);
82
83
90extern uint32_t SECURE_SystemCoreClockUpdate(void);
91
96#ifdef __cplusplus
97}
98#endif
99
100#endif /* SYSTEM_STM32U5XX_H */
101
void SystemInit(void)
Setup the microcontroller system.
Definition: system_samv71.c:82
uint32_t SECURE_SystemCoreClockUpdate(void)
Update SystemCoreClock variable from secure application and return its value when security is impleme...
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable.
Definition: system_samv71.c:158
const uint8_t APBPrescTable[8]
Definition: system_stm32u5xx.c:176
const uint8_t AHBPrescTable[16]
Definition: system_stm32u5xx.c:175
uint32_t SystemCoreClock
System clock frequency (core clock)
Definition: system_samv71.c:69
const uint32_t MSIRangeTable[16]
Definition: system_stm32u5xx.c:177