Type Alias atsame54n::sercom0::usart_int::status::W

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

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perr(&mut self) -> PERR_W<'_, STATUS_SPEC, 0>

Bit 0 - Parity Error

source

pub fn ferr(&mut self) -> FERR_W<'_, STATUS_SPEC, 1>

Bit 1 - Frame Error

source

pub fn bufovf(&mut self) -> BUFOVF_W<'_, STATUS_SPEC, 2>

Bit 2 - Buffer Overflow

source

pub fn cts(&mut self) -> CTS_W<'_, STATUS_SPEC, 3>

Bit 3 - Clear To Send

source

pub fn isf(&mut self) -> ISF_W<'_, STATUS_SPEC, 4>

Bit 4 - Inconsistent Sync Field

source

pub fn coll(&mut self) -> COLL_W<'_, STATUS_SPEC, 5>

Bit 5 - Collision Detected

source

pub fn txe(&mut self) -> TXE_W<'_, STATUS_SPEC, 6>

Bit 6 - Transmitter Empty

source

pub fn iter(&mut self) -> ITER_W<'_, STATUS_SPEC, 7>

Bit 7 - Maximum Number of Repetitions Reached

source

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual