All messages written to the TxHPB use the polling method. The format should follow Message Format.
Example: Write Message to TxHPB
- Poll the TxHPB status. Read can.SR[TXBFLL] until it equals 0 and then write the message into the TxHPB.
- Write message to TxHPB. Write to all four data registers (can.TXHPB_ID, can.TXHPB_DLC, can.TXHPB_DATA1, and can.TXHPB_DATA2).