Sptr

Type Alias Sptr 

Source
pub type Sptr = RegValueT<Sptr_SPEC>;
Expand description

Serial Port Register

Aliased Type§

pub struct Sptr { /* private fields */ }

Implementations§

Source§

impl Sptr

Source

pub fn rxdmon(self) -> RegisterField<0, 0x1, 1, 0, Rxdmon, Rxdmon, Sptr_SPEC, R>

Serial Input Data Monitor

Source

pub fn spb2dt( self, ) -> RegisterField<1, 0x1, 1, 0, Spb2Dt, Spb2Dt, Sptr_SPEC, RW>

Serial Port Break Data Select

Source

pub fn spb2io( self, ) -> RegisterField<2, 0x1, 1, 0, Spb2Io, Spb2Io, Sptr_SPEC, RW>

Serial Port Break I/O

Source

pub fn rinv(self) -> RegisterField<4, 0x1, 1, 0, Rinv, Rinv, Sptr_SPEC, RW>

RXD invert bit

Source

pub fn tinv(self) -> RegisterField<5, 0x1, 1, 0, Tinv, Tinv, Sptr_SPEC, RW>

TXD invert bit

Source

pub fn asen(self) -> RegisterField<6, 0x1, 1, 0, Asen, Asen, Sptr_SPEC, RW>

Adjust receive sampling timing enable

Source

pub fn aten(self) -> RegisterField<7, 0x1, 1, 0, Aten, Aten, Sptr_SPEC, RW>

Adjust transmit timing enable

Trait Implementations§

Source§

impl Default for Sptr

Source§

fn default() -> Sptr

Returns the “default value” for a type. Read more