STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
TIM_OC_InitTypeDef Struct Reference

TIM Output Compare Configuration Structure definition. More...

#include <stm32h7xx_hal_tim.h>

Public Attributes

uint32_t OCMode
 Specifies the TIM mode.
uint32_t Pulse
 Specifies the pulse value to be loaded into the Capture Compare Register.
uint32_t OCPolarity
 Specifies the output polarity.
uint32_t OCNPolarity
 Specifies the complementary output polarity.
uint32_t OCFastMode
 Specifies the Fast mode state.
uint32_t OCIdleState
 Specifies the TIM Output Compare pin state during Idle state.
uint32_t OCNIdleState
 Specifies the TIM Output Compare pin state during Idle state.

Detailed Description

TIM Output Compare Configuration Structure definition.

Definition at line 79 of file stm32h7xx_hal_tim.h.

Member Data Documentation

◆ 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.

Definition at line 94 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init(), and MX_TIM3_Init().

◆ 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 timer instances supporting break feature.

Definition at line 99 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init().

◆ OCMode

uint32_t TIM_OC_InitTypeDef::OCMode

Specifies the TIM mode.

This parameter can be a value of TIM Output Compare and PWM Modes

Definition at line 81 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init(), and MX_TIM3_Init().

◆ 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 Complementary Output Compare Idle State

Note
This parameter is valid only for timer instances supporting break feature.

Definition at line 103 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init().

◆ OCNPolarity

uint32_t TIM_OC_InitTypeDef::OCNPolarity

Specifies the complementary output polarity.

This parameter can be a value of TIM Complementary Output Compare Polarity

Note
This parameter is valid only for timer instances supporting break feature.

Definition at line 90 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init().

◆ OCPolarity

uint32_t TIM_OC_InitTypeDef::OCPolarity

Specifies the output polarity.

This parameter can be a value of TIM Output Compare Polarity

Definition at line 87 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init(), and MX_TIM3_Init().

◆ 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 = 0x0000 and Max_Data = 0xFFFF

Definition at line 84 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init(), and MX_TIM3_Init().


The documentation for this struct was generated from the following file: