pub struct BitTiming {
    pub segment1: u8,
    pub segment2: u8,
    pub propagation: u8,
    pub sync_jump_width: u32,
    pub baud_rate_prescaler: u32,
}
Expand description

This structure defines the parameters for the timing mode

Fields

segment1: u8

A value that defines the location of the sample point (between 1 and 16 time quanta)

segment2: u8

A value that defines the location of the transmit point (between 1 and 8 time quanta)

propagation: u8

A value used for compensating the delay on the bus lines

sync_jump_width: u32

A value that represents the maximum time by which the bit sampling period may lenghten or shorten each cycle to perform the resynchronization. It is measured in time quanta.

baud_rate_prescaler: u32

A value that represents the sampling clock period. A period is reffered to as a time quanta.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.