Type Alias esp32c3::twai0::bus_timing_1::W

source ·
pub type W = W<BUS_TIMING_1_SPEC>;
Expand description

Register BUS_TIMING_1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn time_seg1(&mut self) -> TIME_SEG1_W<'_, BUS_TIMING_1_SPEC>

Bits 0:3 - The width of PBS1.

source

pub fn time_seg2(&mut self) -> TIME_SEG2_W<'_, BUS_TIMING_1_SPEC>

Bits 4:6 - The width of PBS2.

source

pub fn time_samp(&mut self) -> TIME_SAMP_W<'_, BUS_TIMING_1_SPEC>

Bit 7 - The number of sample points. 0: the bus is sampled once; 1: the bus is sampled three times