Struct gd32f1x0_hal::pac::timer1::chctl0_output::R
source · [−]pub struct R(_);
Expand description
Register CHCTL0_Output
reader
Implementations
sourceimpl R
impl R
sourcepub fn ch1comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
pub fn ch1comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
Bit 15 - Channel 1 output compare clear enable
sourcepub fn ch1comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
pub fn ch1comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
Bits 12:14 - Channel 1 output compare mode
sourcepub fn ch1comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
pub fn ch1comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
Bit 11 - Channel 1 output compare shadow enable
sourcepub fn ch1comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
pub fn ch1comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
Bit 10 - Channel 1 output compare fast enable
sourcepub fn ch0comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
pub fn ch0comcen(&self) -> BitReaderRaw<CH0COMCEN_A>
Bit 7 - Channel 0 output compare clear enable
sourcepub fn ch0comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
pub fn ch0comctl(&self) -> FieldReaderRaw<u8, CH0COMCTL_A>
Bits 4:6 - Channel 0 compare output control
sourcepub fn ch0comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
pub fn ch0comsen(&self) -> BitReaderRaw<CH0COMSEN_A>
Bit 3 - Channel 0 output compare shadow enable
sourcepub fn ch0comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
pub fn ch0comfen(&self) -> BitReaderRaw<CH0COMFEN_A>
Bit 2 - Channel 0 output compare fast enable
Methods from Deref<Target = R<CHCTL0_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<CHCTL0_OUTPUT_SPEC>> for R
impl From<R<CHCTL0_OUTPUT_SPEC>> for R
sourcefn from(reader: R<CHCTL0_OUTPUT_SPEC>) -> R
fn from(reader: R<CHCTL0_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