[uClinux-dev] about external interrupts

From: 846cb5a5def91b3df2 (zhongxin00@mails.tsinghua.edu.cn)
Date: Thu Nov 08 2001 - 20:36:07 EST


    I've sent the same letter to the list two days ago. I haven't seen my letter
be added into the list by now. So I chang the mailbox and send it again.If there
were two same letters from me, I would be very sorry.
    I am working with external interrupts on an EZ-based board. My device is
rather simple: one button connected to the IRQ2 pin of port D. It was designed to
work as following: when the button was pressed, the applications would know about
this event. I've managed to make the button work without uClinux(I added the
vector and wrote service routines with assemble language). But when I came to the
OS, it seemed that a device driver would be necessary. I've searched the maillist
for informations. It helped a lot.
    But I'm still puzzled about that whether my simple device is a character
device, or my device dose not need any drivers at all?. And if the driver is
necessary, what are the major and minor numbers of the device? 
    Any suggestions or hints will be appreciated, and samples are greatly
welcomed:)
Best regards!
                         Joey


This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:23 EDT