Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

rom400_err.h File Reference


Detailed Description

Error codes used by functions in the DS80C400 ROM.

This file contains error codes that might be returned by functions that call into the ROM.

For detailed information on the DS80C400 please see the High-Speed Microcontroller User's Guide: DS80C400 Supplement.

Go to the source code of this file.

Defines

#define ROM400_ERR_VERSION   1
#define ROM400_IOEXCEPTION   0x0B
#define ROM400_INTERRUPTEDIOEXCEPTION   0x36
#define ROM400_ARRAYINDEXOUTOFBOUNDSEXCEPTION   0x0D
#define ROM400_INTERNALERROR   0x2C
#define ROM400_NULLPOINTEREXCEPTION   0x08
#define ROM400_OUTOFMEMORYERROR   0x30
#define ROM400_BINDEXCEPTION   0x35
#define ROM400_CONNECTEXCEPTION   0x46
#define ROM400_SOCKETEXCEPTION   0x32


Define Documentation

#define ROM400_ARRAYINDEXOUTOFBOUNDSEXCEPTION   0x0D
 

Indicates that the index or offset to an array access was out of bounds.

#define ROM400_BINDEXCEPTION   0x35
 

Indicates that application cannot bind to address (interface unavailable, not a server socket or socket not bound).

#define ROM400_CONNECTEXCEPTION   0x46
 

Indicates that an error occurred trying to connect to a remote port. The connection was probably refused remotely.

#define ROM400_ERR_VERSION   1
 

Version number associated with this header file.

#define ROM400_INTERNALERROR   0x2C
 

Indicates a problem with the network queue.

#define ROM400_INTERRUPTEDIOEXCEPTION   0x36
 

Indicates that a sleep or wait was interrupted.

#define ROM400_IOEXCEPTION   0x0B
 

General error that is returned when a resource (memory, port) is not available or an internal data structure (table) cannot hold more elements or is corrupted.

#define ROM400_NULLPOINTEREXCEPTION   0x08
 

Indicates that a pointer was not able to be dereferenced.

#define ROM400_OUTOFMEMORYERROR   0x30
 

Indicates that the system has run out of kernel or regular memory to allocate.

#define ROM400_SOCKETEXCEPTION   0x32
 

Indicates that a socket is not available (port in use or socket closed).


Copyright 2005 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.