pub type W = W<CCMR1_OUTPUTrs>;
Expand description
Register CCMR1_Output
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn ccs(&mut self, n: u8) -> CCS_W<'_, CCMR1_OUTPUTrs>
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.
Sourcepub fn cc1s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>
pub fn cc1s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>
Bits 0:1 - Capture/Compare 1 selection
Sourcepub fn cc2s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>
pub fn cc2s(&mut self) -> CCS_W<'_, CCMR1_OUTPUTrs>
Bits 8:9 - Capture/Compare 2 selection
Sourcepub fn ocfe(&mut self, n: u8) -> OCFE_W<'_, CCMR1_OUTPUTrs>
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.
Sourcepub fn oc1fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>
pub fn oc1fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>
Bit 2 - Output compare 1 fast enable
Sourcepub fn oc2fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>
pub fn oc2fe(&mut self) -> OCFE_W<'_, CCMR1_OUTPUTrs>
Bit 10 - Output compare 2 fast enable
Sourcepub fn ocpe(&mut self, n: u8) -> OCPE_W<'_, CCMR1_OUTPUTrs>
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.
Sourcepub fn oc1pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>
pub fn oc1pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>
Bit 3 - Output compare 1 preload enable
Sourcepub fn oc2pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>
pub fn oc2pe(&mut self) -> OCPE_W<'_, CCMR1_OUTPUTrs>
Bit 11 - Output compare 2 preload enable
Sourcepub fn ocm(&mut self, n: u8) -> OCM_W<'_, CCMR1_OUTPUTrs>
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.
Sourcepub fn oc1m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>
pub fn oc1m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>
Bits 4:6 - Output compare 1 mode
Sourcepub fn oc2m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>
pub fn oc2m(&mut self) -> OCM_W<'_, CCMR1_OUTPUTrs>
Bits 12:14 - Output compare 2 mode
Sourcepub fn occe(&mut self, n: u8) -> OCCE_W<'_, CCMR1_OUTPUTrs>
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.
Sourcepub fn oc1ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>
pub fn oc1ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>
Bit 7 - Output compare 1 clear enable
Sourcepub fn oc2ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>
pub fn oc2ce(&mut self) -> OCCE_W<'_, CCMR1_OUTPUTrs>
Bit 15 - Output compare 2 clear enable