Type Alias R

Source
pub type R = R<BIT_PERIOD_SPEC>;
Expand description

Register bit_period reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn transmit(&self) -> TRANSMIT_R

Bits 0:15 - Period of each transmit bit

Add 1 to this value and divide by clock to get transmit baudrate.

Source

pub fn receive(&self) -> RECEIVE_R

Bits 16:31 - Period of each receive bit

Add 1 to this value and divide by clock to get receive baudrate.