Type Alias R

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

Register CCMR2_Output reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

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

Capture/Compare (3-4) selection

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

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

Iterator for array of: Capture/Compare (3-4) selection

Source

pub fn cc3s(&self) -> CCS_R

Bits 0:1 - Capture/Compare 3 selection

Source

pub fn cc4s(&self) -> CCS_R

Bits 8:9 - Capture/Compare 4 selection

Source

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

Output compare (3-4) fast enable

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

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

Iterator for array of: Output compare (3-4) fast enable

Source

pub fn oc3fe(&self) -> OCFE_R

Bit 2 - Output compare 3 fast enable

Source

pub fn oc4fe(&self) -> OCFE_R

Bit 10 - Output compare 4 fast enable

Source

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

Output compare (3-4) preload enable

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

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

Iterator for array of: Output compare (3-4) preload enable

Source

pub fn oc3pe(&self) -> OCPE_R

Bit 3 - Output compare 3 preload enable

Source

pub fn oc4pe(&self) -> OCPE_R

Bit 11 - Output compare 4 preload enable

Source

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

Output compare (3-4) mode

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

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

Iterator for array of: Output compare (3-4) mode

Source

pub fn oc3m(&self) -> OCM_R

Bits 4:6 - Output compare 3 mode

Source

pub fn oc4m(&self) -> OCM_R

Bits 12:14 - Output compare 4 mode

Source

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

Output compare (3-4) clear enable

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

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

Iterator for array of: Output compare (3-4) clear enable

Source

pub fn oc3ce(&self) -> OCCE_R

Bit 7 - Output compare 3 clear enable

Source

pub fn oc4ce(&self) -> OCCE_R

Bit 15 - Output compare 4 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