beautypg.com

NEC PD78214 User Manual

Page 359

background image

330

µ

PD78214 Sub-Series

(3) Example of using the type B macro service

The following example shows how parallel data is input from port 3 in synchronization with an external signal.
The external signal is input to the external interrupt pin (INTP4).

Fig. 12-23 Parallel Data Input in Synchronization with an External Interrupt

Fig. 12-24 Parallel Data Input Timing

Data input (macro service)

Port 3

INTP4

0A000H

0A01FH

(Internal RAM)

–1

Type B: Memory

→ SFR

Internal bus

0FECFH

Mode register

Channel pointer

A1

CF

MSC

SFRP

MPL (low)

MPH (high)

00

A0

20

03

Note

+1

64K memory space

Buffer area

P37/TO3

P36/TO2

P35/TO1

P34/TO0

P33/SO/SB0

P32/SCK

P31/TxD

P30/RxD

Port 3

Edge detector

INTP4

Macro service
request

P25/INTP4/ASCK

Note Port 3 address

This manual is related to the following products: