beautypg.com

Chapter 12 interrupt functions – NEC PD78214 User Manual

Page 354

background image

325

Chapter 12 Interrupt Functions

12

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

Read channel pointer contents (m)

Read MSC contents (n)

Buffer address calculation m – n

Identify transfer direction

Read contents of buffer and transfer read data
to specified SFR

MSC = n – 1

MSC = 0?

Vectored interrupt request occurs.

End

Read specified SFR contents and transfer read
data to buffer

Reset interrupt request flag

End

No

Yes

Memory

→SFR

SFR

→memory

TYPE A

Other factors

To other macro service processing

This manual is related to the following products: