Skip to main content

R

Type Alias R 

Source
pub type R = R<UartParameterSpec>;
Expand description

Register UART_PARAMETER reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn fifo_depth(&self) -> FifoDepthR

Bits 0:7 - FIFO depth: 0x4=64

Source

pub fn apb_data_width(&self) -> ApbDataWidthR

Bits 8:9 - APB data width: 0x1=16bit

Source

pub fn afce_mode(&self) -> AfceModeR

Bit 10 - AFCE mode: 0=disabled; 1=enabled

Source

pub fn dma_mode(&self) -> DmaModeR

Bit 11 - DMA mode: 0=DMA_EXTRA disabled; 1=enabled

Source

pub fn shadow(&self) -> ShadowR

Bit 12 - Shadow feature enable