4#if defined( ARDUINO ) || defined( ARDUINO_ARCH_AVR) || defined( ARDUINO_ARCH_SAMD ) || defined( ENERGIA_ARCH_MSP430ELF )
5 #define ARDUINO_PLATFORM
8#if ( __cplusplus < 201103L || defined ( __AVR_ARCH__ ) || defined( ARDUINO_PLATFORM ) || defined ( STM8Sxx ) )
15 #define STD_TYPE_UINT8_T uint8_t
16 #define STD_TYPE_UINT16_T uint16_t
17 #define STD_TYPE_UINT32_T uint32_t
18 #define STD_TYPE_INT8_T int8_t
19 #define STD_TYPE_INT16_T int16_t
20 #define STD_TYPE_INT32_T int32_t
21 #define STD_TYPE_UINTPTR_T uintptr_t
22 #define STD_TYPE_SIZE_T size_t
30 #define STD_TYPE_UINT8_T std::uint8_t
31 #define STD_TYPE_UINT16_T std::uint16_t
32 #define STD_TYPE_UINT32_T std::uint32_t
33 #define STD_TYPE_INT8_T std::int8_t
34 #define STD_TYPE_INT16_T std::int16_t
35 #define STD_TYPE_INT32_T std::int32_t
36 #define STD_TYPE_UINTPTR_T std::uintptr_t
37 #define STD_TYPE_SIZE_T std::size_t
40#if defined( ARDUINO_PLATFORM )
47 #define SIZE_MAX ( ~static_cast<size_t>( 0 ) )
112 using uint8_t = STD_TYPE_UINT8_T;
113 using uint16_t = STD_TYPE_UINT16_T;
114 using uint32_t = STD_TYPE_UINT32_T;
115 using int8_t = STD_TYPE_INT8_T;
116 using int16_t = STD_TYPE_INT16_T;
117 using int32_t = STD_TYPE_INT32_T;
118 using uintptr_t = STD_TYPE_UINTPTR_T;
119 using size_t = STD_TYPE_SIZE_T;
120 #if defined( ARDUINO_PLATFORM )
121 using string = String;
123 using string = std::string;
136#define Q_UNUSED(arg) (void)(arg)
unsigned long timeCount_t
A type to instantiate a variable to hold a time count.
Definition types.hpp:130
STD_TYPE_SIZE_T index_t
A type to instantiate an OS index variable. Can store the maximum size of a theoretically possible ob...
Definition types.hpp:94
int base_t
A type to instantiate a integer-base variable. This size of this type is implementation-defined.
Definition types.hpp:62
float float32_t
A type to instantiate a single-precision variable of 32-bits IEEE 754.
Definition types.hpp:82
STD_TYPE_INT32_T iteration_t
A type to instantiate a variable that hold the number of task iterations.
Definition types.hpp:104
STD_TYPE_UINT8_T byte_t
A type to instantiate a byte variable.
Definition types.hpp:67
STD_TYPE_UINT32_T cycles_t
A type to instantiate a variable that hold the number of task cycles.
Definition types.hpp:99
unsigned long unsigned_t
A type to instantiate an unsigned variable.
Definition types.hpp:72
long int signed_t
A type to instantiate an signed variable.
Definition types.hpp:77
double float64_t
A type to instantiate a single-precision variable of 64-bits IEEE 754.
Definition types.hpp:87
STD_TYPE_UINT8_T priority_t
A type to instantiate a variable to hold the priority value of a task.
Definition types.hpp:109
OS/Kernel interfaces.
Definition bytebuffer.hpp:7