Module esp32c3_hal::twai
source · Expand description
Two-wire Automotive Interface (TWAI)
This driver manages the ISO 11898-1 (CAN Specification 2.0) compatible TWAI controllers. It supports Standard Frame Format (11-bit) and Extended Frame Format (29-bit) frame identifiers.
Modules
- Two-wire Automotive Interface (TWAI) Filters
Structs
- Structure backing the embedded_hal::can::Frame/embedded_can::Frame trait.
- The underlying timings for the TWAI peripheral.
- An active TWAI peripheral in Normal Mode.
- An inactive TWAI peripheral in the “Reset”/configuration state.
Enums
- A selection of pre-determined baudrates for the TWAI driver. Currently these timings are sourced from the ESP IDF C driver which assumes an APB clock of 80MHz.