Electronics America 8-Bit Single-Chip Microcontrollers User's Manual

481
CHAPTER 20 REAL-TIME OUTPUT PORT
(3) Real-time output port control register (RTPC)
This register sets the real-time output port operating mode and output trigger.
Table 20-3 shows the relation between the operating mode of the real-time output port and output trigger.
RTPC is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 00H.
Figure 20-5. Real-time Output Port Control Register Format
Table 20-3. Real-time Output Port Operating Mode and Output Trigger
BYTE EXTR Operating Mode RTBH Port Output RTBL Port Output
0 INTTM2 INTTM1
1 INTTM1 INTP2
0 INTTM1
1 INTP2
7
0
Symbol
RTPC
6
0
5
0
4
0
3
0
2
0
<1>
BYTE
<0>
EXTR
Address
FF36H 00H
After
Reset
R/W
R/W
EXTR
0
1
Real-time Output Control by INTP2
INTP2 not specified as real-time output trigger
INTP2 specified as real-time output trigger
BYTE
0
1
Real-time Output Port Operating Mode
4 Bits × 2 Channels
8 Bits × 1 Channel
4 Bits × 2 Channels
8 Bits × 1 Channel
0
1