Type Alias W

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

Register CCMR1_Output writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn ccs(&mut self, n: u8) -> CCS_W<'_, CCMR1_OUTPUTrs>

Capture/Compare (1-2) selection

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

pub fn cc1s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>

Bits 0:1 - Capture/Compare 1 selection

Source

pub fn cc2s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>

Bits 8:9 - Capture/Compare 2 selection

Source

pub fn ocfe(&mut self, n: u8) -> OCFE_W<'_, CCMR1_OUTPUTrs>

Output compare (1-2) fast enable

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

pub fn oc1fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>

Bit 2 - Output compare 1 fast enable

Source

pub fn oc2fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>

Bit 10 - Output compare 2 fast enable

Source

pub fn ocpe(&mut self, n: u8) -> OCPE_W<'_, CCMR1_OUTPUTrs>

Output compare (1-2) preload enable

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

pub fn oc1pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>

Bit 3 - Output compare 1 preload enable

Source

pub fn oc2pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>

Bit 11 - Output compare 2 preload enable

Source

pub fn ocm(&mut self, n: u8) -> OCM_W<'_, CCMR1_OUTPUTrs>

Output compare (1-2) mode

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

pub fn oc1m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>

Bits 4:6 - Output compare 1 mode

Source

pub fn oc2m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>

Bits 12:14 - Output compare 2 mode

Source

pub fn occe(&mut self, n: u8) -> OCCE_W<'_, CCMR1_OUTPUTrs>

Output compare (1-2) clear enable

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

pub fn oc1ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>

Bit 7 - Output compare 1 clear enable

Source

pub fn oc2ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>

Bit 15 - Output compare 2 clear enable