Minimal implementation of the CAN protocol stack, with read and write features