ISIX-RTOS - small operating system for ARM microcontrollers 1.2
|
00001 #ifndef _ISIX_TYPES_H 00002 #define _ISIX_TYPES_H 00003 00004 #include <stdint.h> 00005 #include <stdbool.h> 00006 #include <stddef.h> 00007 #include <isix/error.h> 00008 00009 /*-----------------------------------------------------*/ 00011 #ifndef NULL 00012 #define NULL ((void*)0) 00013 #endif /* NULL */ 00014 00015 /*-----------------------------------------------------*/ 00016 #ifdef __cplusplus 00017 namespace isix 00018 { 00019 #endif 00020 /*-----------------------------------------------------*/ 00021 00023 typedef unsigned int tick_t; 00024 00025 /*-----------------------------------------------------*/ 00026 #ifdef __cplusplus 00027 } 00028 #endif 00029 /*-----------------------------------------------------*/ 00031 #define _BV(x) (1<<x) 00032 00033 /*-----------------------------------------------------*/ 00034 00035 #endif /* __ISIX_TYPES_H */