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
maskmust match; 0 = wildcard. Standard IDs use 11 bits (0..=0x7FF), extended IDs 29 bits (0..=0x1FFF_FFFF).fifoselects 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