XMC Peripheral Library for XMC4000 Family
XMC_POSIF_QD_CONFIG_t Struct Reference

#include <xmc_posif.h>

Data Fields

XMC_POSIF_QD_MODE_t mode
 
uint32_t index: 2
 
uint32_t phase_a: 1
 
uint32_t phase_b: 1
 
uint32_t phase_leader: 1
 

Detailed Description

Defines POSIF quadrature decoder initialization data structure. Use type XMC_POSIF_QD_CONFIG_t for this data structure. It used to configure Quadrature mode using QDC register.

Field Documentation

◆ index

uint32_t index

Index signal generation control. Use XMC_POSIF_QD_INDEX_GENERATION_t to configure this field.

◆ mode

Operational Mode of the quadrature encoder and decoder

◆ phase_a

uint32_t phase_a

Phase-A active level configuration

◆ phase_b

uint32_t phase_b

Phase-B active level configuration

◆ phase_leader

uint32_t phase_leader

Which of the two phase signals[Phase A or Phase B] leads the other?


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