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
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
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
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
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!");
>
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;
> }
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
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