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. | |
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 1 ms.
- Return values:
-
None
Definition at line 140 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_WindowMode/main.c.
References TimingDelay.
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/IWDG/IWDG_WindowMode/main.c.
References Delay(), and SystemCoreClock.
void TimingDelay_Decrement | ( | void | ) |
Decrements the TimingDelay variable.
- Parameters:
-
None
- Return values:
-
None
Definition at line 152 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_WindowMode/main.c.
References TimingDelay.
Variable Documentation
__IO uint32_t TimingDelay = 0 |
Definition at line 45 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_WindowMode/main.c.