Type Alias atsamd51j::sercom0::usart_int::intflag::W

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

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dre(&mut self) -> DRE_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Data Register Empty Interrupt

source

pub fn txc(&mut self) -> TXC_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Transmit Complete Interrupt

source

pub fn rxc(&mut self) -> RXC_W<'_, INTFLAG_SPEC, 2>

Bit 2 - Receive Complete Interrupt

source

pub fn rxs(&mut self) -> RXS_W<'_, INTFLAG_SPEC, 3>

Bit 3 - Receive Start Interrupt

source

pub fn ctsic(&mut self) -> CTSIC_W<'_, INTFLAG_SPEC, 4>

Bit 4 - Clear To Send Input Change Interrupt

source

pub fn rxbrk(&mut self) -> RXBRK_W<'_, INTFLAG_SPEC, 5>

Bit 5 - Break Received Interrupt

source

pub fn error(&mut self) -> ERROR_W<'_, INTFLAG_SPEC, 7>

Bit 7 - Combined Error Interrupt

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual