![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
Go to the source code of this file.
Functions | |
void | BOARD_BootClockFRO12M (void) |
This function executes configuration of clocks. More... | |
void | BOARD_BootClockFROHF48M (void) |
This function executes configuration of clocks. More... | |
void | BOARD_BootClockFROHF96M (void) |
This function executes configuration of clocks. More... | |
Variables | |
uint32_t | SystemCoreClock |
void BOARD_BootClockFRO12M | ( | void | ) |
This function executes configuration of clocks.
< Set up the clock sources
< Set up FRO
< Ensure FRO is on
< Switch to FRO 12MHz first to ensure we can change voltage without accidentally being below the voltage for current speed
< Set up FRO to the 12 MHz, just for sure
< Set voltage for the one of the fastest clock outputs: System clock output
< Set FLASH wait states for core
< Set up dividers
< Set AHBCLKDIV divider to value 1
< Set up clock selectors - Attach clocks to the peripheries
< Switch MAIN_CLK to FRO12M
< Set SystemCoreClock variable.
Definition at line 63 of file clock_config.c.
void BOARD_BootClockFROHF48M | ( | void | ) |
This function executes configuration of clocks.
< Set up the clock sources
< Set up FRO
< Ensure FRO is on
< Switch to FRO 12MHz first to ensure we can change voltage without accidentally being below the voltage for current speed
< Set voltage for the one of the fastest clock outputs: System clock output
< Set FLASH wait states for core
< Set up high frequency FRO output to selected frequency
< Set up dividers
< Set AHBCLKDIV divider to value 1
< Set up clock selectors - Attach clocks to the peripheries
< Switch MAIN_CLK to FRO_HF
< Set SystemCoreClock variable.
Definition at line 101 of file clock_config.c.
References BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK, and SystemCoreClock.
void BOARD_BootClockFROHF96M | ( | void | ) |
This function executes configuration of clocks.
< Set up the clock sources
< Set up FRO
< Ensure FRO is on
< Switch to FRO 12MHz first to ensure we can change voltage without accidentally being below the voltage for current speed
< Set voltage for the one of the fastest clock outputs: System clock output
< Set FLASH wait states for core
< Set up high frequency FRO output to selected frequency
< Set up dividers
< Set AHBCLKDIV divider to value 1
< Set up clock selectors - Attach clocks to the peripheries
< Switch MAIN_CLK to FRO_HF
< Set SystemCoreClock variable.
Definition at line 142 of file clock_config.c.
Referenced by BOARD_BootClockRUN(), and BOARD_InitBootClocks().
uint32_t SystemCoreClock |