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

TMR Hall sensor interface configuration structure definition. More...

#include <g32r4xx_ddl_tmr.h>

Data Fields

uint32_t IC1Polarity
uint32_t IC1Prescaler
uint32_t IC1Filter
uint32_t CommutationDelay

Detailed Description

TMR Hall sensor interface configuration structure definition.

Definition at line 388 of file g32r4xx_ddl_tmr.h.

Field Documentation

◆ CommutationDelay

uint32_t DDL_TMR_HALLSENSOR_InitTypeDef::CommutationDelay

Specifies the compare value to be loaded into the Capture Compare Register. A positive pulse (TRGO event) is generated with a programmable delay every time a change occurs on the Hall inputs. This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.

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

Definition at line 412 of file g32r4xx_ddl_tmr.h.

◆ IC1Filter

uint32_t DDL_TMR_HALLSENSOR_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 405 of file g32r4xx_ddl_tmr.h.

◆ IC1Polarity

uint32_t DDL_TMR_HALLSENSOR_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 391 of file g32r4xx_ddl_tmr.h.

◆ IC1Prescaler

uint32_t DDL_TMR_HALLSENSOR_InitTypeDef::IC1Prescaler

Specifies the TI1 input prescaler value. Prescaler must be set to get a maximum counter period longer than the time interval between 2 consecutive changes on the Hall inputs. 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 397 of file g32r4xx_ddl_tmr.h.


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