![]() |
ISSDK
1.7
IoT Sensing Software Development Kit
|
#include "fsl_common.h"
Go to the source code of this file.
Macros | |
#define | BOARD_XTAL0_CLK_HZ 12000000U |
#define | BOARD_XTAL32K_CLK_HZ 32768U |
#define | BOARD_BootClockRUN BOARD_BootClockFROHF48M |
#define | BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U |
#define | BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK 48000000U |
#define | BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK 96000000U |
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... | |
#define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U |
Core clock frequency: 12000000Hz
Definition at line 54 of file clock_config.h.
Referenced by BOARD_BootClockFRO12M().
#define BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK 48000000U |
Core clock frequency: 48000000Hz
Definition at line 79 of file clock_config.h.
Referenced by BOARD_BootClockFROHF48M().
#define BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK 96000000U |
Core clock frequency: 96000000Hz
Definition at line 104 of file clock_config.h.
Referenced by BOARD_BootClockFROHF96M().
#define BOARD_BootClockRUN BOARD_BootClockFROHF48M |
Definition at line 45 of file clock_config.h.
Referenced by main().
#define BOARD_XTAL0_CLK_HZ 12000000U |
Board xtal0 frequency in Hz
Definition at line 43 of file clock_config.h.
#define BOARD_XTAL32K_CLK_HZ 32768U |
Board xtal32K frequency in Hz
Definition at line 44 of file clock_config.h.
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 89 of file clock_config.c.
References BOARD_BOOTCLOCKFRO12M_CORE_CLOCK, and SystemCoreClock.
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 127 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 168 of file clock_config.c.
References BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK, and SystemCoreClock.