Type Alias R

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

Register CCMR1_Input reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cc1s(&self) -> CC1S_R

Bits 0:1 - Capture/Compare 1 selection

Source

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

Input capture (1-2) prescaler

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

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

Iterator for array of: Input capture (1-2) prescaler

Source

pub fn ic1psc(&self) -> ICPSC_R

Bits 2:3 - Input capture 1 prescaler

Source

pub fn ic2psc(&self) -> ICPSC_R

Bits 10:11 - Input capture 2 prescaler

Source

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

Input capture (1-2) filter

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

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

Iterator for array of: Input capture (1-2) filter

Source

pub fn ic1f(&self) -> ICF_R

Bits 4:7 - Input capture 1 filter

Source

pub fn ic2f(&self) -> ICF_R

Bits 12:15 - Input capture 2 filter

Source

pub fn cc2s(&self) -> CC2S_R

Bits 8:9 - Capture/Compare 2 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