diff options
Diffstat (limited to '')
-rw-r--r-- | sw/z80/libc/include/stdint.h (renamed from sw/z80_tests/usart/types.h) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/z80_tests/usart/types.h b/sw/z80/libc/include/stdint.h index 815fc68..5e8caf3 100644 --- a/sw/z80_tests/usart/types.h +++ b/sw/z80/libc/include/stdint.h @@ -1,13 +1,13 @@ -#ifndef __TYPES_H__ -#define __TYPES_H__ - -/* only types from primitive types are defined in this file */ - -typedef volatile unsigned char register_t; +#ifndef __STDINT_H__ +#define __STDINT_H__ typedef unsigned int uint; + typedef char int8_t; typedef unsigned char uint8_t; typedef int int16_t; typedef unsigned int uint16_t; -#endif +typedef long int int32_t; +typedef unsigned long int uint32_t; + +#endif // __STDINT_H__
\ No newline at end of file |