Skip to main content
mehmet.karakaya
Associate III
September 20, 2010
Question

GPIO configuration change takes 25 microsecond

  • September 20, 2010
  • 3 replies
  • 615 views
Posted on September 20, 2010 at 10:07

GPIO configuration change takes 25 microsecond

#raisonance
    This topic has been closed for replies.

    3 replies

    trevor23
    Associate III
    May 17, 2011
    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.

    trevor23
    Associate III
    May 17, 2011
    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.

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

    where can I learn the size of datatypes in RIDE7 ?

    which doc ?