TIM9_OCToggle
[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 GPIO_Configuration (void)
 Configure TIM9 pins.
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)
 Configure the nested vectored interrupt controller.
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 TIM1_BRK_TIM9_IRQHandler (void)
 This function handles TIM1 Break and TIM9 interrupts request.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.

Variables

uint16_t capture = 0
__IO uint16_t CCR1Val
__IO uint16_t CCR1Val = 32768
__IO uint16_t CCR2Val
__IO uint16_t CCR2Val = 16384
uint16_t PrescalerValue = 0
TIM_OCInitTypeDef TIM_OCInitStructure
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure

Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 87 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 111 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

void GPIO_Configuration ( void   ) 
void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 63 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

int main ( void   ) 
void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 75 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 54 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/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 127 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 119 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/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/TIM/TIM9_OCToggle/stm32f10x_it.c.

void TIM1_BRK_TIM9_IRQHandler ( void   ) 

This function handles TIM1 Break and TIM9 interrupts request.

Parameters:
None 
Return values:
None 

Definition at line 147 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.

References capture, CCR1Val, CCR2Val, RESET, TIM9, TIM_ClearITPendingBit(), TIM_GetCapture1(), TIM_GetCapture2(), TIM_GetITStatus(), TIM_IT_CC1, TIM_IT_CC2, TIM_SetCompare1(), and TIM_SetCompare2().

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 99 of file STM32F10x_StdPeriph_Examples/TIM/TIM9_OCToggle/stm32f10x_it.c.


Variable Documentation

uint16_t capture = 0
__IO uint16_t CCR1Val
__IO uint16_t CCR1Val = 32768
__IO uint16_t CCR2Val
__IO uint16_t CCR2Val = 16384
uint16_t PrescalerValue = 0
STM32F10x Standard Peripherals Library: Footer

 

 

 

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