comp.lang.ada
 help / color / mirror / Atom feed
From: "Ramon Costa-Castell�" <costa@ioc.upc.es>
Subject: interrupt Handler with EZ2LOAD
Date: 1998/07/13
Date: 1998-07-13T00:00:00+00:00	[thread overview]
Message-ID: <35A9E416.25EAB8F6@ioc.upc.es> (raw)

Hye,

First of all let me tell that this is the first time
I'm working serously with ADA.

I'm using EZ2LOAD distribution of GNAT307,
and I'm trying to develop and device handler for
and ADC/DAC board (PCL-812PG).
To do this I'm following the device driver template
found in :

Concurrency in ADA
by Alan Burns and Andy Wellings


One of the most important step in this template is when then interrupt
is attached to
my interrupt handler thourgh the instruction:

pragma Attach_Handler(Handler, Int_Id);

The first parameter is the interrupt handler is  the  interrupt handler
address.
But what is it the second one ?

In the book it says that this is an interrupt identifier  is defined in
Ada.Interrupts.Names package, but obviously my card
identifier is not defined there.

How should I define an interrupt identifier for my card,
How this number is related with the IRQ ?

(does anyone has a complete exemple for this platform with the same or
similar board ?)



Thank You in advance for the problems I will
cause.


Best Regards,

Ramon Costa-Castello





                 reply	other threads:[~1998-07-13  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox