![](http://datasheet.mmic.net.cn/230000/7540_datasheet_15567442/7540_328.png)
7540 Group User
’
s Manual
3-107
APPENDIX
3.5 List of registers
Fig. 3.5.18 Structure of Timer Y, Z waveform output control register
Fig. 3.5.17 Structure of Timer Y primary, Timer Z primary
b7 b6 b5 b4 b3 b2 b1 b0
B
0
Function
At reset
R W
1
1
2
3
4
5
6
7
1
1
1
1
1
1
1
Timer Y primary, Timer Z primary
Timer Y primary, Timer Z primary (TYP, TZP) [Address : 23
16
, 27
16
]
Set a count value of the corresponding timer.
When the corresponding timer is stopped, the value set in this
register is written to both the corresponding primary latch and
the corresponding timer at the same time.
When the corresponding timer is operating, the value set in this
register is written as follows;
timer write control bit = 0:
the value is written to both the corresponding primary latch and
the corresponding timer at the same time.
timer write control bit = 1:
the value is written to the corresponding primary latch.
When these bits are read out, the count value of the corres-
ponding timer is read out (Note).
Note:
The primary count value is read out at the primary interval, the secondary count
value is read out at the secondary interval.
Timer Y, Z waveform output control register
b7 b6 b5 b4 b3 b2 b1 b0
B
0
Function
At reset
R W
0
1
2
3
4
5
6
7
Name
0
0
0
0
0
0
0
Timer Y primary waveform
extension control bit
Timer Y secondary waveform
extension control bit
Timer Z primary waveform
extension control bit
Timer Z secondary waveform
extension control bit
Timer Y output level latch
Timer Z output level latch
0 : Falling edge trigger
1 : Rising edge trigger
Timer Y, Z waveform output control register (PUM) [Address : 24
16
]
INT
0
pin one-shot trigger
control bit (
Note
)
INT
0
pin one-shot trigger active
edge selection bit (
Note
)
0 : Waveform not extended
1 : Waveform extended
0 : Waveform not extended
1 : Waveform extended
0 : Waveform not extended
1 : Waveform extended
0 : Waveform not extended
1 : Waveform extended
0 :
“
L
”
output
1 :
“
H
”
output
0 :
“
L
”
output
1 :
“
H
”
output
0 : INT
0
pin one-shot trigger invalid
1 : INT
0
pin one-shot trigger valid
Note:
Stop timer Z to change the values of these bits.