Type Alias esp32c6::uart0::fifo::W

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

Register FIFO writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W<'_, FIFO_SPEC>

Bits 0:7 - UART 0 accesses FIFO via this register.

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