WWDG_Example
[STM32F10x_StdPeriph_Examples]

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void EXTI9_5_IRQHandler (void)
 This function handles External lines 9 to 5 interrupt request.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
int main (void)
 Main program.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void NVIC_Configuration (void)
 Configures NVIC.
void PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.
void WWDG_IRQHandler (void)
 This function handles WWDG interrupt request.

Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 84 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 108 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void EXTI9_5_IRQHandler ( void   ) 

This function handles External lines 9 to 5 interrupt request.

This function handles EXTI Lines 9 to 5 interrupts requests.

Parameters:
None 
Return values:
None 

Definition at line 165 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

References CEC_SendDataByte(), CEC_StartOfMessage(), EXTI_ClearITPendingBit(), EXTI_GetITStatus(), FOLLOWER, HeaderBlockValueToSend, KEY_BUTTON_EXTI_LINE, LED2, LED3, MY_DEVICE_ADDRESS, RESET, STM_EVAL_LEDOff(), and STM_EVAL_LEDOn().

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 60 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_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_stm32f10x_xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f10x.c file

Definition at line 48 of file STM32F10x_StdPeriph_Examples/WWDG/main.c.

References BUTTON_KEY, BUTTON_MODE_EXTI, ENABLE, LED1, LED2, NVIC_Configuration(), RCC_APB1Periph_WWDG, RCC_APB1PeriphClockCmd(), RCC_ClearFlag(), RCC_FLAG_WWDGRST, RCC_GetFlagStatus(), RESET, STM_EVAL_LEDInit(), STM_EVAL_LEDOff(), STM_EVAL_LEDOn(), STM_EVAL_PBInit(), WWDG_ClearFlag(), WWDG_Enable(), WWDG_EnableIT(), WWDG_Prescaler_8, WWDG_SetPrescaler(), and WWDG_SetWindowValue().

void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 72 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 51 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void NVIC_Configuration ( void   ) 
void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 126 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 117 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 135 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 96 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

void WWDG_IRQHandler ( void   ) 

This function handles WWDG interrupt request.

Parameters:
None 
Return values:
None 

Definition at line 148 of file STM32F10x_StdPeriph_Examples/WWDG/stm32f10x_it.c.

References LED2, STM_EVAL_LEDToggle(), WWDG_ClearFlag(), and WWDG_SetCounter().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32