Crate zencan_common

Crate zencan_common 

Source
Expand description

Common functionality shared among other zencan crates.

Most users will have no reason to depend on this crate directly, as it is re-exported by both zencan-node and zencan-client.

Re-exports§

pub use messages::CanError;
pub use messages::CanId;
pub use messages::CanMessage;
pub use node_id::NodeId;

Modules§

constants
Constants defining standard object and special values
device_configstd
Device config file
lss
Core implementation of the LSS protocol
messages
Message definitions
nmt
Definitions for the NMT protocol
node_configurationstd
Node Configuration File Format
node_id
Types for representing node IDs
objects
Object Definitions
pdo
Definitions and data types related to PDOs
sdo
Common SDO implementation
traits
Common traits

Structs§

AtomicCell
A container to allow atomic access to the contained object
TimeDifference
Represents a duration of time in 48-bits, as stored in TimeDifference objects
TimeOfDay
Represents a time in 48-bits, as stored in TimeOfDay objects

Functions§

open_socketcansocketcan
Open a socketcan device and split it into a sender and receiver object for use with zencan library