MityDSP Documentation Index

e:/hudson/workspace/MityDSP MDK Release/trunk/sw/inc/lwip_port/arch/cc.h File Reference

Compiler definition file for MityDSP lwIP port. More...

#include <string.h>
#include <stdlib.h>
#include <errno.h>

Defines

#define BYTE_ORDER   LITTLE_ENDIAN
#define U16_F   "hu"
#define S16_F   "hd"
#define X16_F   "hx"
#define U32_F   "u"
#define S32_F   "d"
#define X32_F   "x"
#define PACK_STRUCT_STRUCT
#define LWIP_PLATFORM_ASSERT(x)   sys_arch_assert((x), __LINE__, __FILE__)
#define LWIP_PLATFORM_DIAG(x)   if (lwip_printf != NULL) { lwip_printf x; }
#define LWIP_PROVIDE_ERRNO

Typedefs

typedef unsigned char u8_t
typedef char s8_t
typedef unsigned short u16_t
typedef short s16_t
typedef unsigned int u32_t
typedef int s32_t
typedef unsigned int mem_ptr_t

Functions

void sys_arch_assert (const char *msg, int line, const char *file)

Variables

void(* lwip_printf )(const char *fmt,...)
 Define default lwip_printf function.

Detailed Description

Compiler definition file for MityDSP lwIP port.

o 0 | / Copyright (c) 2007 (CL)---o Critical Link, LLC \ O


Define Documentation

#define BYTE_ORDER   LITTLE_ENDIAN
#define U16_F   "hu"
#define S16_F   "hd"
#define X16_F   "hx"
#define U32_F   "u"
#define S32_F   "d"
#define X32_F   "x"
#define PACK_STRUCT_STRUCT
#define LWIP_PLATFORM_ASSERT (  )     sys_arch_assert((x), __LINE__, __FILE__)
#define LWIP_PLATFORM_DIAG (  )     if (lwip_printf != NULL) { lwip_printf x; }
#define LWIP_PROVIDE_ERRNO

Typedef Documentation

typedef unsigned char u8_t
typedef char s8_t
typedef unsigned short u16_t
typedef short s16_t
typedef unsigned int u32_t
typedef int s32_t
typedef unsigned int mem_ptr_t

Function Documentation

void sys_arch_assert ( const char *  apMsg,
int  anLine,
const char *  apFile 
)

Upon failure of an assertion this routine creates an error string, passes it to any registered assertion handlers, and then aborts the current thread.

Parameters:
[in] apMsg Text message associate with assertion.
[in] anLine Line number assertion occurred on.
[in] apFile File that assertion occurred in.
Returns:
None (doesn't return).

Variable Documentation

void(* lwip_printf)(const char *fmt,...)

Define default lwip_printf function.


  
Generated on Fri Sep 23 16:33:59 2011 for MityDSP lwIP Port by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.