Flow Of Data Transfer By Macro Service (Type A) - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

Fig. 12-18 Flow of Data Transfer by Macro Service (Type A)
Accepts macro service request
Read contents of macro service mode register
Identify channel type
TYPE A
Read channel pointer contents (m)
Read MSC contents (n)
Buffer address calculation m – n
Identify transfer direction
Memory→SFR
Read contents of buffer and transfer read data
to specified SFR
MSC = n – 1
MSC = 0?
Yes
Vectored interrupt request occurs.
End
Other factors
To other macro service processing
SFR→memory
Read specified SFR contents and transfer read
data to buffer
No
Reset interrupt request flag
Chapter 12 Interrupt Functions
End
12
325

Advertisement

Table of Contents
loading

Table of Contents