CVS log for funnyos/arch/sam7s64/dev/gpiobtn.c

[BACK] Up to [local] / funnyos / arch / sam7s64 / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 16 23:08:46 2007 UTC (16 years, 5 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD

driver for onboard buttons which occupy PA19 and PA20 lines.
this is very simple driver - it configures gpio pin on input
and toggles LED on every interrupt (when pressed) using devctl.

driver uses 'flags' on attachment to distinguish what minor instance of 'gpioled'
it should toggle. this allows two buttons to drive two leds :)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb