Struct stm32mp1::stm32mp157::tim14::tim14_ccmr1::TIM14_CCMR1_SPEC
source · [−]pub struct TIM14_CCMR1_SPEC;
Expand description
The channels can be used in input (capture mode) or in output (compare mode). The direction of a channel is defined by configuring the corresponding CCxS bits. All the other bits of this register have a different function in input and in output mode. For a given bit, OCxx describes its function when the channel is configured in output, ICxx describes its function when the channel is configured in input. So one must take care that the same bit can have a different meaning for the input stage and for the output stage. Output compare mode
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see tim14_ccmr1 module
Trait Implementations
sourceimpl Readable for TIM14_CCMR1_SPEC
impl Readable for TIM14_CCMR1_SPEC
read()
method returns tim14_ccmr1::R reader structure
sourceimpl RegisterSpec for TIM14_CCMR1_SPEC
impl RegisterSpec for TIM14_CCMR1_SPEC
sourceimpl Resettable for TIM14_CCMR1_SPEC
impl Resettable for TIM14_CCMR1_SPEC
reset()
method sets TIM14_CCMR1 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for TIM14_CCMR1_SPEC
impl Writable for TIM14_CCMR1_SPEC
write(|w| ..)
method takes tim14_ccmr1::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for TIM14_CCMR1_SPEC
impl Send for TIM14_CCMR1_SPEC
impl Sync for TIM14_CCMR1_SPEC
impl Unpin for TIM14_CCMR1_SPEC
impl UnwindSafe for TIM14_CCMR1_SPEC
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