STM32F0xx Standard Peripherals Firmware Library: TIM_6Steps

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Functions

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.
static void SysTickConfig (void)
 Configures the SysTick.
void TIM1_BRK_UP_TRG_COM_IRQHandler (void)
 This function handles TIM1 Break, Update, Trigger and Commutation interrupt request.
static void TIM_Config (void)
 Configure the TIM1 Pins.

Variables

__IO uint32_t step = 1

Function Documentation

void HardFault_Handler ( void  )

This function handles Hard Fault exception.

Parameters:
None
Return values:
None

Definition at line 68 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/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 54 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/main.c.

References SysTickConfig(), and TIM_Config().

void NMI_Handler ( void  )

This function handles NMI exception.

Parameters:
None
Return values:
None

Definition at line 59 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/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/TIM/TIM_6Steps/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/TIM/TIM_6Steps/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/TIM/TIM_6Steps/stm32f0xx_it.c.

static void SysTickConfig ( void  ) [static]

Configures the SysTick.

Parameters:
None
Return values:
None

Definition at line 205 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/main.c.

References SystemCoreClock.

Referenced by main().

void TIM1_BRK_UP_TRG_COM_IRQHandler ( void  )

This function handles TIM1 Break, Update, Trigger and Commutation interrupt request.

Parameters:
None
Return values:
None

Definition at line 116 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/stm32f0xx_it.c.

References step.

static void TIM_Config ( void  ) [static]

Configure the TIM1 Pins.

Parameters:
None
Return values:
None

Definition at line 80 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_6Steps/main.c.

References GPIO_InitStructure, NVIC_InitStructure, TIM_OCInitStructure, and TIM_TimeBaseStructure.

Referenced by main().


Variable Documentation

__IO uint32_t step = 1
STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32