Type Alias rp2040_pac::sio::fifo_st::W

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

Register FIFO_ST writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wof(&mut self) -> WOF_W<'_, FIFO_ST_SPEC>

Bit 2 - Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO.

source

pub fn roe(&mut self) -> ROE_W<'_, FIFO_ST_SPEC>

Bit 3 - Sticky flag indicating the RX FIFO was read when empty. This read was ignored by the FIFO.

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