EasyManua.ls Logo

ST STM32G474

ST STM32G474
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
General-purpose timers (TIM15/TIM16/TIM17) RM0440
1430/2126 RM0440 Rev 4
Bit 2 CC1NE: Capture/Compare 1 complementary output enable
0:Off - tim_oc1n is not active. tim_oc1n level is then function of MOE, OSSI, OSSR, OIS1,
OIS1N and CC1E bits.
1:On - tim_oc1n signal is output on the corresponding output pin depending on MOE, OSSI,
OSSR, OIS1, OIS1N and CC1E bits.
Bit 1 CC1P: Capture/Compare 1 output polarity
CC1 channel configured as output:
0: tim_oc1 active high
1: tim_oc1 active low
CC1 channel configured as input:
The CC1NP/CC1P bits select the polarity of tim_ti1fp1 for trigger or capture operations.
00: Non-inverted/rising edge. The circuit is sensitive to tim_ti1fp1 rising edge (capture or
trigger operations in reset, external clock or trigger mode), tim_ti1fp1 is not inverted
(trigger operation in gated mode).
01: Inverted/falling edge. The circuit is sensitive to tim_ti1fp1 falling edge (capture or trigger
operations in reset, external clock or trigger mode), tim_ti1fp1 is inverted (trigger
operation in gated mode.
10: Reserved
11: Non-inverted/both edges. The circuit is sensitive to both tim_ti1fp1 rising and falling
edges (capture or trigger operations in reset, external clock or trigger mode), tim_ti1fp1
is not inverted (trigger operation in gated mode).
Note: 1. This bit is not writable as soon as LOCK level 2 or 3 has been programmed (LOCK
bits in TIMx_BDTR register).
2. On channels that have a complementary output, this bit is preloaded. If the CCPC bit
is set in the TIMx_CR2 register then the CC1P active bit takes the new value from the
preloaded bit only when a Commutation event is generated.
Bit 0 CC1E: Capture/Compare 1 output enable
CC1 channel configured as output:
0:Off - tim_oc1 is not active. tim_oc1 level is then function of MOE, OSSI, OSSR, OIS1,
OIS1N and CC1NE bits.
1:On - tim_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

Table of Contents

Related product manuals