Microchip® Advanced Software Framework

dev/sam/include/arch/cc.h File Reference

lwIP abstraction layer for SAM.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "osprintf.h"
#include "opt.h"

Macros

#define BYTE_ORDER   LITTLE_ENDIAN
 
#define LWIP_COMPAT_MUTEX   1
 
#define LWIP_PLATFORM_ASSERT(x)   {while (1);}
 
#define LWIP_PLATFORM_DIAG(x)   {;}
 
#define LWIP_PROVIDE_ERRNO
 
#define PACK_STRUCT_BEGIN   _Pragma("GCC diagnostic ignored \"-Wpacked\"")
 
#define PACK_STRUCT_END
 
#define PACK_STRUCT_FIELD(x)   _Pragma("GCC diagnostic ignored \"-Wattributes\"") x
 
#define PACK_STRUCT_STRUCT   __attribute__ ((packed))
 
#define S16_F   "hd"
 
#define S32_F   "d"
 
#define U16_F   "hu"
 
#define U32_F   "u"
 
#define X16_F   "hx"
 
#define X32_F   "x"
 

Typedefs

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

#define BYTE_ORDER   LITTLE_ENDIAN
#define LWIP_COMPAT_MUTEX   1
#define LWIP_PLATFORM_ASSERT (   x)    {while (1);}
#define LWIP_PLATFORM_DIAG (   x)    {;}
#define LWIP_PROVIDE_ERRNO
#define PACK_STRUCT_BEGIN   _Pragma("GCC diagnostic ignored \"-Wpacked\"")
#define PACK_STRUCT_END
#define PACK_STRUCT_FIELD (   x)    _Pragma("GCC diagnostic ignored \"-Wattributes\"") x
#define PACK_STRUCT_STRUCT   __attribute__ ((packed))
#define S16_F   "hd"
#define S32_F   "d"
#define U16_F   "hu"
#define U32_F   "u"
#define X16_F   "hx"
#define X32_F   "x"

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