Type Alias R

Source
pub type R = R<u32, CR1>;
Expand description

Reader of register CR1

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

Source

pub fn opm(&self) -> OPM_R

Bit 3 - One-pulse mode

Source

pub fn udis(&self) -> UDIS_R

Bit 1 - Update disable

Source

pub fn urs(&self) -> URS_R

Bit 2 - Update request source

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction

Source

pub fn cms(&self) -> CMS_R

Bits 5:6 - Center-aligned mode selection

Source

pub fn arpe(&self) -> ARPE_R

Bit 7 - Auto-reload preload enable

Source

pub fn ckd(&self) -> CKD_R

Bits 8:9 - Clock division

Source

pub fn uifremap(&self) -> UIFREMAP_R

Bit 11 - UIF status bit remapping