|
PER Firmware
|
Periodic CAN<->USB forwarding. More...
#include <stddef.h>#include <stdint.h>#include "phal_G4/usb/usb.h"#include "timestamped_frame/timestamped_frame.h"Go to the source code of this file.
Classes | |
| struct | cannector_tx_frame_t |
| CAN frame structure for USB -> CAN transmission. More... | |
| struct | usb_rx_queue_t |
Functions | |
| void | usb_rx_enqueue (const cannector_tx_frame_t *frames, size_t count) |
| void | usb_periodic (void) |
Variables | |
| static constexpr size_t | MAX_FRAMES_PER_PACKET = 4U |
| static constexpr size_t | USB_RX_QUEUE_CAPACITY = 32U |
Periodic CAN<->USB forwarding.
| void usb_periodic | ( | void | ) |
| void usb_rx_enqueue | ( | const cannector_tx_frame_t * | frames, |
| size_t | count ) |
|
staticconstexpr |
|
staticconstexpr |