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

read() method returns tim2_ccmr2alternate18::R reader structure

Result from a call to read and argument to modify.

Raw register type (u8, u16, u32, …).

reset() method sets TIM2_CCMR2ALTERNATE18 to value 0

Reset value of the register.

write(|w| ..) method takes tim2_ccmr2alternate18::W writer structure

Writer type argument to write, et al.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.