[][src]Struct esp_idf_sys::can_timing_config_t

#[repr(C)]
pub struct can_timing_config_t {
    pub brp: u8,
    pub tseg_1: u8,
    pub tseg_2: u8,
    pub sjw: u8,
    pub triple_sampling: bool,
}

@brief Structure for bit timing configuration of the CAN driver

@note Macro initializers are available for this structure

Fields

brp: u8

< Baudrate prescaler (APB clock divider, even number from 2 to 128)

tseg_1: u8

< Timing segment 1 (Number of time quanta, between 1 to 16)

tseg_2: u8

< Timing segment 2 (Number of time quanta, 1 to 8)

sjw: u8

< Synchronization Jump Width (Max time quanta jump for synchronize from 1 to 4)

triple_sampling: bool

< Enables triple sampling when the CAN controller samples a bit

Trait Implementations

impl Debug for can_timing_config_t[src]

impl Copy for can_timing_config_t[src]

impl Clone for can_timing_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]