I have been working on a CAN interface file where you pass a few initial set up parameters, speed etc. and it selects and sets the appropriate registers. When you want to send a frame, you load a buffer and pass it off to the routine which finds the first available transmit buffer and sends it. I have the DT interrupts so I can enable the ones for the CAN if needed, although in my application, I don't. I only handle mode 1 and mode 2 of the CAN bus. What have you been doing with CAN?
-Paul
Bookmarks