Type Alias atsamd21j::sercom0::usart::intenset::W

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

Register INTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Data Register Empty Interrupt Enable

source

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

Bit 1 - Transmit Complete Interrupt Enable

source

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

Bit 2 - Receive Complete Interrupt Enable

source

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

Bit 3 - Receive Start Interrupt Enable

source

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

Bit 4 - Clear To Send Input Change Interrupt Enable

source

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

Bit 5 - Break Received Interrupt Enable

source

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

Bit 7 - Combined Error Interrupt Enable

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