Type Alias R

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

Register CR2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ccpc(&self) -> CCPC_R

Bit 0 - Capture/compare preloaded control

Source

pub fn ccus(&self) -> CCUS_R

Bit 2 - Capture/compare control update selection

Source

pub fn ccds(&self) -> CCDS_R

Bit 3 - Capture/compare DMA selection

Source

pub fn mms(&self) -> MMS_R

Bits 4:6 - Master mode selection

Source

pub fn ti1s(&self) -> TI1S_R

Bit 7 - TI1 selection

Source

pub fn ois(&self, n: u8) -> OIS_R

Output Idle state (OC(1-4) output)

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

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

Iterator for array of: Output Idle state (OC(1-4) output)

Source

pub fn ois1(&self) -> OIS_R

Bit 8 - Output Idle state (OC1 output)

Source

pub fn ois2(&self) -> OIS_R

Bit 10 - Output Idle state (OC2 output)

Source

pub fn ois3(&self) -> OIS_R

Bit 12 - Output Idle state (OC3 output)

Source

pub fn ois4(&self) -> OIS_R

Bit 14 - Output Idle state (OC4 output)

Source

pub fn oisn(&self, n: u8) -> OISN_R

Output Idle state (OC(1-3)N output)

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

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

Iterator for array of: Output Idle state (OC(1-3)N output)

Source

pub fn ois1n(&self) -> OISN_R

Bit 9 - Output Idle state (OC1N output)

Source

pub fn ois2n(&self) -> OISN_R

Bit 11 - Output Idle state (OC2N output)

Source

pub fn ois3n(&self) -> OISN_R

Bit 13 - Output Idle state (OC3N output)

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more