UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 591

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
CHAPTER 20 INTERRUPT FUNCTIONS
(2)
Macro service channel configuration
There are two kinds of type C macro service channel, as shown in Figure 20-30.
The timer macro service pointer (MPT) mainly indicates the data buffer area in the 1M-byte memory space to be
transferred or added to the timer/counter compare register.
The data macro service pointer (MPD) indicates the data buffer area in the 1M-byte memory space to be transferred
to the real-time output port.
The modulo register (MR) specifies the number of repeat patterns when ring control is used.
The ring counter (RC) holds the step in the pattern when ring control is used. When initialization is performed, the
same value as in the MR is normally set in this counter.
The macro service counter (MSC) is a 16-bit counter that specifies the number of data transfers.
The low-order 8 bits of the SFR that is the transfer destination is written to the timer SFR pointer (TSFRP) and data
SFR pointer (DSFRP).
The macro service channel that stores these pointers and counters is located in internal RAM space addresses 0FE00H
to 0FEFFH when the LOCATION 0 instruction is executed, or 0FFE00H to 0FFEFFH when the LOCATION 0FH
instruction is executed. The macro service channel is indicated by the channel pointer as shown in Figure 20-30. In
the channel pointer, the low-order 8 bits of the address are written to the macro service counter in the macro service
channel.
551

Related parts for UPD784026