pub struct TIM2_CCMR2ALTERNATE18_SPEC;
Expand description
The same register can be used for input capture mode (this section) or for output compare mode (next section). The direction of a channel is defined by configuring the corresponding CCxS bits. All the other bits of this register have a different function for input capture and for output compare modes. It is possible to combine both modes independently (e.g. channel 1 in input capture mode and channel 2 in output compare mode). Input capture mode:
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see tim2_ccmr2alternate18 module
Trait Implementations
sourceimpl Readable for TIM2_CCMR2ALTERNATE18_SPEC
impl Readable for TIM2_CCMR2ALTERNATE18_SPEC
read()
method returns tim2_ccmr2alternate18::R reader structure
sourceimpl Resettable for TIM2_CCMR2ALTERNATE18_SPEC
impl Resettable for TIM2_CCMR2ALTERNATE18_SPEC
reset()
method sets TIM2_CCMR2ALTERNATE18 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for TIM2_CCMR2ALTERNATE18_SPEC
impl Writable for TIM2_CCMR2ALTERNATE18_SPEC
write(|w| ..)
method takes tim2_ccmr2alternate18::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for TIM2_CCMR2ALTERNATE18_SPEC
impl Send for TIM2_CCMR2ALTERNATE18_SPEC
impl Sync for TIM2_CCMR2ALTERNATE18_SPEC
impl Unpin for TIM2_CCMR2ALTERNATE18_SPEC
impl UnwindSafe for TIM2_CCMR2ALTERNATE18_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