Type Alias R

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

Register CCMR2_Input reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cc3s(&self) -> CC3S_R

Bits 0:1 - Capture/Compare 3 selection

Source

pub fn icpsc(&self, n: u8) -> ICPSC_R

Input capture (3-4) prescaler

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

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

Iterator for array of: Input capture (3-4) prescaler

Source

pub fn ic3psc(&self) -> ICPSC_R

Bits 2:3 - Input capture 3 prescaler

Source

pub fn ic4psc(&self) -> ICPSC_R

Bits 10:11 - Input capture 4 prescaler

Source

pub fn icf(&self, n: u8) -> ICF_R

Input capture (3-4) filter

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

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

Iterator for array of: Input capture (3-4) filter

Source

pub fn ic3f(&self) -> ICF_R

Bits 4:7 - Input capture 3 filter

Source

pub fn ic4f(&self) -> ICF_R

Bits 12:15 - Input capture 4 filter

Source

pub fn cc4s(&self) -> CC4S_R

Bits 8:9 - Capture/Compare 4 selection

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more