Type Alias rp2040_pac::uart0::uarticr::W

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

Register UARTICR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rimic(&mut self) -> RIMIC_W<'_, UARTICR_SPEC>

Bit 0 - nUARTRI modem interrupt clear. Clears the UARTRIINTR interrupt.

source

pub fn ctsmic(&mut self) -> CTSMIC_W<'_, UARTICR_SPEC>

Bit 1 - nUARTCTS modem interrupt clear. Clears the UARTCTSINTR interrupt.

source

pub fn dcdmic(&mut self) -> DCDMIC_W<'_, UARTICR_SPEC>

Bit 2 - nUARTDCD modem interrupt clear. Clears the UARTDCDINTR interrupt.

source

pub fn dsrmic(&mut self) -> DSRMIC_W<'_, UARTICR_SPEC>

Bit 3 - nUARTDSR modem interrupt clear. Clears the UARTDSRINTR interrupt.

source

pub fn rxic(&mut self) -> RXIC_W<'_, UARTICR_SPEC>

Bit 4 - Receive interrupt clear. Clears the UARTRXINTR interrupt.

source

pub fn txic(&mut self) -> TXIC_W<'_, UARTICR_SPEC>

Bit 5 - Transmit interrupt clear. Clears the UARTTXINTR interrupt.

source

pub fn rtic(&mut self) -> RTIC_W<'_, UARTICR_SPEC>

Bit 6 - Receive timeout interrupt clear. Clears the UARTRTINTR interrupt.

source

pub fn feic(&mut self) -> FEIC_W<'_, UARTICR_SPEC>

Bit 7 - Framing error interrupt clear. Clears the UARTFEINTR interrupt.

source

pub fn peic(&mut self) -> PEIC_W<'_, UARTICR_SPEC>

Bit 8 - Parity error interrupt clear. Clears the UARTPEINTR interrupt.

source

pub fn beic(&mut self) -> BEIC_W<'_, UARTICR_SPEC>

Bit 9 - Break error interrupt clear. Clears the UARTBEINTR interrupt.

source

pub fn oeic(&mut self) -> OEIC_W<'_, UARTICR_SPEC>

Bit 10 - Overrun error interrupt clear. Clears the UARTOEINTR interrupt.

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual