Type Alias R

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

Register CCMR1_Output reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ccs(&self, n: u8) -> CCS_R

Capture/Compare (1-2) selection

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

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

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

Source

pub fn cc1s(&self) -> CCS_R

Bits 0:1 - Capture/Compare 1 selection

Source

pub fn cc2s(&self) -> CCS_R

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn ocfe(&self, n: u8) -> OCFE_R

Output compare (1-2) fast enable

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

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

Iterator for array of: Output compare (1-2) fast enable

Source

pub fn oc1fe(&self) -> OCFE_R

Bit 2 - Output compare 1 fast enable

Source

pub fn oc2fe(&self) -> OCFE_R

Bit 10 - Output compare 2 fast enable

Source

pub fn ocpe(&self, n: u8) -> OCPE_R

Output compare (1-2) preload enable

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

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

Iterator for array of: Output compare (1-2) preload enable

Source

pub fn oc1pe(&self) -> OCPE_R

Bit 3 - Output compare 1 preload enable

Source

pub fn oc2pe(&self) -> OCPE_R

Bit 11 - Output compare 2 preload enable

Source

pub fn ocm(&self, n: u8) -> OCM_R

Output compare (1-2) mode

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

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

Iterator for array of: Output compare (1-2) mode

Source

pub fn oc1m(&self) -> OCM_R

Bits 4:6 - Output compare 1 mode

Source

pub fn oc2m(&self) -> OCM_R

Bits 12:14 - Output compare 2 mode

Source

pub fn occe(&self, n: u8) -> OCCE_R

Output compare (1-2) clear enable

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

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

Iterator for array of: Output compare (1-2) clear enable

Source

pub fn oc1ce(&self) -> OCCE_R

Bit 7 - Output compare 1 clear enable

Source

pub fn oc2ce(&self) -> OCCE_R

Bit 15 - Output compare 2 clear enable

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more