Next: Graphics LCD Driver Header,
Up: Control Board
Previous: Control Board Main Code,
  Contents
The following code sets up the interrupt vector table for the 68HC11
used in the control board. Currently, no interrupts are used.
extern void _start(); /* entry point in crt11.s */
#pragma abs_address:0xffd6
void (*interrupt_vectors[])() =
{
/* to cast a constant, say 0xb600, use
(void (*)())0xb600
*/
/* all interrupts reset the processor, which is probably not what
* we want forever.. */
_start, /* SCI */
_start, /* SPI */
_start, /* PAIE */
_start, /* PAO */
_start, /* TOF */
_start, /* TOC5 */
_start, /* TOC4 */
_start, /* TOC3 */
_start, /* TOC2 */
_start, /* TOC1 */
_start, /* TIC3 */
_start, /* TIC2 */
_start, /* TIC1 */
_start, /* RTI */
_start, /* IRQ */
_start, /* XIRQ */
_start, /* SWI */
_start, /* ILLOP */
_start, /* COP */
_start, /* CLM */
_start /* RESET */
};
#pragma end_abs_address
Steve Richardson
2000-07-06
|