
16-bit timer ST72321xx-Auto
120/243 Doc ID 13829 Rev 1
Related documentation
SCI software communications using 16-bit timer (AN 973)
Real-time Clock with ST7 Timer Output Compare (AN 974)
Driving a buzzer through the ST7 Timer PWM function (AN 976)
Using ST7 PWM signal to generate analog input (sinusoid) (AN1041)
UART emulation software (AN1046)
PWM duty cycle switch implementing true 0 or 100 per cent duty cycle (AN1078)
Starting a PWM signal directly at high level using the ST7 16-bit timer (AN1504)
Table 63. 16-bit timer register map and reset values
Address
(Hex.)
Register
label
76543210
Timer A: 32
Timer B: 42
CR1
Reset value
ICIE
0
OCIE
0
TOIE
0
FOLV2
0
FOLV1
0
OLVL2
0
IEDG1
0
OLVL1
0
Timer A: 31
Timer B: 41
CR2
Reset value
OC1E
0
OC2E
0
OPM
0
PWM
0
CC1
0
CC0
0
IEDG2
0
EXEDG
0
Timer A: 33
Timer B: 43
CSR
Reset value
ICF1
x
OCF1
x
TOF
x
ICF2
x
OCF2
x
TIMD
0
-
x
-
x
Timer A: 34
Timer B: 44
IC1HR
Reset value
MSB
xxxxxxx
LSB
x
Timer A: 35
Timer B: 45
IC1LR
Reset value
MSB
xxxxxxx
LSB
x
Timer A: 36
Timer B: 46
OC1HR
Reset value
MSB
1000000
LSB
0
Timer A: 37
Timer B: 47
OC1LR
Reset value
MSB
0000000
LSB
0
Timer A: 3E
Timer B: 4E
OC2HR
Reset value
MSB
1000000
LSB
0
Timer A: 3F
Timer B: 4F
OC2LR
Reset value
MSB
0000000
LSB
0
Timer A: 38
Timer B: 48
CHR
Reset value
MSB
1111111
LSB
1
Timer A: 39
Timer B: 49
CLR
Reset value
MSB
1111110
LSB
0
Timer A: 3A
Timer B: 4A
ACHR
Reset value
MSB
1111111
LSB
1
Timer A: 3B
Timer B: 4B
ACLR
Reset value
MSB
1111110
LSB
0
Timer A: 3C
Timer B: 4C
IC2HR
Reset value
MSB
xxxxxxx
LSB
x
Timer A: 3D
Timer B: 4D
IC2LR
Reset value
MSB
xxxxxxx
LSB
x
Komentáře k této Příručce