ST72F324BK6TAS STMicroelectronics, ST72F324BK6TAS Datasheet - Page 90

no-image

ST72F324BK6TAS

Manufacturer Part Number
ST72F324BK6TAS
Description
8-BIT MCU
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
90/198
Table 49.
Control Register 2 (CR2)
CR2
Bit
4
3
2
1
0
OC1E
R/W
7
FOLV2
FOLV1
OLVL2
IEDG1
OLVL1
Name
CR1 register description (continued)
Forced Output compare 2
Forced Output compare 1
Output Level 2
Input Edge 1
Output Level 1
OC2E
R/W
This bit is set and cleared by software.
0: No effect on the OCMP2 pin.
1: Forces the OLVL2 bit to be copied to the OCMP2 pin, if the OC2E bit is set and
even if there is no successful comparison.
This bit is set and cleared by software.
0: No effect on the OCMP1 pin.
1: Forces OLVL1 to be copied to the OCMP1 pin, if the OC1E bit is set and even if
there is no successful comparison.
This bit is copied to the OCMP2 pin whenever a successful comparison occurs with
the OC2R register and OCxE is set in the CR2 register. This value is copied to the
OCMP1 pin in One Pulse mode and Pulse Width modulation mode.
This bit determines which type of level transition on the ICAP1 pin will trigger the
capture.
0: A falling edge triggers the capture.
1: A rising edge triggers the capture.
The OLVL1 bit is copied to the OCMP1 pin whenever a successful comparison
occurs with the OC1R register and the OC1E bit is set in the CR2 register.
6
OPM
R/W
5
Doc ID13466 Rev 4
PWM
R/W
4
Function
3
CC[1:0]
R/W
2
Reset value: 0000 0000 (00h)
IEDG2
R/W
1
ST72324B-Auto
EXEDG
R/W
0

Related parts for ST72F324BK6TAS