cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO configuration change takes 25 microsecond

mehmet.karakaya
Associate III
Posted on September 20, 2010 at 10:07

GPIO configuration change takes 25 microsecond

#raisonance
3 REPLIES 3
trevor23
Associate III
Posted on May 17, 2011 at 14:07

unsigned int is 32 bits on every compiler for ARM I have ever used. I'd be very surprised if it were not as it is a 32 bit core.

mehmet.karakaya
Associate III
Posted on May 17, 2011 at 14:07

where can I learn the size of datatypes in RIDE7 ?

which doc ?

trevor23
Associate III
Posted on May 17, 2011 at 14:07

Don't know anything about Ride but you can use this in your code to find out:

printf( ''sizeof(int) = %u\r\n'', sizeof(int) );

printf( ''sizeof(char) = %u\r\n'', sizeof(char) );

printf( ''sizeof(long) = %u\r\n'', sizeof(long) );

etc.

At a guess int will be 32 bits, long will be 32 bits, long long will be 64 bits, char will 8 bits, short will be 16 bits.