CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
333
User’s Manual U14492EJ3V0UD
(4) Interrupt signal output upon compare match
An interrupt signal is output when the count value of TM1n matches the set value of the CM1n0, CM1n1,
CC1n0
Note
, or CC1n1
Note
register. The interrupt generation timing is as follows.
Note
When CC1n0 and CC1n1 are set to the compare register mode.
Figure 9-60. Interrupt Output upon Compare Match
(CM1n1 with Operation Mode Set to General-Purpose Timer Mode and Count Clock Set to f
CLK
/2)
Count clock
f
CLK
CM1n1
0007H
TM1n
Internal match signal
INTCM1n1
0008H
000BH
0009H
0009H
000AH
Remarks 1.
n = 0, 1
2.
f
CLK
: Base clock
An interrupt signal such as illustrated in Figure 9-60 is output at the next count following match of the TM1n
count value and the set value of a corresponding compare register.
(5) TM1UBDn flag (bit 0 of STATUSn register) operation
In the UDC mode (CMD bit of TUMn register = 1), the TM1UBDn flag changes as follows during TM1n
up/down count operation at every internal operation clock.
Figure 9-61. TM1UBDn Flag Operation
Count clock
TM1UBDn
0001H
0000H
TM1n
0000H
0001H
0001H
0000H
Remark
n = 0, 1
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...