Real-Time Output Buffer Register Configuration; Operation In Real-Time Output Buffer Register Manipulation - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(1) Real-time output buffer register (RTBL, RTBH)
Addresses of RTBL and RTBH are mapped individually in the Special function register (SFR) area as shown
in Figure 20-2.
When specifying 4 bits
When specifying 8 bits
8-bit data to either RTBL or RTBH.
Table 20-2 shows operations during manipulation of RTBL and RTBH.
Figure 20-2. Real-time Output Buffer Register Configuration
Table 20-2. Operation in Real-time Output Buffer Register Manipulation
Operating Mode
4 Bits
2 Channels
8 Bits
1 Channel
Notes 1. Only the bits set in the real-time output port mode can be read. When a bit set in the port mode
is read, 0 is read.
2. After setting data in the real-time output port, output data should be set in RTBL and RTBH by the
time a real-time output trigger is generated.
CHAPTER 20 REAL-TIME OUTPUT PORT
2 channels as the operating mode, data are set individually in RTBL and RTBH.
1 channel as the operating mode, data are set to both RTBL and RTBH by writing
Higher
Lower
4 Bits
4 Bits
FF30H
RTBL
FF31H
RTBH
Register to be
Manipulated
Higher 4 Bits
RTBL
RTBH
RTBH
RTBH
RTBL
RTBH
RTBH
RTBH
Note1
In Read
Lower 4 Bits
Higher 4 Bits
RTBL
Invalid
RTBL
RTBH
RTBL
RTBH
RTBL
RTBH
Note2
In Write
Lower 4 Bits
RTBL
Invalid
RTBL
RTBL
479

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents