Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Nut/OS API

Collaboration diagram for Nut/OS API:


Detailed Description

Operating System API.

This API supports the following features:


Modules

 * System Initialization
 Nut/OS initialization.
 System Configuration
 Nut/OS configuration structure.
 Thread Management
 Cooperative multi-threading support.
 Event Management
 Thread synchronization support.
 Timer Management
 Asynchronous timer support.
 Memory Management
 Dynamic memory management.
 Device Management
 Device driver support.
 Interrupt Management
 Interrupt support.
 Version Information
 Nut/OS version number.
 Application Candies
 * Message Queues
 Message Queue Support.

Defines

#define __byte_swap2(val)
#define __byte_swap4(val)
#define htons(x)
 Convert short value from host to network byte order.
#define htonl(x)
 Convert long value from host to network byte order.
#define ntohs(x)
 Convert short value from network to host byte order.
#define ntohl(x)
 Convert long value from network to host byte order.

Typedefs

typedef unsigned short u_short
 Unsigned 16-bit value.
typedef unsigned int u_int
 Unsigned int value.
typedef unsigned long u_long
 Unsigned 32-bit value.
typedef unsigned long long u_longlong
 Unsigned 64-bit value.
typedef void * HANDLE
 Void pointer.
typedef unsigned int uptr_t
 Unsigned register type.Signed register type.Unsigned pointer value type.

Variables

*typedef unsigned char u_char
 Unsigned 8-bit value.


Typedef Documentation

typedef unsigned int uptr_t
 

Unsigned register type.Signed register type.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.


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