Prusa MINI Firmware overview
TIM_OC_InitTypeDef Struct Reference

TIM Output Compare Configuration Structure definition. More...

#include <stm32f4xx_hal_tim.h>

Collaboration diagram for TIM_OC_InitTypeDef:

Public Attributes

uint32_t OCMode
 
uint32_t Pulse
 
uint32_t OCPolarity
 
uint32_t OCNPolarity
 
uint32_t OCFastMode
 
uint32_t OCIdleState
 
uint32_t OCNIdleState
 

Detailed Description

TIM Output Compare Configuration Structure definition.

Member Data Documentation

◆ OCMode

uint32_t TIM_OC_InitTypeDef::OCMode

Specifies the TIM mode. This parameter can be a value of TIM Output Compare and PWM modes

◆ Pulse

uint32_t TIM_OC_InitTypeDef::Pulse

Specifies the pulse value to be loaded into the Capture Compare Register. This parameter can be a number between Min_Data = 0x0000U and Max_Data = 0xFFFFU

◆ OCPolarity

uint32_t TIM_OC_InitTypeDef::OCPolarity

Specifies the output polarity. This parameter can be a value of TIM Output Compare Polarity

◆ OCNPolarity

uint32_t TIM_OC_InitTypeDef::OCNPolarity

Specifies the complementary output polarity. This parameter can be a value of TIM Output CompareN Polarity

Note
This parameter is valid only for TIM1 and TIM8.

◆ OCFastMode

uint32_t TIM_OC_InitTypeDef::OCFastMode

Specifies the Fast mode state. This parameter can be a value of TIM Output Fast State

Note
This parameter is valid only in PWM1 and PWM2 mode.

◆ OCIdleState

uint32_t TIM_OC_InitTypeDef::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.

◆ OCNIdleState

uint32_t TIM_OC_InitTypeDef::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.