Struct gd32f1x0_hal::pac::timer1::chctl0_input::R
source · [−]pub struct R(_);
Expand description
Register CHCTL0_Input
reader
Implementations
sourceimpl R
impl R
sourcepub fn ch1capflt(&self) -> FieldReaderRaw<u8, CH0CAPFLT_A>
pub fn ch1capflt(&self) -> FieldReaderRaw<u8, CH0CAPFLT_A>
Bits 12:15 - Channel 1 input capture filter control
sourcepub fn ch1cappsc(&self) -> FieldReaderRaw<u8, CH0CAPPSC_A>
pub fn ch1cappsc(&self) -> FieldReaderRaw<u8, CH0CAPPSC_A>
Bits 10:11 - Channel 1 input capture prescaler
sourcepub fn ch0capflt(&self) -> FieldReaderRaw<u8, CH0CAPFLT_A>
pub fn ch0capflt(&self) -> FieldReaderRaw<u8, CH0CAPFLT_A>
Bits 4:7 - Channel 0 input capture filter control
sourcepub fn ch0cappsc(&self) -> FieldReaderRaw<u8, CH0CAPPSC_A>
pub fn ch0cappsc(&self) -> FieldReaderRaw<u8, CH0CAPPSC_A>
Bits 2:3 - Channel 0 input capture prescaler
Methods from Deref<Target = R<CHCTL0_INPUT_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_INPUT_SPEC>> for R
impl From<R<CHCTL0_INPUT_SPEC>> for R
sourcefn from(reader: R<CHCTL0_INPUT_SPEC>) -> R
fn from(reader: R<CHCTL0_INPUT_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