pico_types.h 456 B

123456789101112131415161718192021
  1. #ifndef PICO_TYPES
  2. #define PICO_TYPES
  3. #include <stdint.h>
  4. #ifndef __TAMTYPES_H__
  5. #ifndef UTYPES_DEFINED
  6. typedef uint8_t u8;
  7. typedef int8_t s8;
  8. typedef uint16_t u16;
  9. typedef int16_t s16;
  10. typedef uint32_t u32;
  11. typedef int32_t s32;
  12. #endif
  13. #endif
  14. typedef uintptr_t uptr; /* unsigned pointer-sized int */
  15. typedef unsigned int uint; /* printf casts */
  16. typedef unsigned long ulong;
  17. #endif