Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Product List
CANAPI-Slide5

The Data Frame Transmit function sets up a Mailbox to transmit, and makes it transmit one data frame. If the Mailbox was previously configured to receive, the function first makes the peripheral enter the Halt state, since it is safest to change the setting of a receive Mailbox when the peripheral is halted. The function then sets the CAN ID, the data length, and writes the data frame payload. It enables the Mailboxes transmit interrupt unless polling was defined, and finally requests a transmission.

PTM Published on: 2011-10-25