Struct bxcan::Frame [−][src]
pub struct Frame { /* fields omitted */ }
Expand description
A CAN data or remote frame.
Implementations
Creates a new remote frame with configurable data length code (DLC).
Panics
This function will panic if dlc
is not inside the valid range 0..=8
.
Returns true if this frame is an extended frame.
Returns true if this frame is a standard frame.
Returns true if this frame is a remote frame.
Returns true if this frame is a data frame.
Returns the priority of this frame.
Returns the data length code (DLC) which is in the range 0..8.
For data frames the DLC value always matches the length of the data. Remote frames do not carry any data, yet the DLC can be greater than 0.