[Voyage-linux] [Off Topic] GPIO Interupt Programming

Roger Eisenecher (spam-protected)
Mon Jul 25 12:04:10 HKT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

find attached a small c programm to access the led gpio directly without
a kernel driver as a little example. It is not perfect but it does work
for my purposes.

kindly regards
rOger

Punky Tse schrieb:
> Please find the attached message from soekris for GPIO support on 4801. 
> And does any body knows this patch also works on wrap?  But anyway, this
> patch will go into the next kernel update.
> 
> Mirko Buholzer wrote:
> 
>> Does some one of you have some experience in programming gpio and
>> interrupts on a wrap board.
>> I would like to do a frequency counter on one of the GPIO ports and
>> cant find some good resources.
>>
>> Thanks in advance!
>> Regards, Mirko _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux


+---------------------------------------------------------------------
| PGP Public Key -> http://www.icer.ch/contact/eisenecher_pub_key.txt
+---------------------------------------------------------------------
| Roger Eisenecher                     mailto:roger.eisenecher at icer.ch
| ic engineering & research GmbH       Tel: +41 (0)52/223'13'70
| Grondweg 15                          Fax: +41 (0)52/223'13'71
| CH-8266 Steckborn                    http://www.icer.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5GS6pF3l9rYt4bARAkMvAJ9iVF6uRPaMlIW0yloO+nhgraNmoACeOpQ6
H0NNa/CCwGh4A/MtG19GSpA=
=PZex
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: led.c
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20050725/5880f3b9/attachment.c>


More information about the Voyage-linux mailing list