STM32F0xx Standard Peripherals Firmware Library
|
Functions | |
void | Delay (__IO uint32_t nTime) |
Inserts a delay time. | |
int | main (void) |
Main program. | |
void | TimingDelay_Decrement (void) |
Decrements the TimingDelay variable. | |
static void | WWDG_Config (void) |
WWDG configuration. | |
Variables | |
__IO uint32_t | TimingDelay = 0 |
Function Documentation
void Delay | ( | __IO uint32_t | nTime | ) |
Inserts a delay time.
- Parameters:
-
nTime,: specifies the delay time length, in 10 ms.
- Return values:
-
None
Definition at line 278 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_LDR/main.c.
int main | ( | void | ) |
Main program.
- Parameters:
-
None
- Return values:
-
None
< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f0xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f0xx.c file
Definition at line 55 of file STM32F0xx_StdPeriph_Examples/WWDG/WWDG_Example/main.c.
References Delay(), SystemCoreClock, and WWDG_Config().
void TimingDelay_Decrement | ( | void | ) |
Decrements the TimingDelay variable.
- Parameters:
-
None
- Return values:
-
None
Definition at line 150 of file STM32F0xx_StdPeriph_Examples/WWDG/WWDG_Example/main.c.
References TimingDelay.
static void WWDG_Config | ( | void | ) | [static] |
WWDG configuration.
- Parameters:
-
None
- Return values:
-
None
Definition at line 114 of file STM32F0xx_StdPeriph_Examples/WWDG/WWDG_Example/main.c.
Referenced by main().
Variable Documentation
__IO uint32_t TimingDelay = 0 |
Definition at line 43 of file STM32F0xx_StdPeriph_Examples/WWDG/WWDG_Example/main.c.