//! Various CAN-specific constants.
//!
//! These constants are primarily used by the high-level types in the crate, such as encoding the
//! frame type in an identifier, or masking specific identifiers in a filter. However, they're
//! exposed here in case they are necessary and/or can provide value to users.
use bitflags;
bitflags!
/// Mask for standard identifiers.
pub const SFF_MASK: u32 = 0x000007ff;
/// Mask for extended identifiers.
pub const EFF_MASK: u32 = 0x1fffffff;