[−][src]Trait embedded_hal_can::Id
A type that can either be BaseId
or ExtendedId
Associated Types
Loading content...Required methods
fn base_id(&self) -> Option<Self::BaseId>
Returns Some(base_id)
if this Can-ID is 11-bit.
Returns None
if this Can-ID is 29-bit.
fn extended_id(&self) -> Option<Self::ExtendedId>
Returns Some(extended_id)
if this Can-ID is 29-bit.
Returns None
if this Can-ID is 11-bit.