Port to LPC1549. Partially tested, not all features ported

Fork of QEI_hw by Hexley Ball

Committer:
wt8008
Date:
Fri Aug 14 16:36:38 2015 +0000
Revision:
3:68844cd35e64
Initial release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wt8008 3:68844cd35e64 1 // Defines translating LPC1768 to LPC1548
wt8008 3:68844cd35e64 2
wt8008 3:68844cd35e64 3 #ifdef TARGET_LPC1549
wt8008 3:68844cd35e64 4 #define QEICON CON
wt8008 3:68844cd35e64 5 #define QEIMAXPOS MAXPOS
wt8008 3:68844cd35e64 6 #define INXCMP INXCMP0
wt8008 3:68844cd35e64 7 #define QEILOAD LOAD
wt8008 3:68844cd35e64 8 #define FILTER
wt8008 3:68844cd35e64 9 #define QEICONF CONF
wt8008 3:68844cd35e64 10 #define QEIIEC IEC
wt8008 3:68844cd35e64 11 #define QEICLR CLR
wt8008 3:68844cd35e64 12 #define QEISTAT STAT
wt8008 3:68844cd35e64 13 #define QEIPOS POS
wt8008 3:68844cd35e64 14 #define QEITIME TIME
wt8008 3:68844cd35e64 15 #define QEICAP CAP
wt8008 3:68844cd35e64 16 #define QEIINTSTAT INTSTAT
wt8008 3:68844cd35e64 17 #define QEIIES IES
wt8008 3:68844cd35e64 18 #define QEIVEL VEL
wt8008 3:68844cd35e64 19 #define QEISET SET
wt8008 3:68844cd35e64 20
wt8008 3:68844cd35e64 21 #define QEIO_PHA_I 8
wt8008 3:68844cd35e64 22 #define QEIO_PHB_I 16
wt8008 3:68844cd35e64 23 #define QEIO_IDX_I 24
wt8008 3:68844cd35e64 24
wt8008 3:68844cd35e64 25 #define SYSAHBCLKCTRL_QEI ((uint32_t)(1<<21))
wt8008 3:68844cd35e64 26 #endif /* TARGET_LPC1549 */