MG32F10x Standard Peripherals Firmware Library

成员变量
TIM_OCInitTypeDef结构体 参考
MG32F10x_StdPeriph_Driver » TIM

TIM Output Compare Init structure definition 更多...

`#include <mg32f10x_tim.h>`

## 成员变量
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

## 详细描述

TIM Output Compare Init structure definition

## 结构体成员变量说明

## ◆ TIM_OCIdleState

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

注解
  This parameter is valid only for TIM1.

## ◆ TIM_OCMode

uint16_t TIM_OCMode

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

## ◆ TIM_OCNIdleState

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

注解
  This parameter is valid only for TIM1.

## ◆ TIM_OCNPolarity

uint16_t TIM_OCNPolarity

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

注解
  This parameter is valid only for TIM1.

## ◆ TIM_OCPolarity

uint16_t TIM_OCPolarity

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

## ◆ TIM_OutputNState

uint16_t TIM_OutputNState

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

注解
  This parameter is valid only for TIM1.

## ◆ TIM_OutputState

uint16_t TIM_OutputState

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

## ◆ TIM_Pulse

uint32_t TIM_Pulse

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

该结构体的文档由以下文件生成:

- mg32f10x_tim.h