[−][src]Module stm32f3xx_hal::can
Controller Area Network
CAN is currently not enabled by default, and
can be enabled by the can
feature.
It is a implementation of the embedded_hal_can
traits.
A usage example of the can peripheral can be found at examples/can.rs
Re-exports
pub use embedded_hal_can; |
Structs
Can | Controll Area Network (CAN) Peripheral |
CanFifo | A CAN FIFO which is used to receive and buffer messages from the CAN network that match on of the assigned filters. |
CanFilter | CAN Filter type |
CanFrame | A CAN frame consisting of a destination ID and up to 8 bytes of data. |
CanTransmitter | A CAN transmitter which is used to send messages to the CAN network. |
Enums
CanFilterData | A fully specified CAN filter with its associated list of of IDs or mask. |
CanId | A CAN identifier, which can be either 11 or 27 (extended) bits. u16 and u32 respectively are used here despite the fact that the upper bits are unused. |
Event | CAN Interrupt events |
FilterMode | Can Frame Filter Mode |
Traits
Filter | A type that will either accept or filter a |
Frame | A Can Frame |
Id | A type that can either be |
Receiver | A CAN interface that is able to receive frames. |
Transmitter | A CAN interface that is able to transmit frames. |