Struct gd32f1x0_hal::pac::timer1::chctl1_output::R
source · [−]pub struct R(_);
Expand description
Register CHCTL1_Output
reader
Implementations
sourceimpl R
impl R
sourcepub fn ch3comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
pub fn ch3comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
Bit 15 - Channel 3 output compare clear enable
sourcepub fn ch3comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
pub fn ch3comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
Bits 12:14 - Channel 3 compare output control
sourcepub fn ch3comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
pub fn ch3comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
Bit 11 - Channel 3 compare output control
sourcepub fn ch3comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
pub fn ch3comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
Bit 10 - Channel 3 output compare fast enable
sourcepub fn ch2comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
pub fn ch2comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
Bit 7 - Channel 2 output compare clear enable
sourcepub fn ch2comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
pub fn ch2comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
Bits 4:6 - Channel 2 compare output control
sourcepub fn ch2comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
pub fn ch2comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
Bit 3 - Channel 2 output compare shadow enable
sourcepub fn ch2comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
pub fn ch2comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
Bit 2 - Channel 2 output compare fast enable
Methods from Deref<Target = R<CHCTL1_OUTPUT_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<CHCTL1_OUTPUT_SPEC>> for R
impl From<R<CHCTL1_OUTPUT_SPEC>> for R
sourcefn from(reader: R<CHCTL1_OUTPUT_SPEC>) -> R
fn from(reader: R<CHCTL1_OUTPUT_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more