ST72321AR6-Auto STMicroelectronics, ST72321AR6-Auto Datasheet - Page 114

no-image

ST72321AR6-Auto

Manufacturer Part Number
ST72321AR6-Auto
Description
8-bit MCU for automotive with 32 Kbyte Flash, 10-bit ADC, timers, SPI, SCI and I2C interfaces
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72321AR6-Auto

Hdflash Endurance
100 cycles, data retention 20 years
Clock Sources
crystal/ceramic resonator oscillators, internal RC oscillator and bypass for external clock
4 Power Saving Modes
Halt, Active Halt, Wait and Slow
16-bit timer
13.7.2
114/243
Table 59.
Control register 2 (CR2)
Table 60.
CR2
Bit
Bit
3
2
1
0
7
6
OC1E
RW
7
FOLV1
OLVL2
IEDG1
OLVL1
Name
Name
OC1E
OC2E
CR1 register description (continued)
CR2 register description
Forced Output Compare 1
Output Level 2
Input Edge 1
Output Level 1
Output Compare 1 Pin Enable
Output Compare 2 Pin Enable
OC2E
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.
RW
This bit is used only to output the signal from the timer on the OCMP1 pin (OLV1 in
Output Compare mode, both OLV1 and OLV2 in PWM and one-pulse mode).
Whatever the value of the OC1E bit, the Output Compare 1 function of the timer
remains active.
0: OCMP1 pin alternate function disabled (I/O pin free for general-purpose I/O)
1: OCMP1 pin alternate function enabled
This bit is used only to output the signal from the timer on the OCMP2 pin (OLV2 in
Output Compare mode). Whatever the value of the OC2E bit, the Output Compare
2 function of the timer remains active.
0: OCMP2 pin alternate function disabled (I/O pin free for general-purpose I/O)
1: OCMP2 pin alternate function enabled
6
OPM
RW
5
Doc ID 13829 Rev 1
PWM
RW
4
Function
Function
3
CC[1:0]
RW
2
Reset value: 0000 0000 (00h)
IEDG2
RW
1
ST72321xx-Auto
EXEDG
RW
0

Related parts for ST72321AR6-Auto