It would be easier to replace complete driver than to port code written for Atmer MCU to MicroChip PIC controlers.