Type Alias rp2040_pac::uart0::uartifls::W

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

Register UARTIFLS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn txiflsel(&mut self) -> TXIFLSEL_W<'_, UARTIFLS_SPEC>

Bits 0:2 - Transmit interrupt FIFO level select. The trigger points for the transmit interrupt are as follows: b000 = Transmit FIFO becomes <= 1 / 8 full b001 = Transmit FIFO becomes <= 1 / 4 full b010 = Transmit FIFO becomes <= 1 / 2 full b011 = Transmit FIFO becomes <= 3 / 4 full b100 = Transmit FIFO becomes <= 7 / 8 full b101-b111 = reserved.

source

pub fn rxiflsel(&mut self) -> RXIFLSEL_W<'_, UARTIFLS_SPEC>

Bits 3:5 - Receive interrupt FIFO level select. The trigger points for the receive interrupt are as follows: b000 = Receive FIFO becomes >= 1 / 8 full b001 = Receive FIFO becomes >= 1 / 4 full b010 = Receive FIFO becomes >= 1 / 2 full b011 = Receive FIFO becomes >= 3 / 4 full b100 = Receive FIFO becomes >= 7 / 8 full b101-b111 = reserved.

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