Nut/OS  4.10.3
API Reference
nut_types.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned short ureg_t
 Unsigned register type.
typedef unsigned short reg_t
 Signed register type.
typedef unsigned __PTRDIFF_TYPE__ uptr_t
 Unsigned pointer value type.
typedef void * HANDLE
 Void pointer.

Typedef Documentation

typedef unsigned short ureg_t

Unsigned register type.

The size of this type is equal to the size of a register, the hardware datapath or whatever might fit to give optimum performance for values from 0 to 255.

Typically 8 bit CPUs will use unsigned characters, 16 bit CPUs will use unsigned shorts etc.

Definition at line 27 of file nut_types.h.

typedef unsigned short reg_t

Signed register type.

Similar to ureg_t, but for signed values from -128 to +127.

Definition at line 44 of file nut_types.h.

typedef unsigned __PTRDIFF_TYPE__ uptr_t

Unsigned pointer value type.

The size of this type is at least the size of a memory pointer. For CPUs with 16 address bits this will be an unsigned short.

Definition at line 60 of file nut_types.h.

typedef void* HANDLE

Void pointer.

Definition at line 64 of file nut_types.h.