Type Alias R

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

Register SR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn uif(&self) -> UIF_R

Bit 0 - Update interrupt flag

Source

pub fn ccif(&self, n: u8) -> CCIF_R

Capture/compare (1-2) interrupt flag

`n` is number of field in register. `n == 0` corresponds to `CC1IF` field.
Source

pub fn ccif_iter(&self) -> impl Iterator<Item = CCIF_R> + '_

Iterator for array of: Capture/compare (1-2) interrupt flag

Source

pub fn cc1if(&self) -> CCIF_R

Bit 1 - Capture/compare 1 interrupt flag

Source

pub fn cc2if(&self) -> CCIF_R

Bit 2 - Capture/compare 2 interrupt flag

Source

pub fn tif(&self) -> TIF_R

Bit 6 - Trigger interrupt flag

Source

pub fn ccof(&self, n: u8) -> CCOF_R

Capture/Compare (1-2) overcapture flag

`n` is number of field in register. `n == 0` corresponds to `CC1OF` field.
Source

pub fn ccof_iter(&self) -> impl Iterator<Item = CCOF_R> + '_

Iterator for array of: Capture/Compare (1-2) overcapture flag

Source

pub fn cc1of(&self) -> CCOF_R

Bit 9 - Capture/Compare 1 overcapture flag

Source

pub fn cc2of(&self) -> CCOF_R

Bit 10 - Capture/Compare 2 overcapture flag

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more