I link together CAN RX Mailboxes to be able to use the FIFO mechanism behind it. I already understood the basic principle, like explained here: https://secure.cypress.com/?id=4&rID=31578 but I don't know how to apply this principle because I don't know how to access the read and the write pointer.
Will I have to program this pointer mechanism (read and write pointer) on my own? Is there any example available on how to do it properly?
Thanks in advance!
You don't have to take care about indexing. You can just do a register read.
CAN_RX_DATA_BYTE1(0x01); // 0x01 is the mailbox ID