embassy-stm32

Crates

git

Versions

stm32l4s5vi

Flavors

Module can

Source
Expand description

Controller Area Network (CAN)

Re-exports§

pub use frame::Frame;

Modules§

enums
Enums shared between CAN controller types.
filter
Filter bank API.
frame
Definition for CAN Frames
util
Utility functions shared between CAN controller types.

Structs§

BufferedCan
Buffered CAN driver.
BufferedCanRx
CAN driver, receive half in Buffered mode.
BufferedCanSender
Sender that can be used for sending CAN frames.
BufferedCanTx
Buffered CAN driver, transmit half.
Can
CAN driver
CanConfig
Configuration proxy returned by Can::modify_config.
CanRx
CAN driver, receive half.
CanTx
CAN driver, transmit half.
ExtendedId
Extended 29-bit CAN Identifier (0..=1FFF_FFFF).
Rx0InterruptHandler
RX0 interrupt handler.
Rx1InterruptHandler
RX1 interrupt handler.
SceInterruptHandler
SCE interrupt handler.
StandardId
Standard 11-bit CAN Identifier (0..=0x7FF).
TransmitStatus
Contains information about a frame enqueued for transmission via [Can::transmit] or [Tx::transmit].
TxInterruptHandler
Interrupt handler.

Enums§

Fifo
Identifies one of the two receive FIFOs.
Id
A CAN Identifier (standard or extended).
Mailbox
Identifies one of the three transmit mailboxes.
TryWriteError
Error returned by try_write

Traits§

FilterOwner
A bxCAN instance that owns filter banks.
Instance
CAN instance trait.
MasterInstance
A bxCAN master instance that shares filter banks with a slave instance.
RxPin
RxPin pin trait
TxPin
TxPin pin trait

Type Aliases§

BufferedCanReceiver
Receiver that can be used for receiving CAN frames. Note, each CAN frame will only be received by one receiver.
RxBuf
User supplied buffer for RX Buffering
TxBuf
User supplied buffer for TX buffering