XMC Peripheral Library for XMC4000 Family: XMC_POSIF_QD_CONFIG_t Struct Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
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

uint32_t index

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

Operational Mode of the quadrature encoder and decoder

uint32_t phase_a

Phase-A active level configuration

uint32_t phase_b

Phase-B active level configuration

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:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11