Type Alias R

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

Register CR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn en(&self) -> EN_R

Bit 0 - Enable

Source

pub fn abort(&self) -> ABORT_R

Bit 1 - Abort request

Source

pub fn dmaen(&self) -> DMAEN_R

Bit 2 - DMA enable

Source

pub fn tcen(&self) -> TCEN_R

Bit 3 - Timeout counter enable

Source

pub fn sshift(&self) -> SSHIFT_R

Bit 4 - Sample shift

Source

pub fn dfm(&self) -> DFM_R

Bit 6 - Dual-flash mode

Source

pub fn fsel(&self) -> FSEL_R

Bit 7 - FLASH memory selection

Source

pub fn fthres(&self) -> FTHRES_R

Bits 8:12 - IFO threshold level

Source

pub fn teie(&self) -> TEIE_R

Bit 16 - Transfer error interrupt enable

Source

pub fn tcie(&self) -> TCIE_R

Bit 17 - Transfer complete interrupt enable

Source

pub fn ftie(&self) -> FTIE_R

Bit 18 - FIFO threshold interrupt enable

Source

pub fn smie(&self) -> SMIE_R

Bit 19 - Status match interrupt enable

Source

pub fn toie(&self) -> TOIE_R

Bit 20 - TimeOut interrupt enable

Source

pub fn apms(&self) -> APMS_R

Bit 22 - Automatic poll mode stop

Source

pub fn pmm(&self) -> PMM_R

Bit 23 - Polling match mode

Source

pub fn prescaler(&self) -> PRESCALER_R

Bits 24:31 - Clock prescaler

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more