UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 570

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(1) Type A
(2) Type B
(3) Type C
(4) Counter mode
530
There are four kinds of macro service, as shown below.
One byte or one word of data is transferred between a special function register (SFR) and memory each time an interrupt
request is generated, and a vectored interrupt request is generated when the specified number of transfers have been
performed.
Memory that can be used in the transfers is limited to internal RAM addresses 0FE00H to 0FEFFH when the LOCATION
0 instruction is executed, and addresses 0FFE00H to 0FFEFFH when the LOCATION 0FH instruction is executed.
The specification method is simple and is suitable for low-volume, high-speed data transfers.
As with type A, one byte or one word of data is transferred between a special function register (SFR) and memory each
time an interrupt request is generated, and a vectored interrupt request is generated when the specified number of
transfers have been performed.
The SFR and memory to be used in the transfers is specified by the macro service channel (the entire 1M-byte memory
space can be used).
This is a general version of type A, suitable for large volumes of transfer data.
Data is transferred from memory to two special function registers (SFR) each time an interrupt request is generated,
and a vectored interrupt request is generated when the specified number of transfers have been performed.
With type C macro service, not only are data transfers performed to two locations in response to a single interrupt
request, but it is also possible to add output data ring control and a function that automatically adds data to a compare
register. The entire 1M-byte memory space can be used.
Type C is mainly used with the INTC10 and INTC11 interrupts, and is used for stepping motor control, etc., by macro
service, with P0L or P0H and CR10, CR10W, CR11 and CR11W used as the SFRs to which data is transferred.
This mode is to decrement the macro service counter (MSC) when an interrupt occurs and is used to count the division
operation of an interrupt and interrupt generation circuit.
When MSC is 0, a vectored interrupt can be generated.
To restart the macro service, MSC must be set again.
MSC is fixed to 16 bits and cannot be used as an 8-bit counter.
CHAPTER 20 INTERRUPT FUNCTIONS

Related parts for UPD784026