AVR32 - QDEC Driver Documentation
This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the quadrature decoder (QDEC) driver. It also comes bundled with an application-example of usage.
This example demonstrates how to use the QDEC driver in timer mode.
- qdec.c: Quadrature Decoder driver;
- qdec.h: Quadrature Decoder driver header file;
- qdec_example.c: Quadrature Decoder example application.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.
All AVR32 devices with an QDEC and an INTC can be used.
CPU speed: 60 MHz
- On UC3C_EK, check LED0_GPIO pin with an oscilloscope. The QDEC is used in Timer Mode in 32-bit. It generates an interrupt on a compare Match. At each interrupt a new value is reloaded in compare register.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/