The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait are a relic from the `bxcan` crate. Remove them, move the functionality into the main structs.
15 lines
274 B
Rust
15 lines
274 B
Rust
//! Controller Area Network (CAN)
|
|
#![macro_use]
|
|
|
|
#[cfg_attr(can_bxcan, path = "bxcan/mod.rs")]
|
|
#[cfg_attr(any(can_fdcan_v1, can_fdcan_h7), path = "fdcan.rs")]
|
|
mod _version;
|
|
pub use _version::*;
|
|
|
|
mod common;
|
|
pub mod enums;
|
|
pub mod frame;
|
|
pub mod util;
|
|
|
|
pub use frame::Frame;
|