Type Alias R

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

Register CCER reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cce(&self, n: u8) -> CCE_R

Capture/Compare (1-4) output enable

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

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

Iterator for array of: Capture/Compare (1-4) output enable

Source

pub fn cc1e(&self) -> CCE_R

Bit 0 - Capture/Compare 1 output enable

Source

pub fn cc2e(&self) -> CCE_R

Bit 4 - Capture/Compare 2 output enable

Source

pub fn cc3e(&self) -> CCE_R

Bit 8 - Capture/Compare 3 output enable

Source

pub fn cc4e(&self) -> CCE_R

Bit 12 - Capture/Compare 4 output enable

Source

pub fn ccp(&self, n: u8) -> CCP_R

Capture/Compare (1-4) output Polarity

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

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

Iterator for array of: Capture/Compare (1-4) output Polarity

Source

pub fn cc1p(&self) -> CCP_R

Bit 1 - Capture/Compare 1 output Polarity

Source

pub fn cc2p(&self) -> CCP_R

Bit 5 - Capture/Compare 2 output Polarity

Source

pub fn cc3p(&self) -> CCP_R

Bit 9 - Capture/Compare 3 output Polarity

Source

pub fn cc4p(&self) -> CCP_R

Bit 13 - Capture/Compare 4 output Polarity

Source

pub fn ccnp(&self, n: u8) -> CCNP_R

Capture/Compare (1-4) output Polarity

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

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

Iterator for array of: Capture/Compare (1-4) output Polarity

Source

pub fn cc1np(&self) -> CCNP_R

Bit 3 - Capture/Compare 1 output Polarity

Source

pub fn cc2np(&self) -> CCNP_R

Bit 7 - Capture/Compare 2 output Polarity

Source

pub fn cc3np(&self) -> CCNP_R

Bit 11 - Capture/Compare 3 output Polarity

Source

pub fn cc4np(&self) -> CCNP_R

Bit 15 - Capture/Compare 4 output Polarity

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more