pico_types.h 514 B

1234567891011121314151617181920212223
  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. typedef uint64_t u64;
  13. typedef int64_t s64;
  14. #endif
  15. #endif
  16. typedef uintptr_t uptr; /* unsigned pointer-sized int */
  17. typedef unsigned int uint; /* printf casts */
  18. typedef unsigned long ulong;
  19. #endif