pub type W = W<BIT_PERIOD_SPEC>;
Expand description
Register bit_period
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn transmit(&mut self) -> TRANSMIT_W<'_, BIT_PERIOD_SPEC>
pub fn transmit(&mut self) -> TRANSMIT_W<'_, BIT_PERIOD_SPEC>
Bits 0:15 - Period of each transmit bit
Add 1 to this value and divide by clock to get transmit baudrate.
Sourcepub fn receive(&mut self) -> RECEIVE_W<'_, BIT_PERIOD_SPEC>
pub fn receive(&mut self) -> RECEIVE_W<'_, BIT_PERIOD_SPEC>
Bits 16:31 - Period of each receive bit
Add 1 to this value and divide by clock to get receive baudrate.