PAN1080 Peripheral API
|
Qdec channel counter definitions. More...
Macros | |
#define | QDEC_CNT_IDX_X (0) |
#define | QDEC_CNT_IDX_Y (1) |
#define | QDEC_CNT_IDX_Z (2) |
#define | QDEC_MAX_CNT_RESOLUTION (3) |
#define | QDEC_CNT_RESOLUTION_1X (0) |
#define | QDEC_CNT_RESOLUTION_2X (1) |
#define | QDEC_CNT_RESOLUTION_4X (2) |
Qdec channel counter definitions.
#define QDEC_CNT_IDX_X (0) |
Channel x counter
#define QDEC_CNT_IDX_Y (1) |
Channel y counter
#define QDEC_CNT_IDX_Z (2) |
Channel z counter
#define QDEC_CNT_RESOLUTION_1X (0) |
b'00->1x resolution
#define QDEC_CNT_RESOLUTION_2X (1) |
b'01->2x resolution
#define QDEC_CNT_RESOLUTION_4X (2) |
b'02->4x resolution
#define QDEC_MAX_CNT_RESOLUTION (3) |
Max counter resolution