Microchip® Advanced Software Framework

lwip/lwip-port-1.4.1/sam/include/arch/cc.h File Reference

lwIP abstraction layer for SAM.

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

#include <stdio.h>
#include <stdint.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
 
#define PACK_STRUCT_END
 
#define PACK_STRUCT_FIELD(x)   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 uintptr_t mem_ptr_t
 
typedef int16_t s16_t
 
typedef int32_t s32_t
 
typedef int8_t s8_t
 
typedef uint16_t u16_t
 
typedef uint32_t u32_t
 
typedef uint8_t 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
#define PACK_STRUCT_END
#define PACK_STRUCT_FIELD (   x)    x
#define PACK_STRUCT_STRUCT   __attribute__ ((packed))
#define S16_F   "hd"

Referenced by mem_malloc(), and pbuf_header().

#define S32_F   "d"
#define U16_F   "hu"
#define U32_F   "u"
#define X16_F   "hx"
#define X32_F   "x"

typedef uintptr_t mem_ptr_t
typedef int16_t s16_t
typedef int32_t s32_t
typedef int8_t s8_t
typedef uint16_t u16_t
typedef uint32_t u32_t
typedef uint8_t u8_t