Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined(__DOXYGEN__)
- /* doxygen gets confused by the __attribute__ stuff */
- /** \name Exact-width integer types
- Integer types having exactly the specified width */
- /*@{*/
- /** \ingroup avr_stdint
- 8-bit signed type. */
- typedef signed char int8_t;
- /** \ingroup avr_stdint
- 8-bit unsigned type. */
- typedef unsigned char uint8_t;
- /** \ingroup avr_stdint
- 16-bit signed type. */
- typedef signed int int16_t;
- /** \ingroup avr_stdint
- 16-bit unsigned type. */
- typedef unsigned int uint16_t;
- /** \ingroup avr_stdint
- 32-bit signed type. */
- typedef signed long int int32_t;
- /** \ingroup avr_stdint
- 32-bit unsigned type. */
- typedef unsigned long int uint32_t;
- /** \ingroup avr_stdint
- 64-bit signed type.
- \note This type is not available when the compiler
- option -mint8 is in effect. */
- typedef signed long long int int64_t;
- /** \ingroup avr_stdint
- 64-bit unsigned type.
- \note This type is not available when the compiler
- option -mint8 is in effect. */
- typedef unsigned long long int uint64_t;
- /*@}*/
- #else /* !defined(__DOXYGEN__) */
- /* actual implementation goes here */
- typedef int int8_t __attribute__((__mode__(__QI__)));
- typedef unsigned int uint8_t __attribute__((__mode__(__QI__)));
- typedef int int16_t __attribute__ ((__mode__ (__HI__)));
- typedef unsigned int uint16_t __attribute__ ((__mode__ (__HI__)));
- typedef int int32_t __attribute__ ((__mode__ (__SI__)));
- typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__)));
- #if !__USING_MINT8
- typedef int int64_t __attribute__((__mode__(__DI__)));
- typedef unsigned int uint64_t __attribute__((__mode__(__DI__)));
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement