568
Chapter 12
16-bit 2-Phase Encoder Input Up/Down Counter/General Purpose Timer (TMENC10)
User’s Manual U16580EE3V1UD00
12.6.4 Interrupt signal output upon compare match
An interrupt signal is output when the count value of TMENC10 matches the set value of the CM100,
CM101, CC10
Note
, or CC11
Note
register. The interrupt generation timing is as follows.
Note:
When CC100 and CC101 are set to the compare register mode.
Figure 12-27:
Interrupt Output upon Compare Match (CM101 with Operation Mode
set to General-Purpose Timer Mode and Count Clock Set to f
XX
/8)
Remark:
f
CLK
: Base clock
An interrupt signal such as illustrated in Figure 12-27 is output at the next count following match of the
TMENC10 count value and the set value of a corresponding compare register.
12.6.5 TM1UBD flag (bit 0 of STATUS register) operation
In the UDC mode (CMD bit of TUM register = 1), the TM1UBD flag changes as follows during
TMENC10 up/down count operation at every internal operation clock.
Figure 12-28:
TM1UBDn Flag Operation
Count clock
f
XX
/4
CM11
0007H
TMENC1
Internal match signal
INTCM11
0008H
000BH
0009H
0009H
000AH
Count clock
TM1UBD
0001H
0000H
TMENC1
0000H
0001H
0001H
0000H
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......