
EXTERNAL INTERRUPTS SECTION 10
Page 10-1
INTRODUCTION
EXTERNAL INTERRUPTS SECTION 10
There are external CPU interr upts: INT 0 and INT 1. If
you do not use these interrupts, they may be used for
general purpose I/O or timing. See SECTION 6,
DIGITAL LINES, 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, internal to the CPU . This allows
wire O R with othe r expan sion boards. Softwar e will
have to poll the expansion boards to determine which
one caused the interrupt.
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 CPU process. For setup
example, see the program below.
File name Description
RTC\RTC-3.C Uses IN T 1 to wake up from idle
mode. INT 0 is similarly
programmed.
Comentarios a estos manuales