MityDSP Documentation Index
Macros | Typedefs | Functions | Variables
cc.h File Reference

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

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

Macros

#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


Macro Definition 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 (   x)    sys_arch_assert((x), __LINE__, __FILE__)
#define LWIP_PLATFORM_DIAG (   x)    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]apMsgText message associate with assertion.
[in]anLineLine number assertion occurred on.
[in]apFileFile that assertion occurred in.
Returns:
None (doesn't return).

Variable Documentation

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

Define default lwip_printf function.


  
Generated on Mon Apr 22 2013 11:33:29 for MityDSP lwIP Port by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.