Module stm32_hal2::can

source ·
Expand description

Support for Controller Area Network (CAN) bus. Thinly wraps the bxCAN or can-fd libraries.

Requires the can_bx or can_fd_g[h] features. F3, F4, and L4 use BX CAN. G0, G4, L5, and H7 use FD CAN.

Structs§

  • Interface to the CAN peripheral.

Functions§

  • Set the message RAM layout. This is flexible on H7. This function hard-sets it to the setting that is hard-set by hardware on G4. todo: Allow flexibility.