Microchip® Advanced Software Framework

top_defs.h File Reference
#include <stdlib.h>
#include <stdint.h>

Macros

#define ARRAY_SIZE(a)   sizeof(a) / sizeof((a)[0])
 
#define PACKED   __attribute__ ((__packed__))
 
#define UNREF(x)   x = x
 
#define USED   __attribute__ ((__used__))
 
#define WEAK_DECL   __attribute__ ((__weak__))
 
#define WL_ASSERT(cond)
 
#define WL_DEBUG(args...)   printk(args)
 

#define ARRAY_SIZE (   a)    sizeof(a) / sizeof((a)[0])
#define PACKED   __attribute__ ((__packed__))
#define UNREF (   x)    x = x
#define USED   __attribute__ ((__used__))
#define WEAK_DECL   __attribute__ ((__weak__))
#define WL_ASSERT (   cond)
Value:
do { \
if (!(cond)) { \
printk("%s:%d\n", __FILE__, __LINE__); \
for(;;); \
} \
} while(0)
int printk(const char *format,...)
Definition: thirdparty/hd/example/spbfw_download/util/printf-stdarg.c:232
if(memp!=NULL)
Definition: lwip-1.4.1/src/core/memp.c:407
for(i=0;i< DCTSIZE2;i++)
Definition: jcmarker.c:156
#define WL_DEBUG (   args...)    printk(args)