pub struct CanTimingLimits {
pub max_baud_rate_prescaler: u32,
pub max_segment_1_length: SegmentLength,
pub max_segment_2_length: SegmentLength,
pub max_jump_width: SegmentLength,
}Expand description
This struct bundles various maximum limits all CAN interfaces have.
Fields§
§max_baud_rate_prescaler: u32The largest supported BRP, almost always a power of two.
max_segment_1_length: SegmentLengthThe max length of seg1, almost always a power of two.
max_segment_2_length: SegmentLengthThe max length of seg2, almost always a power of two.
max_jump_width: SegmentLengthThe maximum value it is possible to configure the interface to set the maximum jump to.
Auto Trait Implementations§
impl Freeze for CanTimingLimits
impl RefUnwindSafe for CanTimingLimits
impl Send for CanTimingLimits
impl Sync for CanTimingLimits
impl Unpin for CanTimingLimits
impl UnwindSafe for CanTimingLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more