CHAPTER 13 REAL-TIME OUTPUT FUNCTION (RTO)
User’s Manual U13850EJ4V0UM
371
Table 13-2. Operation When Real-Time Output Buffer Registers Are Manipulated
Read
Note 1
Write
Note 2
Operation Mode
Register to Be Manipulated
Higher 4 bits
Lower 4 bits
Higher 4 bits
Lower 4 bits
RTBL
RTBH
RTBL
Invalid
RTBL
4 bits
×
2 channels
RTBH
RTBH
RTBL
RTBH
Invalid
RTBL
RTBH
RTBL
RTBH
RTBL
8 bits
×
1 channel
RTBH
RTBH
RTBL
RTBH
RTBL
Notes 1.
Only the bits set in the real-time output port mode (RTPM) can be read. If a bit set in the port mode is
read, 0 is read.
2.
Set output data to RTBL and RTBH after setting the real-time output port until the real-time output
trigger is generated.
13.3 RTO Control Registers
RTO is controlled by using the following two types of registers.
•
Real-time output port mode register (RTPM)
•
Real-time output port control register (RTPC)
(1) Real-time output port mode register (RTPM)
This register selects real-time output port mode or port mode in 1-bit units.
RTPM is set by an 8-/1-bit memory manipulation instruction.
RESET input clears RTPM to 00H.
Figure 13-3. Format of Real-Time Output Port Mode Register (RTPM)
After reset: 00H
R/W
Address: FFFFF3A4H
7
6
5
4
3
2
1
0
RTPM
RTPM7
RTPM6
RTPM5
RTPM4
RTPM3
RTPM2
RTPM1
RTPM0
RTPMn
Selection of real-time output port (n = 0 to 7)
0
Port mode
1
Real-time output port mode
Cautions 1. Set a port pin to the output mode when it is used as a real-time output port pin.
2. Data cannot be set to the output latch for a port pin set as a real-time output port pin. To set
an initial value, therefore, set the data to the output latch before setting the port pin to the
real-time output port mode.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...