Found 7 other functions taking a
twai_ll_frame_buffer_t
argument:
Copy a frame into the TX buffer and transmit This function copies a formatted TX frame into the TX buffer, and the transmit by setting the correct transmit command (e.g. normal, single shot, self RX) in the command register.
Format a TWAI Frame This function takes a TWAI message structure (containing ID, DLC, data, and flags) and formats it to match the layout of the TX frame buffer.
Parse a TWAI Frame This function takes a TWAI frame (in the format of the RX frame buffer) and parses it to a TWAI message (containing ID, DLC, data and flags).
Copy a frame from the RX buffer and release This function copies a frame from the RX buffer, then release the buffer (so that it loads the next frame in the RX FIFO). False is returned under the following conditions: - On the ESP32S2, false is returned if the RX buffer points to an overrun frame - On the ESP32, false is returned if the RX buffer points to the first overrun frame in the RX FIFO
Copy a formatted TWAI frame into TX buffer for transmission
Copy a received frame from the RX buffer for parsing
Format contents of a TWAI frame into layout of TX Buffer This function encodes a message into a frame structure. The frame structure has an identical layout to the TX buffer, allowing the frame structure to be directly copied into TX buffer.