Serial Wombat Arduino Library
Classes | Enumerations
serialWombatQuadEnc.h File Reference
#include <stdint.h>
#include "SerialWombat.h"

Go to the source code of this file.

Classes

class  SerialWombatQuadEnc
 A class that uses two Serial Wombat input pins to read quadrature encoder input. More...
 

Enumerations

enum  QE_READ_MODE_t {
  QE_ONLOW_INT = 0, QE_ONHIGH_INT = 1, QE_ONBOTH_INT = 2, QE_ONLOW_POLL = 4,
  QE_ONHIGH_POLL = 5, QE_ONBOTH_POLL = 6
}
 

Enumeration Type Documentation

◆ QE_READ_MODE_t

Enumerator
QE_ONLOW_INT 

Interrupt driven, process on high to low transition.

QE_ONHIGH_INT 

Interrupt driven, process on low to high transition.

QE_ONBOTH_INT 

Interrupt driven, process on low to high and high to low transition.

QE_ONLOW_POLL 

1mS Polling, process on high to low transition

QE_ONHIGH_POLL 

1mS Polling, process on low to high transition

QE_ONBOTH_POLL 

1mS Polling, process on low to high and high to low transition