28#define TELEMETRY_STATS_CAN_ID 2020U
30#define TELEMETRY_STATS_DLC 6U
34#define WS22_TELEMETRY_STATUS_ID 2039U
35#define WS22_TELEMETRY_BUS_ID 2040U
36#define WS22_TELEMETRY_VELOCITY_ID 2041U
37#define WS22_TELEMETRY_TEMP_ID 2042U
38#define WS22_TELEMETRY_DRIVE_CMD_ID 2043U
39#define WS22_TELEMETRY_DLC 4U
47 CAN_MSG_PRIORITY_HIGH = 0,
48 CAN_MSG_PRIORITY_MEDIUM,
50 NUM_CAN_MSG_PRIORITIES,
74extern const size_t g_can_cache_high_size;
81extern const size_t g_can_cache_medium_size;
89extern const size_t g_can_cache_low_size;
CanMessageCache g_can_cache_low[]
Low-priority (slow-cycle) message cache.
Definition: can_cache.c:59
CanMessageCache g_can_cache_medium[]
Medium-priority (medium-cycle) message cache.
Definition: can_cache.c:27
CanMsgPriority
Transmission priority tier for a cached CAN message.
Definition: can_cache.h:46
CanMessageCache g_can_cache_high[]
High-priority (fast-cycle) message cache.
Definition: can_cache.c:22
Per-message cache entry.
Definition: can_cache.h:58
uint32_t tx_cooldown_ticks
Definition: can_cache.h:66
bool pending
Definition: can_cache.h:63
CanMsgPriority priority
Definition: can_cache.h:62
uint8_t length
Definition: can_cache.h:60
uint32_t last_tx_tick
Definition: can_cache.h:65
uint32_t last_updated_tick
Definition: can_cache.h:64
uint32_t can_id
Definition: can_cache.h:59