UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 603

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) Configuration of macro service channel
(3) Example of using counter mode
Remark The internal RAM address in the figure above is the value when the LOCATION 0 instruction is executed.
The macro service channel consists of only a 16-bit macro service counter. The low-order 8 bits of the address of the
MSC are written to the channel pointer.
Here is an example of counting the number of edges input to external interrupt pin INTP5.
INTP5/P26
When the LOCATION 0FH instruction is executed, add 0F0000H to this value.
Macro Service Channel
OFE7EH
Figure 20-41 Counting Number of Edges
CHAPTER 20 INTERRUPT FUNCTIONS
INTP5 Macro Service Request
MSC 0EH
Figure 20-40 Counter Mode
Channel Pointer 7EH
Mode Register 00H
7
Macro Service
Counter (MSC)
(Internal RAM)
Internal Bus
High-Order 8 Bytes
Low-Order 8 Bytes
Channel Pointer
Mode Register
High-Order 8 Bytes
Low-Order 8 Bytes
Counter Mode
Interrupt request is generated when MSC = 0.
–1
0
High Addresses
Low Addresses
563

Related parts for UPD784026