English
Language : 

UPD784938 Datasheet, PDF (583/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 23 INTERRUPT FUNCTIONS
Figure 23-30. Type C Macro Service Channel (2/2)
(b) With ring control
High-order addresses
Macro service
channel
Macro service
counter (MSC)
(bits 8 to 15)
(bits 0 to 7)
Timer SFR pointer (TSFRP)
(bits 16 to 23)Note
Timer macro service
pointer (MPT)
(bits 8 to 15)
(bits 0 to 7)
Data SFR pointer (DSFRP)
(bits 16 to 23)Note
Data macro service
pointer (MPD)
(bits 8 to 15)
(bits 0 to 7)
Modulo register (MR)
Ring counter (RC)
TSFR
DSFR
Timer buffer area
Data buffer area
Macro service
control word
Low-order addresses
Channel pointer
Mode register
Macro service buffer address = macro service pointer
Note Bits 20 to 23 must be set to 0.
(3) Examples of use of type C
(a) Basic operation
An example is shown below in which the output pattern to the real-time output port and the output interval are directly
controlled.
Update data is transferred from the two data storage areas set in the 1-Mbyte space beforehand to the real-time
output function buffer register (P0L) and the compare register (CR10).
Preliminary User’s Manual U13987EJ1V0UM00
583