TIM_OCInitTypeDef Struct Reference
[TIM]

TIM Output Compare Init structure definition. More...

#include <stm32f4xx_tim.h>

Data Fields

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

Detailed Description

TIM Output Compare Init structure definition.


Field Documentation

uint16_t TIM_OCIdleState

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.
uint16_t TIM_OCMode

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

uint16_t TIM_OCNIdleState

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.
uint16_t TIM_OCNPolarity

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.
uint16_t TIM_OCPolarity

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

uint16_t TIM_OutputNState

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.
uint16_t TIM_OutputState

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

uint32_t TIM_Pulse

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


The documentation for this struct was generated from the following file:
Generated on Fri Jun 22 00:58:31 2012 for STM32F4xx_StdPeriph_Driver by  doxygen 1.6.3