G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
DDL_TMR_ENCODER_InitTypeDef Struct Reference

TMR Encoder interface configuration structure definition. More...

#include <g32r4xx_ddl_tmr.h>

Data Fields

uint32_t EncoderMode
uint32_t IC1Polarity
uint32_t IC1ActiveInput
uint32_t IC1Prescaler
uint32_t IC1Filter
uint32_t IC2Polarity
uint32_t IC2ActiveInput
uint32_t IC2Prescaler
uint32_t IC2Filter

Detailed Description

TMR Encoder interface configuration structure definition.

Definition at line 327 of file g32r4xx_ddl_tmr.h.

Field Documentation

◆ EncoderMode

uint32_t DDL_TMR_ENCODER_InitTypeDef::EncoderMode

Specifies the encoder resolution (x2 or x4). This parameter can be a value of Encoder Mode.

This feature can be modified afterwards using unitary function DDL_TMR_SetEncoderMode().

Definition at line 329 of file g32r4xx_ddl_tmr.h.

◆ IC1ActiveInput

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC1ActiveInput

Specifies the TI1 input source This parameter can be a value of Active Input Selection.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetActiveInput().

Definition at line 341 of file g32r4xx_ddl_tmr.h.

◆ IC1Filter

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC1Filter

Specifies the TI1 input filter. This parameter can be a value of Input Configuration Filter.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetFilter().

Definition at line 353 of file g32r4xx_ddl_tmr.h.

◆ IC1Polarity

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC1Polarity

Specifies the active edge of TI1 input. This parameter can be a value of Input Configuration Polarity.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetPolarity().

Definition at line 335 of file g32r4xx_ddl_tmr.h.

◆ IC1Prescaler

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC1Prescaler

Specifies the TI1 input prescaler value. This parameter can be a value of Input Configuration Prescaler.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetPrescaler().

Definition at line 347 of file g32r4xx_ddl_tmr.h.

◆ IC2ActiveInput

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC2ActiveInput

Specifies the TI2 input source This parameter can be a value of Active Input Selection.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetActiveInput().

Definition at line 365 of file g32r4xx_ddl_tmr.h.

◆ IC2Filter

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC2Filter

Specifies the TI2 input filter. This parameter can be a value of Input Configuration Filter.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetFilter().

Definition at line 377 of file g32r4xx_ddl_tmr.h.

◆ IC2Polarity

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC2Polarity

Specifies the active edge of TI2 input. This parameter can be a value of Input Configuration Polarity.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetPolarity().

Definition at line 359 of file g32r4xx_ddl_tmr.h.

◆ IC2Prescaler

uint32_t DDL_TMR_ENCODER_InitTypeDef::IC2Prescaler

Specifies the TI2 input prescaler value. This parameter can be a value of Input Configuration Prescaler.

This feature can be modified afterwards using unitary function DDL_TMR_IC_SetPrescaler().

Definition at line 371 of file g32r4xx_ddl_tmr.h.


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