Re: [beagleboard] gpio.h No such file or directory error

2013-11-25 Thread Brandon I
All of the gpio registers have dedicated set and clear registers so you don't have to do read-modify-write operations. There wont be an issue with collisions between separate gpio bits if you're just setting or reading pin states. On Sunday, November 24, 2013 11:13:21 PM UTC-8, rod calabio wrot

Re: [beagleboard] gpio.h No such file or directory error

2013-11-24 Thread rod calabio
I copy that Dave. Yes, need to use masks, multiple registers, xors, ands, to toggle multiple bits quickly. I wonder how fast the mux switches also. Yes, would need to look at all the interrupts and momentarily turning some off when doing high speed gpio switching. I am making a 80 way net

Re: [beagleboard] gpio.h No such file or directory error

2013-11-23 Thread Dave Hylands
Hi rocketRod, On Fri, Nov 22, 2013 at 10:13 PM, rod calabio wrote: > > Dave, > > Here is an interesting question. Suppose you wrote the same program but one in user space and another in kernel space. And lets say all the program did was like a toggling of some gpios. Which version would a

Re: [beagleboard] gpio.h No such file or directory error

2013-11-22 Thread rod calabio
Dave, Here is an interesting question. Suppose you wrote the same program but one in user space and another in kernel space. And lets say all the program did was like a toggling of some gpios. Which version would achieve the higher toggle speed and why and what would be the limit? Be

Re: [beagleboard] gpio.h No such file or directory error

2013-11-22 Thread Dave Hylands
Hi dinesh, On Thu, Nov 21, 2013 at 9:04 PM, dinesh naga wrote: > > Hello , > > #include > #include > int main() > { > const int is17Valid = !!gpio_is_valid(17); > if (is17Valid) > { >printf("17 is valid!"); > } > else > { > printf("17 is not valid!"); >

Re: [beagleboard] gpio.h no such file or directory error

2013-11-22 Thread Jack Mitchell
On 22/11/13 12:09, dinesh naga wrote: > Hello , > > #include > #include > int main() > { > const int is17Valid = !!gpio_is_valid(17); > if (is17Valid) > { >printf("17 is valid!"); > } > else > { > printf("17 is not valid!"); > } > > return 0; > }

[beagleboard] gpio.h no such file or directory error

2013-11-22 Thread dinesh naga
Hello , #include #include int main() { const int is17Valid = !!gpio_is_valid(17); if (is17Valid) { printf("17 is valid!"); } else { printf("17 is not valid!"); } return 0; } i am trying to compile this program and getting this error gpio.h No su

[beagleboard] gpio.h No such file or directory error

2013-11-22 Thread dinesh naga
Hello , #include #include int main() { const int is17Valid = !!gpio_is_valid(17); if (is17Valid) { printf("17 is valid!"); } else { printf("17 is not valid!"); } return 0; } i am trying to compile this program and getting this error gpio.h No su