Crate can

source · []
Expand description

A general purpose library of common CAN types.

Provides various logical types that are required to meaningfully interact with CAN, such as identifiers, frames, and filters.

Feature flags

While the types are ostensibly meant to be foundational and thus shared amongst the ecosystem, the crate does provide conversion implementations for popular CAN-related crates to allow for interoperation:

  • embedded-can-compat: supports converting identifiers into embedded-can identifiers
  • socketcan-compat: supports converting filters into socketcan filters

All feature flags are enabled by default.

Modules

Various CAN-specific constants.

CAN frame.

CAN identifiers.