Up to [local] / funnyos / arch / sam7s64 / dev
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.1 / (download) - annotate - [selected], Sun Dec 16 23:08:46 2007 UTC (16 years, 9 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 :)