Microchip® Advanced Software Framework

qdec_timer_opt_t Struct Reference

Parameters when initializing a QDEC in Counter mode.

#include <qdec.h>

Data Fields

unsigned int clks:3
 QDEC Clock Selection. More...
 
unsigned int evtrge:1
 Event Trigger Enable. More...
 
unsigned int filten:1
 Digital Filter Enable. More...
 
unsigned int:5
 
unsigned int pcce:1
 Position Counter Compare Enable. More...
 
unsigned int qdec:1
 Quadrature decoder module enable. More...
 
unsigned int rcce:1
 Revolution Counter Compare Enable. More...
 
unsigned int tsdir:1
 Timer Set Direction. More...
 
unsigned int upd:1
 Up/Down Mode Timer. More...
 

unsigned int qdec_timer_opt_t::clks

QDEC Clock Selection.

unsigned int qdec_timer_opt_t::evtrge

Event Trigger Enable.

Referenced by qdec_init_timer_mode().

unsigned int qdec_timer_opt_t::filten

Digital Filter Enable.

Referenced by qdec_init_timer_mode().

unsigned qdec_timer_opt_t::int
unsigned int qdec_timer_opt_t::pcce

Position Counter Compare Enable.

Referenced by qdec_init_timer_mode().

unsigned int qdec_timer_opt_t::qdec

Quadrature decoder module enable.

unsigned int qdec_timer_opt_t::rcce

Revolution Counter Compare Enable.

Referenced by qdec_init_timer_mode().

unsigned int qdec_timer_opt_t::tsdir

Timer Set Direction.

Referenced by qdec_init_timer_mode().

unsigned int qdec_timer_opt_t::upd

Up/Down Mode Timer.

Referenced by main(), and qdec_init_timer_mode().