STM8S/A Standard Peripherals Firmware Library
|
CLK_ClockSecuritySystem
Functions | |
static void | CLK_Config (void) |
Configure system clock to use HSE as source clock and to enable the Clock Security System (CSS) | |
void | Delay (uint16_t nCount) |
Delay. | |
static void | GPIO_Config (void) |
Configure GPIO for LEDs available on the evaluation board. | |
void | main (void) |
Main program. |
Function Documentation
static void CLK_Config | ( | void | ) | [static] |
Configure system clock to use HSE as source clock and to enable the Clock Security System (CSS)
- Parameters:
-
None
- Return values:
-
None
void Delay | ( | uint16_t | nCount | ) |
Delay.
- Parameters:
-
nCount
- Return values:
-
None
Definition at line 297 of file STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/main.c.
static void GPIO_Config | ( | void | ) | [static] |
Configure GPIO for LEDs available on the evaluation board.
- Parameters:
-
None
- Return values:
-
None
void main | ( | void | ) |
Main program.
- Parameters:
-
None
- Return values:
-
None
Definition at line 52 of file STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/main.c.
References CLK_Config(), Delay(), GPIO_Config(), i, LED1, LED2, LED3, LED4, and STM_EVAL_LEDToggle().