nut_types.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned
__PTRDIFF_TYPE__ 
uptr_t
 Unsigned register type.
typedef void * HANDLE
 Void pointer.


Typedef Documentation

typedef unsigned __PTRDIFF_TYPE__ uptr_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.

Signed register type.

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

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.

Examples:
httpd/httpserv.c.

Definition at line 60 of file nut_types.h.

typedef void* HANDLE

Void pointer.

Examples:
events/events.c, and timers/timers.c.

Definition at line 64 of file nut_types.h.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/