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