Low-level QDEC peripheral driver interface definitions.
More...
Low-level QDEC peripheral driver interface definitions.
- Author
- Gilles DOFFE gdoff.nosp@m.e@gm.nosp@m.ail.c.nosp@m.om
Definition in file qdec.h.
#include <stdint.h>
#include <limits.h>
#include "periph_cpu.h"
#include "periph_conf.h"
Go to the source code of this file.
|
#define | QDEC_DEV(x) (x) |
| Default QDEC access macro.
|
|
#define | QDEC_UNDEF (UINT_MAX) |
| Default QDEC undefined value.
|
|
|
typedef unsigned int | qdec_t |
| Default QDEC type definition.
|
|
typedef void(* | qdec_cb_t) (void *arg) |
| Signature of event callback functions triggered from interrupts. More...
|
|
|
enum | qdec_mode_t { QDEC_X1,
QDEC_X2,
QDEC_X4
} |
| Default QDEC mode definition.
|
|