Interrupts.

Description | Download | Table of Contents | Modules | Compound List | File List | Functions


Overview
Compiler
Documentation
Examples
Misc
Help
IDE & Tools

Download
Install

Links
Projects







Compounds

struct  interrupt_vectors
 Interrupt vectors as a struct. More...


Interrupts.

typedef void (*  interrupt_t )(void)
 Interrupt handler prototype. More...

typedef struct interrupt_vectors interrupt_vectors_t
interrupt_vectors_t _vectors __asm__ ("_vectors_addr")
void set_interrupt_handler (interrupt_vector_id id, interrupt_t handler)
 Install an interrupt handler. More...

interrupt_t _vectors_addr [MAX_VECTORS]
 Interrupt vector table. More...


Defines

#define M68HC11_JMP   0x7e

Enumerations

enum  interrupt_vector_id {
  RES0_VECTOR = 0, RES1_VECTOR, RES2_VECTOR, RES3_VECTOR,
  RES4_VECTOR, RES5_VECTOR, RES6_VECTOR, RES7_VECTOR,
  RES8_VECTOR, RES9_VECTOR, RES10_VECTOR, SCI_VECTOR,
  SPI_VECTOR, ACC_INPUT_VECTOR, ACC_OVERFLOW_VECTOR, TIMER_OVERFLOW_VECTOR,
  TIMER_OUTPUT5_VECTOR, TIMER_OUTPUT4_VECTOR, TIMER_OUTPUT3_VECTOR, TIMER_OUTPUT2_VECTOR,
  TIMER_OUTPUT1_VECTOR, TIMER_INPUT3_VECTOR, TIMER_INPUT2_VECTOR, TIMER_INPUT1_VECTOR,
  RTI_VECTOR, IRQ_VECTOR, XIRQ_VECTOR, SWI_VECTOR,
  ILLEGAL_OPCODE_VECTOR, COP_FAIL_VECTOR, COP_CLOCK_VECTOR, RESET_VECTOR,
  MAX_VECTORS
}

Typedef Documentation

typedef void(* interrupt_t)(void)
 

Interrupt handler prototype.

Interrupt handler prototype.

Definition at line 37 of file asm-m68hc11/interrupts.h.


Enumeration Type Documentation

enum interrupt_vector_id
 

Interrupt vector id.

Definition at line 120 of file asm-m68hc11/interrupts.h.


Function Documentation

void set_interrupt_handler ( interrupt_vector_id id,
interrupt_t handler ) [inline]
 

Install an interrupt handler.

Install an interrupt handler.

Install the interrupt handler for an exception. The handler is installed for bootstrap mode and also for normal operating mode.

Parameters:
id   the interrupt number to be installed
handler   the interrupt handler entry point

Definition at line 179 of file asm-m68hc11/interrupts.h.


Variable Documentation

interrupt_t _vectors_addr
 

Interrupt vector table.

Interrupt vector table.

The interrupt vector table is in general located at `0xffc0' in memory. It is at the same address as the interrupt vectors structure (alias).

Definition at line 163 of file asm-m68hc11/interrupts.h.

Description | Download | Table of Contents | Modules | Compound List | File List | Functions

    Last modified,
    Apr 16, 2001
[ Copying ]     [ Feedback to Stephane.Carrez@worldnet.fr ]