Cargo Features
FdCan has no features set by default.
[dependencies]
fdcan = { version = "0.2.1", features = ["fdcan_g0_g4_l5", "fdcan_h7", "embedded-can-03"] }
- fdcan_g0_g4_l5
-
Peripheral map found on G0 G4 L5
Affects
fdcan::RegisterBlock.xidam
,fdcan::RegisterBlock.hpms
,fdcan::RegisterBlock.rxf0s
,fdcan::RegisterBlock.rxf0a
,fdcan::RegisterBlock.rxf1s
,fdcan::RegisterBlock.rxf1a
… - fdcan_h7
-
Peripheral map found on H7
Affects
fdcan::RegisterBlock.sidfc
,fdcan::RegisterBlock.xidfc
,fdcan::RegisterBlock.xidam
,fdcan::RegisterBlock.hpms
,fdcan::RegisterBlock.ndat1
,fdcan::RegisterBlock.ndat2
…
Features from optional dependencies
- embedded-can-03 implicit feature
-
Enables embedded-can ^0.3
embedded-can:
HAL traits for Controller Area Network (CAN) devices