Skip to main content

Module can

Module can 

Expand description

ST bxCAN HAL bridge — thin Rust wrappers over interface/can.c.

Structs§

BusStatus
Device
Diag
Filter
ID/mask filter. Set bits in mask must match; 0 = wildcard. Standard IDs use 11 bits (0..=0x7FF), extended IDs 29 bits (0..=0x1FFF_FFFF). fifo selects RX FIFO 0 or 1.
Frame

Enums§

BusState
Fault-confinement state, decoded from CAN_ESR.
Irq
IRQ kind passed to a registered handler. Mirrors the bxCAN vector lines.
Mode

Functions§

bus_status
configure_filter
deinit
diag
dispatch_isr
get
init
receive
recover
register_irq_handler
start
transmit

Type Aliases§

IrqHandler