Port to LPC1549. Partially tested, not all features ported

Fork of QEI_hw by Hexley Ball

Changes