CHAPTER 13 REAL-TIME OUTPUT FUNCTION (RTO)
User’s Manual U16890EJ1V0UD
405
Table 13-2. Operation During Manipulation of RTBL0 and RTBH0 Registers
Read
Write
Note
Operation Mode
Register to Be
Manipulated
Higher 4 bits
Lower 4 bits
Higher 4 bits
Lower 4 bits
RTBL0
RTBH0
RTBL0
Invalid
RTBL0
4 bits
×
1 channel, 2 bits
×
1 channel
RTBH0
RTBH0
RTBL0
RTBH0
Invalid
RTBL0
RTBH0
RTBL0
RTBH0
RTBL0
6 bits
×
1 channel
RTBH0
RTBH0
RTBL0
RTBH0
RTBL0
Note
After setting the real-time output port, set output data to the RTBL0 and RTBH0 registers by the time a real-
time output trigger is generated.
13.3 Registers
RTO is controlled using the following two types of registers.
Real-time output port mode register 0 (RTPM0)
Real-time output port control register 0 (RTPC0)
(1) Real-time output port mode register 0 (RTPM0)
This register selects the real-time output port mode or port mode in 1-bit units.
The RTPM0 register can be read or written in 8-bit or 1-bit units.
After reset, RTPM0 is cleared to 00H.
After reset: 00H R/W Address: FFFFF6E4H
0
RTPM0m
0
1
Real-time output disabled
Real-time output enabled
Control of real-time output port (m = 0 to 5)
RTPM0
0
RTPM05 RTPM04 RTPM03 RTPM02 RTPM01 RTPM00
Cautions 1. To reflect real-time output signals (RTPOUT00 to RTPOUT05) to the pins
(RTP00 to RTP05), set them to the real-time output port with the PMC5 and
PFC5 registers.
2. By enabling real-time output operation (RTPC0.RTPOE0 bit = 1), the bits
specified as real-time output enabled perform real-time output, and the bits
specified as real-time output disabled output 0.
3. If real-time output is disabled (RTPOE0 bit = 0), real-time output signals
(RTPOUT00 to RTPOUT05) all output 0, regardless of the RTPM0 register
setting.