553
Chapter 12
16-bit 2-Phase Encoder Input Up/Down Counter/General Purpose Timer (TMENC10)
User’s Manual U16580EE3V1UD00
(6)
Status register 10 (STATUS10)
The STATUS10 register indicates the operating status of TMENC10.
This register is read-only in 8-bit or 1-bit units.
Reset input clears this register to 00H.
Caution:
Overwriting the STATUS10 register during TMENC10 operation (TM1CE bit = 1) is pro-
hibited.
Figure 12-12:
Status Register 10 (STATUS10)
After reset:
00H
R/W
Address:
FFFFF6BFH
7
6
5
4
3
2
1
0
STATUS10
0
0
0
0
0
TM1UDF
TM1OVF
TM1UBD
TM1UDF
TMENC10 Underflow Flag
0
No TMENC10 count underflow
1
TMENC10 count underflow
The TM1UDF bit is cleared (0) upon completion of read access to the STATUS10 register
from the CPU.
TM1OVF
TMENC10 Overflow Flag
0
No TMENC10 count overflow
1
TMENC10 count overflow
The TM1OVF bit is cleared (0) upon completion of read access to the STATUS10 register
from the CPU.
TM1UBD
TMENC10 Up/Down Counter Operation Status
0
TMENC10 up count in progress
1
TMENC10 down count in progress
The state of the TM1UBD bit differs according to the mode as follows.
•
The TM1UBD bit is fixed to 0 when the CMD bit of the TUM10 register = 0 (general-
purpose timer mode).
•
The TM1UBD bit indicates the TMENC10 up/down count status when the CMD bit of
the TUM register = 1 (UDC mode)
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: ......