TIM_OCInitTypeDef Struct Reference
[TIM_Exported_Types]

TIM Output Compare Init structure definition. More...

#include <stm32f10x_tim.h>

Data Fields

uint16_t TIM_OCIdleState
uint16_t TIM_OCMode
uint16_t TIM_OCNIdleState
uint16_t TIM_OCNPolarity
uint16_t TIM_OCPolarity
uint16_t TIM_OutputNState
uint16_t TIM_OutputState
uint16_t TIM_Pulse

Detailed Description

TIM Output Compare Init structure definition.

Definition at line 79 of file stm32f10x_tim.h.


Field Documentation

Specifies the TIM Output Compare pin state during Idle state. This parameter can be a value of TIM_Output_Compare_Idle_State

Note:
This parameter is valid only for TIM1 and TIM8.

Definition at line 101 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), TIM_OC4Init(), and TIM_OCStructInit().

Specifies the TIM mode. This parameter can be a value of TIM_Output_Compare_and_PWM_modes

Definition at line 81 of file stm32f10x_tim.h.

Referenced by main(), TIM_Configuration(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), TIM_OC4Init(), and TIM_OCStructInit().

Specifies the TIM Output Compare pin state during Idle state. This parameter can be a value of TIM_Output_Compare_N_Idle_State

Note:
This parameter is valid only for TIM1 and TIM8.

Definition at line 105 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), and TIM_OCStructInit().

Specifies the complementary output polarity. This parameter can be a value of TIM_Output_Compare_N_Polarity

Note:
This parameter is valid only for TIM1 and TIM8.

Definition at line 97 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), and TIM_OCStructInit().

Specifies the output polarity. This parameter can be a value of TIM_Output_Compare_Polarity

Definition at line 94 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), TIM_OC4Init(), and TIM_OCStructInit().

Specifies the TIM complementary Output Compare state. This parameter can be a value of TIM_Output_Compare_N_state

Note:
This parameter is valid only for TIM1 and TIM8.

Definition at line 87 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), and TIM_OCStructInit().

Specifies the TIM Output Compare state. This parameter can be a value of TIM_Output_Compare_state

Definition at line 84 of file stm32f10x_tim.h.

Referenced by main(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), TIM_OC4Init(), and TIM_OCStructInit().

Specifies the pulse value to be loaded into the Capture Compare Register. This parameter can be a number between 0x0000 and 0xFFFF

Definition at line 91 of file stm32f10x_tim.h.

Referenced by main(), TIM_Configuration(), TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), TIM_OC4Init(), and TIM_OCStructInit().


The documentation for this struct was generated from the following file:
STM32F10x Standard Peripherals Library: Footer

 

 

 

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