pub struct R(_);
Expand description

Register CCER reader

Implementations

Bit 0 - Capture/Compare 1 output enable.

Bit 1 - Capture/Compare 1 output Polarity. When CC1 channel is configured as input, both CC1NP/CC1P bits select the active polarity of TI1FP1 and TI2FP1 for trigger or capture operations. CC1NP=0, CC1P=0: non-inverted/rising edge. The circuit is sensitive to TIxFP1 rising edge (capture or trigger operations in reset, external clock or trigger mode), TIxFP1 is not inverted (trigger operation in gated mode or encoder mode). CC1NP=0, CC1P=1: inverted/falling edge. The circuit is sensitive to TIxFP1 falling edge (capture or trigger operations in reset, external clock or trigger mode), TIxFP1 is inverted (trigger operation in gated mode or encoder mode). CC1NP=1, CC1P=1: non-inverted/both edges. The circuit is sensitive to both TIxFP1 rising and falling edges (capture or trigger operations in reset, external clock or trigger mode), TIxFP1is not inverted (trigger operation in gated mode). This configuration must not be used in encoder mode. CC1NP=1, CC1P=0: This configuration is reserved, it must not be used.

Bit 3 - Capture/Compare 1 output Polarity. CC1 channel configured as output: CC1NP must be kept cleared in this case. CC1 channel configured as input: This bit is used in conjunction with CC1P to define TI1FP1/TI2FP1 polarity. refer to CC1P description.

Bit 4 - Capture/Compare 2 output enable. Refer to CC1E description

Bit 5 - Capture/Compare 2 output Polarity. refer to CC1P description

Bit 7 - Capture/Compare 2 output Polarity. Refer to CC1NP description

Bit 8 - Capture/Compare 3 output enable. Refer to CC1E description

Bit 9 - Capture/Compare 3 output Polarity. Refer to CC1P description

Bit 11 - Capture/Compare 3 output Polarity. Refer to CC1NP description

Bit 12 - Capture/Compare 4 output enable. refer to CC1E description

Bit 13 - Capture/Compare 4 output Polarity. Refer to CC1P description

Bit 15 - Capture/Compare 4 output Polarity. Refer to CC1NP description

Methods from Deref<Target = R<CCER_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Converts to this type from the input type.

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.