# cc.h File Reference

## Detailed Description

Basic header that describes the compiler and AVR32 UC3 to lwIP.

- Compiler: GNU GCC for AVR32
- Supported devices: All AVR32 devices can be used.
- AppNote:

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file cc.h.

`#include <stdlib.h>`
`#include <string.h>`
`#include <stdarg.h>`
`#include "print_funcs.h"`

Go to the source code of this file.

## Defines
#define | BYTE_ORDER BIG_ENDIAN
#define | LWIP_PLATFORM_ASSERT(x)
#define | LWIP_PLATFORM_DIAG(x) { char tmpbuf[150];sprintf(tmpbuf,x);print_dbg(tmpbuf);}
#define | LWIP_PROVIDE_ERRNO
#define | PACK_STRUCT_BEGIN
#define | PACK_STRUCT_END
#define | PACK_STRUCT_FIELD(x) x
#define | PACK_STRUCT_STRUCT __attribute__ ((__packed__))
#define | S16_F "hd"
#define | S32_F "ld"
#define | U16_F "hu"
#define | U32_F "lu"
#define | X16_F "hx"
#define | X32_F "lx"
## Typedefs
typedef u32_t | mem_ptr_t
typedef signed short | s16_t
typedef signed long | s32_t
typedef signed char | s8_t
typedef unsigned short | u16_t
typedef unsigned long | u32_t
typedef unsigned char | u8_t

## Define Documentation

#define BYTE_ORDER BIG_ENDIAN

Definition at line 55 of file cc.h.

#define LWIP_PLATFORM_ASSERT | ( | x |  | ) |

Value:

    do {/*printf("Assertion \"%s\" failed at line %d in %s\n", x, __LINE__, __FILE__); \
                                          fflush(NULL); abort();*/} while(1)

Definition at line 110 of file cc.h.

#define LWIP_PLATFORM_DIAG | ( | x |  | ) | { char tmpbuf[150];sprintf(tmpbuf,x);print_dbg(tmpbuf);}

Definition at line 107 of file cc.h.

#define LWIP_PROVIDE_ERRNO

Definition at line 112 of file cc.h.

#define PACK_STRUCT_BEGIN

Definition at line 86 of file cc.h.

#define PACK_STRUCT_END

Definition at line 92 of file cc.h.

#define PACK_STRUCT_FIELD | ( | x |  | ) | x

Definition at line 77 of file cc.h.

#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))

Definition at line 80 of file cc.h.

#define S16_F "hd"

Definition at line 70 of file cc.h.

#define S32_F "ld"

Definition at line 73 of file cc.h.

#define U16_F "hu"

Definition at line 69 of file cc.h.

#define U32_F "lu"

Definition at line 72 of file cc.h.

#define X16_F "hx"

Definition at line 71 of file cc.h.

#define X32_F "lx"

Definition at line 74 of file cc.h.

## Typedef Documentation

typedef u32_t mem_ptr_t

Definition at line 66 of file cc.h.

typedef signed short s16_t

Definition at line 62 of file cc.h.

typedef signed long s32_t

Definition at line 64 of file cc.h.

typedef signed char s8_t

Definition at line 60 of file cc.h.

typedef unsigned short u16_t

Definition at line 61 of file cc.h.

typedef unsigned long u32_t

Definition at line 63 of file cc.h.

typedef unsigned char u8_t

Definition at line 59 of file cc.h.