STM32F0xx Standard Peripherals Firmware Library
|
Functions | |
void | Delay (__IO uint32_t nCount) |
Inserts a delay time. | |
void | EXTI4_15_IRQHandler (void) |
This function handles External lines 0 to 1 interrupt request. | |
void | HardFault_Handler (void) |
This function handles Hard Fault exception. | |
int | main (void) |
Main program. | |
void | NMI_Handler (void) |
This function handles NMI exception. | |
void | PendSV_Handler (void) |
This function handles PendSVC exception. | |
void | SVC_Handler (void) |
This function handles SVCall exception. | |
void | SysTick_Handler (void) |
This function handles SysTick Handler. | |
Variables | |
__IO uint32_t | LowPowerMode = 0 |
__IO uint32_t | LowPowerMode |
Function Documentation
void Delay | ( | __IO uint32_t | nCount | ) |
Inserts a delay time.
- Parameters:
-
nCount,: specifies the delay time length.
- Return values:
-
None
Definition at line 278 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_LDR/main.c.
void EXTI4_15_IRQHandler | ( | void | ) |
This function handles External lines 0 to 1 interrupt request.
This function handles EXTI 6 request.
- Parameters:
-
None
- Return values:
-
None
Definition at line 114 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.c.
References LowPowerMode.
void HardFault_Handler | ( | void | ) |
This function handles Hard Fault exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 68 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.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 56 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/main.c.
References Delay(), and LowPowerMode.
void NMI_Handler | ( | void | ) |
This function handles NMI exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 59 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.c.
void PendSV_Handler | ( | void | ) |
This function handles PendSVC exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 90 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.c.
void SVC_Handler | ( | void | ) |
This function handles SVCall exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 81 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.c.
void SysTick_Handler | ( | void | ) |
This function handles SysTick Handler.
- Parameters:
-
None
- Return values:
-
None
Definition at line 99 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/stm32f0xx_it.c.
Variable Documentation
__IO uint32_t LowPowerMode = 0 |
Definition at line 43 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/main.c.
Referenced by EXTI4_15_IRQHandler(), and main().
__IO uint32_t LowPowerMode |
Definition at line 43 of file STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/main.c.
Referenced by EXTI4_15_IRQHandler(), and main().