Port to LPC1549. Partially tested, not all features ported
Fork of QEI_hw by
qeihw_lpc1549.h
- Committer:
- wt8008
- Date:
- 2015-08-14
- Revision:
- 3:68844cd35e64
File content as of revision 3:68844cd35e64:
// Defines translating LPC1768 to LPC1548 #ifdef TARGET_LPC1549 #define QEICON CON #define QEIMAXPOS MAXPOS #define INXCMP INXCMP0 #define QEILOAD LOAD #define FILTER #define QEICONF CONF #define QEIIEC IEC #define QEICLR CLR #define QEISTAT STAT #define QEIPOS POS #define QEITIME TIME #define QEICAP CAP #define QEIINTSTAT INTSTAT #define QEIIES IES #define QEIVEL VEL #define QEISET SET #define QEIO_PHA_I 8 #define QEIO_PHB_I 16 #define QEIO_IDX_I 24 #define SYSAHBCLKCTRL_QEI ((uint32_t)(1<<21)) #endif /* TARGET_LPC1549 */