Re: Notification LED Driver
From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 10/29/04
- Next message: Yannick Chamming's [eMVP]: "Re: Mounting an ATADISK Hard Drive"
- Previous message: Bryan: "Is this a bug in PB 5.0?"
- In reply to: Madhu: "Notification LED Driver"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 10:26:13 +0200
You should develop a driver that will handle an interruption when your
button is pressed. A simple stream driver should do it perfectly.
In your IST, you can implement 2 things:
- either direclty switching on and off the led through registers accesses.
- or using GWES API for led notification, and develop a notification led
driver.
The second solution is the cleanest, as it allows you driving your leds from
other apps or drivers through the GWES API.
-- ---------------------------------------------------------------- Yannick Chamming's (eMVP) ADESET Windows Embedded Manager ychammings AT adeset DOT com> http://www.adeset.com Tél : +33 (0)4.72.18.57.77 Fax : +33 (0)4.72.18.57.78 ---------------------------------------------------------------- "Madhu" <madhukar.gubba@gmail.com> wrote in message news:9bd1e115.0410282226.67625ba3@posting.google.com... > Hi All, > > Iam using sample notification led driver for my hardware. I want to > switch on/off an led when a hardware button is pressed. > > I want to know whether it is possible to control the led on/off from > hardware button? > > If it is possbile, do i need to run an application when hardware > button is pressed? > > Thanks in Advance, > > Regards, > Madhu
- Next message: Yannick Chamming's [eMVP]: "Re: Mounting an ATADISK Hard Drive"
- Previous message: Bryan: "Is this a bug in PB 5.0?"
- In reply to: Madhu: "Notification LED Driver"
- Messages sorted by: [ date ] [ thread ]