A13 GPIO interrupt source

Started by lionel_c, October 12, 2013, 09:23:29 PM

Previous topic - Next topic

lionel_c

hello !
I need some help about the configuration of my GPIO's  as interrupt source.( A13 olinuxino)
I work on Debian using language C.
Usually I work with microchip PIC  but I try to understand how does it work with embebbed linux.

I just found  a tutorial using cat and echo to read and write gpios status but i need more information about interrupt working.

thank you

lionel_c

someone to give me methodology or a tutorial about that? :-\

JohnS

The only doc I know for these chips is all on the website...

There's not much if anything else (for these boards / chips).

John

lionel_c

everyone who want read gpio's port use a while loop ???

vinifr

#4
You can use that code: https://www.dropbox.com/s/3svplzr1nxg0pcu/gpio.c

For interrupts search 'edge gpio linux'. You can use gpio_set_edge()  ;)

lionel_c