General-purpose timers (TIM15/16/17)
Bits 15:4 Reserved, must be kept at reset value.
Bit 3 CC1NP: Capture/Compare 1 complementary output polarity
Note: This bit is not writable as soon as LOCK level 2 or 3 has been programmed (LOCK bits
Bit 2 CC1NE: Capture/Compare 1 complementary output enable
Bit 1 CC1P: Capture/Compare 1 output polarity
Note: This bit is not writable as soon as LOCK level 2 or 3 has been programmed (LOCK bits
Bit 0 CC1E: Capture/Compare 1 output enable
446/709
0: OC1N active high
1: OC1N active low
in TIMx_BDTR register) and CC1S="00" (the channel is configured in output).
0: Off - OC1N is not active. OC1N level is then function of MOE, OSSI, OSSR, OIS1, OIS1N
and CC1E bits.
1: On - OC1N signal is output on the corresponding output pin depending on MOE, OSSI,
OSSR, OIS1, OIS1N and CC1E bits.
CC1 channel configured as output:
0: OC1 active high
1: OC1 active low
CC1 channel configured as input:
The CC1NP/CC1P bits select the polarity of TI1FP1 and TI2FP1 for capture operation.
00: Non-inverted/rising edge: circuit is sensitive to TIxFP1's rising edge TIxFP1 is not
inverted.
01: Inverted/falling edge: circuit is sensitive to TIxFP1's falling edge, TIxFP1 is inverted.
10: Reserved, do not use this configuration.
11: Non-inverted/both edges: circuit is sensitive to both the rising and falling edges of
TIxFP1, TIxFP1 is not inverted.
in TIMx_BDTR register)
CC1 channel configured as output:
0: Off - OC1 is not active. OC1 level is then function of MOE, OSSI, OSSR, OIS1, OIS1N
and CC1NE bits.
1: On - OC1 signal is output on the corresponding output pin depending on MOE, OSSI,
OSSR, OIS1, OIS1N and CC1NE bits.
CC1 channel configured as input:
This bit determines if a capture of the counter value can actually be done into the input
capture/compare register 1 (TIMx_CCR1) or not.
0: Capture disabled
1: Capture enabled
RM0041 Rev 6
RM0041
Need help?
Do you have a question about the STM32F100 Series and is the answer not in the manual?
Questions and answers