This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Example ISR,DSR for ARM AEB-1


Look at the AEB serial device driver.  It sets up the ISR/DSR for
exactly one serial port.
  .../io/serial/VERSION/src/arm/aeb_serial.c

BTW - the point of the whole interrupt scheme is that your code 
need not manage any decoding, masking, etc, directly.  This is
all done using either the HAL macros, or more usefully, the KAPI
interface functions (like in the serial device drivers).

On 08-Feb-00 k e wrote:
> Can anyone recommend a source for a simple example
> program for the AEB that shows how to create
> an ISR and DSR?  I'd like to have a thread respond
> to a low frequency external interrupt.  I'd like to
> keep all of the other drivers on the board which
> are being used by other threads running.  Is there
> a means by which I can identify a specific external
> interrupt to cause a specific DSR to be called 
> without having to figure out all of the other DSR's
> that are being called by the default ISR?.
> 
> Here's the simple application that I'd like to code
> up:
>   external interrupt 0 (which is wired to a switch
>      on the AEB-1) would cause a DSR that would toggle
>      an LED.
> 
> Thanks,
> keith
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]