English
Language : 

M30222 Datasheet, PDF (83/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
deUvnedloepr ment
Specifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Timer A
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Real-time port control register (Note)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
RTP
Address
03FF16
When reset
XXXX0000 2
Bit symbol
RTP0
RTP1
RTP2
RTP3
RTP4
RTP5
RTP6
RTP7
Bit name
P30 , P31 real-time port
mode select bit
P32, P33 real-time port
mode select bit
P34, P35 real-time port
mode select bit
P36, P37 real-time port
mode select bit
P40, P41 real-time port
mode select bit
P42, P43 real-time port
mode select bit
P44, P45 real-time port
mode select bit
P46, P47 real-time port
mode select bit
Function
RW
The corresponding ports of
output is controlled
0 : Ordinary port output
1 : Real-time port output O O
OO
OO
OO
Note: The corresponding port direction register is invalid
Figure 1.59. Real-time port control register
Start count
Underflow
Underflow
“1”
Timer Ai. Count start flag
“0”
“1”
Timer Ai interrupt
request bit “0”
(i=0, 1, 5, 6)
Real time port output
5516
AA16
Writing to port Pm register
(m=0, 1, 2, 12)
Value to port Pm (example)
5516
AA16
Note : After a reset, the value of the real time port latch is “00”.
The value of the real time port latch changes irrespective of the real time
port mode select bit as the value of the port Pm register is updated by
an underflow of the corresponding timer
Figure 1.60. Timing in Real-time port output operation
1-84