![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
Go to the source code of this file.
Functions | |
void | BOARD_InitBootClocks (void) |
This function executes default configuration of clocks. More... | |
void | BOARD_BootClockFRO12M (void) |
This function executes configuration of clocks. More... | |
void | BOARD_BootClockFROHF96M (void) |
This function executes configuration of clocks. More... | |
void | BOARD_BootClockPLL100M (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
< Configure FRO192M
< Ensure FRO is on
< Set up FRO to the 12 MHz, just for sure
< Switch to FRO 12MHz first to ensure we can change the clock setting
< 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
Definition at line 75 of file clock_config.c.
References BOARD_BOOTCLOCKFRO12M_CORE_CLOCK, and SystemCoreClock.
void BOARD_BootClockFROHF96M | ( | void | ) |
This function executes configuration of clocks.
< Set up the clock sources
< Configure FRO192M
< Ensure FRO is on
< Set up FRO to the 12 MHz, just for sure
< Switch to FRO 12MHz first to ensure we can change the clock setting
< 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 FRO_HF
Definition at line 120 of file clock_config.c.
References BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK, and SystemCoreClock.
void BOARD_BootClockPLL100M | ( | void | ) |
This function executes configuration of clocks.
< Set up the clock sources
< Configure FRO192M
< Ensure FRO is on
< Set up FRO to the 12 MHz, just for sure
< Switch to FRO 12MHz first to ensure we can change the clock setting
< Set FLASH wait states for core
< Set up PLL
< Switch PLL0CLKSEL to EXT_CLK
< Configure PLL0 to the desired values
< Set up dividers
< Set AHBCLKDIV divider to value 1
< Set up clock selectors - Attach clocks to the peripheries
< Switch MAIN_CLK to PLL0
Definition at line 174 of file clock_config.c.
References BOARD_BOOTCLOCKPLL100M_CORE_CLOCK, and SystemCoreClock.
void BOARD_InitBootClocks | ( | void | ) |
This function executes default configuration of clocks.
Definition at line 52 of file clock_config.c.
uint32_t SystemCoreClock |