Type Alias R

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

Register CR1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cen(&self) -> CEN_R

Bit 0 - Counter enable

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 opm(&self) -> OPM_R

Bit 3 - One-pulse mode

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

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more