TIM_TIM1_Synchro
[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)
 Configures TIM1, TIM3 and TIM4 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 PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void RCC_Configuration (void)
 Configures the different system clocks.
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.

Variables

TIM_BDTRInitTypeDef TIM_BDTRInitStructure
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 83 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 107 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/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 59 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/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 51 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/main.c.

References ENABLE, GPIO_Configuration(), RCC_Configuration(), TIM1, TIM3, TIM4, TIM_BDTRInitTypeDef::TIM_AutomaticOutput, TIM_AutomaticOutput_Disable, TIM_BDTRConfig(), TIM_BDTRInitTypeDef::TIM_Break, TIM_Break_Disable, TIM_BDTRInitTypeDef::TIM_BreakPolarity, TIM_BreakPolarity_High, TIM_TimeBaseInitTypeDef::TIM_ClockDivision, TIM_Cmd(), TIM_TimeBaseInitTypeDef::TIM_CounterMode, TIM_CounterMode_Up, TIM_CtrlPWMOutputs(), TIM_BDTRInitTypeDef::TIM_DeadTime, TIM_BDTRInitTypeDef::TIM_LOCKLevel, TIM_LOCKLevel_1, TIM_MasterSlaveMode_Enable, TIM_OC1Init(), TIM_OCInitTypeDef::TIM_OCIdleState, TIM_OCIdleState_Reset, TIM_OCIdleState_Set, TIM_OCInitTypeDef::TIM_OCMode, TIM_OCMode_PWM1, TIM_OCMode_PWM2, TIM_OCInitTypeDef::TIM_OCNIdleState, TIM_OCInitTypeDef::TIM_OCNPolarity, TIM_OCNPolarity_Low, TIM_OCInitTypeDef::TIM_OCPolarity, TIM_OCPolarity_Low, TIM_BDTRInitTypeDef::TIM_OSSIState, TIM_OSSIState_Enable, TIM_BDTRInitTypeDef::TIM_OSSRState, TIM_OSSRState_Enable, TIM_OCInitTypeDef::TIM_OutputNState, TIM_OutputNState_Enable, TIM_OCInitTypeDef::TIM_OutputState, TIM_OutputState_Enable, TIM_TimeBaseInitTypeDef::TIM_Period, TIM_TimeBaseInitTypeDef::TIM_Prescaler, TIM_OCInitTypeDef::TIM_Pulse, TIM_TimeBaseInitTypeDef::TIM_RepetitionCounter, TIM_SelectInputTrigger(), TIM_SelectMasterSlaveMode(), TIM_SelectOutputTrigger(), TIM_SelectSlaveMode(), TIM_SlaveMode_Gated, TIM_TimeBaseInit(), TIM_TRGOSource_Update, and TIM_TS_ITR0.

void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 71 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 50 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 123 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void RCC_Configuration ( void   ) 
void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 115 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 131 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 95 of file STM32F10x_StdPeriph_Examples/TIM/TIM1_Synchro/stm32f10x_it.c.


Variable Documentation

STM32F10x Standard Peripherals Library: Footer

 

 

 

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