Skip to main content

W

Type Alias W 

Source
pub type W = W<RXCTRL0_SPEC>;
Expand description

Register RXCTRL0 writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn dnr(&mut self) -> DNR_W<'_, RXCTRL0_SPEC, 0>

Bit 0 - Do Not Respond.

Source

pub fn rxfsh(&mut self) -> RXFSH_W<'_, RXCTRL0_SPEC, 7>

Bit 7 - Receive FIFO Flush.

Source

pub fn rxth(&mut self) -> RXTH_W<'_, RXCTRL0_SPEC, 8>

Bits 8:11 - Receive FIFO Threshold.

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