ST72321R6 STMicroelectronics, ST72321R6 Datasheet - Page 87

no-image

ST72321R6

Manufacturer Part Number
ST72321R6
Description
8-BIT MCU WITH NESTED INTERRUPTS, FLASH,10-BIT ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72321R6

Hdflash Endurance
100 cycles, data retention
Clock Sources
crystal/ceramic resonator oscillators, internal RC oscillator, clock security system and bypass for external clock
Four Power Saving Modes
Halt, Active-Halt,Wait and Slow
Main Clock Controller With
Real time base, Beep and Clock-out capabilities
Two 16-bit Timers With
2 input captures, 2 output compares, external clock input on one timer, PWM and pulse generator modes
8-bit Pwm Auto-reload Timer With
2 input captures, 4 PWM outputs, output compare and time base interrupt, external clock with event detector
16-BIT TIMER (Cont’d)
Table 18. 16-Bit Timer Register Map and Reset Values
Related Documentation
AN 973: SCI software communications using 16-
bit timer
AN 974: Real Time Clock with ST7 Timer Output
Compare
AN 976: Driving a buzzer through the ST7 Timer
PWM function
Timer A: 3C
Timer B: 4C
Timer A: 3D
Timer B: 4D
Timer A: 3E
Timer B: 4E
Timer A: 3F
Timer B: 4F
Timer A: 3A
Timer B: 4A
Timer A: 3B
Timer B: 4B
Timer A: 32
Timer B: 42
Timer A: 31
Timer B: 41
Timer A: 33
Timer B: 43
Timer A: 34
Timer B: 44
Timer A: 35
Timer B: 45
Timer A: 36
Timer B: 46
Timer A: 37
Timer B: 47
Timer A: 38
Timer B: 48
Timer A: 39
Timer B: 49
Address
(Hex.)
CR1
Reset Value
CR2
Reset Value
CSR
Reset Value
IC1HR
Reset Value
IC1LR
Reset Value
OC1HR
Reset Value
OC1LR
Reset Value
OC2HR
Reset Value
OC2LR
Reset Value
CHR
Reset Value
CLR
Reset Value
ACHR
Reset Value
ACLR
Reset Value
IC2HR
Reset Value
IC2LR
Reset Value
Register
Label
OC1E
ICF1
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
ICIE
7
0
0
x
x
x
1
0
1
0
1
1
1
1
x
x
OC2E
OCF1
OCIE
6
0
0
0
0
0
0
1
1
1
1
x
x
x
x
x
TOIE
OPM
TOF
5
0
0
0
0
0
0
1
1
1
1
x
x
x
x
x
AN1041: Using ST7 PWM signal to generate ana-
log input (sinusoid)
AN1046: UART emulation software
AN1078: PWM duty cycle switch implementing
true 0 or 100 per cent duty cycle
AN1504: Starting a PWM signal directly at high
level using the ST7 16-Bit timer
FOLV2
PWM
ICF2
4
0
0
0
0
0
0
1
1
x
x
x
x
x
1
1
ST72321Rx ST72321ARx ST72321Jx
FOLV1
OCF2
CC1
3
0
0
0
0
0
0
1
1
x
x
x
x
x
1
1
OLVL2
TIMD
CC0
2
0
0
0
x
x
0
0
0
0
1
1
x
x
1
1
IEDG1
IEDG2
1
0
0
x
x
x
0
0
0
0
1
0
0
x
x
-
1
EXEDG
OLVL1
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
87/193
0
0
0
0
0
0
0
1
0
1
0
x
x
x
x
x
-

Related parts for ST72321R6