
CHAPTER 10 REAL-TIME OUTPUT FUNCTION (RTO)
User
’
s Manual U15862EJ3V0UD
395
(2) Real-time output port control register n (RTPCn)
RTPCn are registers used to set the operation mode and output trigger of the real-time output port.
The relationship between the operation mode and output trigger of the real-time output port is as shown in
Tables 10-3 and 10-4.
The RTPCn register is set by an 8-bit or 1-bit memory manipulation instruction.
RESET input clears RTPCn to 00H.
RTPOEn
Disables operation
Note 1
Enables operation
RTPOEn
0
1
Control of real-time output operation
RTPCn
(n = 0, 1)
RTPEGn
BYTEn
EXTRn
0
0
0
0
Falling edge
Note 2
Rising edge
RTPEGn
0
1
Valid edge of INTTM000 (n = 0), INTTM020 (n = 1) signal
4 bits
×
2 channels
8 bits
×
1 channel
BYTEn
0
1
Specification of channel configuration for real-time output
After reset : 00H R/W Address : FFFFF6E5H, FFFFF6F5H
Notes 1.
When real-time output operation is disabled (RTPOEn = 0), real-time output signals
(RTPOUTn0 to RTPOUTn5) all output 0.
2.
INTTM000 and INTTM020 are output for 1 clock of the count clock selected with the
respective timers.
Caution
Perform the settings for the RTPEGn, BYTEn, and EXTRn bits only when
RTPOEn = 0.
Remark
n = 1 only for the V850ES/KJ1
Table 10-3. Operation Modes and Output Triggers of Real-Time Output Port (n = 0)
BYTE0
EXTR0
Operation Mode
RTBH0 (RTP04, RTP05)
RTBL0 (RTP00 to RTP03)
0
INTTM51
INTTM50
0
1
4 bits
×
1 channel,
2 bits
×
1 channel
INTTM50
INTTM000
0
INTTM50
1
1
6 bits
×
1 channel
INTTM000
Table 10-4. Operation Modes and Output Triggers of Real-Time Output Port (n = 1, V850ES/KJ1 only)
BYTE1
EXTR1
Operation Mode
RTBH1 (RTP14, RTP15)
RTBL1 (RTP10 to RTP13)
0
INTTM50
INTTM51
0
1
4 bits
×
1 channel,
2 bits
×
1 channel
INTTM51
INTTM020
0
INTTM51
1
1
6 bits
×
1 channel
INTTM020