Henrik
Tue Jan 02 02:04:19 CST 2007
If the led is hooked up to a gpio, then, yes, a "gpio driver" would
probably be a good idea.
However, there's no such thing as a standard "gpio driver" in CE - the
"GP" part of GPIO stands for "General Purpose" and as the name
suggests, a GPIO can be hooked up to just about anything the hardware
designer decides. So, what (and if) support exist for controlling
arbitrary gpio-pins through a driver on your specific hardware is
entirely dependant on the BSP you use. If no driver exist you need to
write one and as Bruce suggests, one alternative to the LED driver is
to write a simple stream interface driver (for a step-by-step
instruction on creating a stream interface driver, search PB5 help for
"How to Create a Device Driver").
Henrik Viklund
http://www.addlogic.se
princyfrancis@gmail.com skrev:
> can we use a gpio driver for driving the led.can u say how to implemnt
> led driver with gpio enable
>
> Bruce Eitman [eMVP] wrote:
> > That is a good starting framework. Depending on your needs, you may also
> > just create a simple stream interface to control your LED.
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > beitman AT applieddata DOT net
> >
> > Applied Data Systems
> > www.applieddata.net
> > An ISO 9001:2000 Registered Company
> > Microsoft WEP Gold-level Member
> >
> > <princyfrancis@gmail.com> wrote in message
> > news:1167214763.023481.185580@a3g2000cwd.googlegroups.com...
> > > Hi all,
> > > I am working in a voip handset project in which there is a notification
> > > led which will be active on an incoming call .How can i implent the led
> > > driver for the above application.Can i use the led driver in
> > > WINCE500\PUBLIC\COMMON\OAK\DRIVERS\NLEDDRVR.please help me
> > >