1.Poll the TXHPB status. Read can.SR[TXBFLL] until it equals 0 and then write the message into the TXHPB.
2.Write the message to TXHPB. Write to all four data registers (can.TXHPB_ID, can.TXHPB_DLC, can.TXHPB_DATA1, and can.TXHPB_DATA2).
1.Poll the TXHPB status. Read can.SR[TXBFLL] until it equals 0 and then write the message into the TXHPB.
2.Write the message to TXHPB. Write to all four data registers (can.TXHPB_ID, can.TXHPB_DLC, can.TXHPB_DATA1, and can.TXHPB_DATA2).