Application Examples
EXAMPLE 1-B: HANDLING SLAVE INTERRUPTS
Objectives
•
Write a software routine that initializes the 8259A Interrupt
Controller on-board to act as a master to receive interrupts from
both a slave interrupt controller and on-board devices.
•
Write a software routine that initializes the 8259A Interrupt
Controller on the ZT 8840 Quad UART board to act as a slave
interrupt controller.
•
Write a software routine that initializes the pointer to the
interrupt service routine for the slave interrupt used.
•
Write a software routine that initializes the serial port on the
ZT 8840 Quad Serial port card for a simple serial output. This
routine can be used to initialize any 8250 compatible serial port.
It is initialized for no interrupts enabled, to be enabled later in
the program.
•
Provide the framework for an interrupt service routine. The
example shown responds to an interrupt generated by the serial
port on the ZT 8840, which is initiated by the 8250 interrupting
on character transmitted.
•
In the main program, check that the interrupt is received, and
strobe the LED to tell the user the program was successful. End
the program.
4-13
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...