NEC V850/SB1TM User Manual page 372

32-bit single-chip microcontroller
Table of Contents

Advertisement

(2) Real-time output port control register (RTPC)
This register sets 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 Table 13-
3.
RTPC is set by an 8-/1-bit memory manipulation instruction.
RESET input clears RTPC to 00H.
Figure 13-4. Format of Real-Time Output Port Control Register (RTPC)
After reset: 00H
R/W
<7>
RTPC
RTPOE
RTPOE
0
1
RTPEG
0
1
BYTE
0
1
EXTR
0
1
Note
RTP0 to RTP7 output 0 if the real-time output operation is disabled (RTPOE = 0).
Table 13-3. Operation Mode and Output Trigger of Real-Time Output Port
BYTE
EXTR
4 bits × 2 channels
0
0
1
1
0
8 bits × 1 channel
1
372
CHAPTER 13
REAL-TIME OUTPUT FUNCTION (RTO)
Address: FFFFF3A6H
<6>
<5>
RTPEG
BYTE
Control of operation of real-time output port
Note
Disables operation
Enables operation
Falling edge
Rising edge
Operation mode of real-time output port
4 bits × 2 channels
8 bits × 1 channel
Control of real-time output by RTPTRG signal
Does not use RTPTRG as real-time output trigger
Uses RTPTRG as real-time output trigger
Operation Mode
User's Manual U13850EJ4V0UM
<4>
3
EXTR
0
Valid edge of RTPTRG
RTBH → Port Output
INTTM5
INTTM4
INTTM4
RTPTRG
2
1
0
0
0
0
RTBL → Port Output
INTTM4
RTPTRG

Advertisement

Table of Contents
loading

Table of Contents