Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GPIO pins can trigger interruptts ? and drivers
PostPosted: Mon Jan 19, 2009 1:33 pm 
Offline

Joined: Wed Sep 24, 2008 11:05 am
Posts: 29
HI All,

I need to write a driver for the keys and
then use the GPIO for interfacing them. My board is AT91SAM9261..
My pins AT91_PA13,14,15,16, 20, 22,23,24,25..
Now I have two questions.
1. can the GPIO pins can trigger the interrupts? so that i can make My driver interrupt driven.
2.Can anybody please provide a step wise procedure for developing that driver and using it to drive the keys connected to it?
any sample code would be greatly appreciated.

Thanks and regards
Ravi Kulkarni


Top
 Profile  
 
 Post subject: Re: GPIO pins can trigger interruptts ? and drivers
PostPosted: Fri Jul 29, 2011 9:40 am 
Offline

Joined: Fri May 06, 2011 4:07 am
Posts: 17
Hello,Could you offer me a program to drive 2 LEDs ?Assum them are connected to PB[5:4], and 1 is on,0 is off.I want them change between on and off repeatly.I puzzled because I don't know how to config those registers.
please write to armboy@sohu.com,Thank you for your attention.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: