Remote Processing RPC-220 User Manual

Page 33

Advertising
background image

EXTERNAL INTERRUPTS

SECTION 10

Page 10-1

INTRODUCTION

EXTERNAL INTERRUPTS

SECT ION 10

There are exter nal CPU interr upts: INT 0 and IN T 1. If
you do not use these interrupts, they may be used for
general purpose I/O or timing. See SE CTION 6,
DIGIT AL L INES, for curr ent capabilities and pin outs.

Both interrupts are 8051 compatible.

INT 0

This interrupt line goes to both J2-6 and J3-6. This line
has a soft pull up, inter nal to the CPU . T his allows
wire O R with othe r expan sion boar ds. S oftwar e will
have to poll the expansion boards to determine which
one caused the interr upt.

INT 1

INT 1 is meant to be a local interrupt for the RTC . In
addition, it goes to J3-23 so it may be triggered by
another external device.

APPLICATION PROGRAM

Interrupts are part of the CP U process. For setup
example, see the program below.

F i le n am e

Description

R T C\ R TC -3 . C

Uses IN T 1 to wa ke up fro m idle
mode. INT 0 is similarly
program med.

Advertising