WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
Library Common Header File. More...
#include "wizconfig.h"
#include "host/STM32F10x/WIZ_W5200/w5200_evb.h"
#include "host/STM32F10x/WIZ_W7200/w7200_evb.h"
#include "host/STM32F10x/WIZ_W5500/w5500_evb.h"
#include "stm32f10x.h"
#include "host/wizspi.h"
#include "device/w5200/w5200.h"
#include "device/w5500/w5500.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "common/util.h"
#include "device/socket.h"
#include "device/sockutil.h"
#include "host/wizplatform.h"
#include "protocol/DHCP/dhcp.h"
Go to the source code of this file.
Macros | |
#define | ERR(fmt) |
Print Error Log without parameter (+CRLF). More... | |
#define | ERRA(fmt,...) |
Print Error Log with parameter (+CRLF). More... | |
#define | ERRF(fmt) |
Print Error Log without parameter (No CRLF). More... | |
#define | ERRFA(fmt,...) |
Print Error Log with parameter (No CRLF). More... | |
#define | LOG(fmt) |
Print Error Log without parameter (+CRLF). More... | |
#define | LOGA(fmt,...) |
Print Error Log with parameter (+CRLF). More... | |
#define | LOGF(fmt) |
Print Error Log without parameter (No CRLF). More... | |
#define | LOGFA(fmt,...) |
Print Error Log with parameter (No CRLF). More... | |
#define | DBG(fmt) |
Print Error Log without parameter (+CRLF). More... | |
#define | DBGA(fmt,...) |
Print Error Log with parameter (+CRLF). More... | |
#define | DBGF(fmt) |
Print Error Log without parameter (No CRLF). More... | |
#define | DBGFA(fmt,...) |
Print Error Log with parameter (No CRLF). More... | |
#define | DBGCRTC(cond_v, fmt) |
Assert Function, Print Error Log without parameter and Stop for debug. More... | |
#define | DBGCRTCA(cond_v, fmt,...) |
Assert Function, Print Error Log with parameter and Stop for debug. More... | |
#define | NL1 printf("\r\n") |
Print only one CR+LF. More... | |
#define | NL2 printf("\r\n\r\n") |
Print only two CR+LF. More... | |
#define | NL3 printf("\r\n\r\n\r\n") |
Print only three CR+LF. More... | |
Library Common Header File.
This header file influence on all library area directly.
Definition in file common.h.
#define DBG | ( | fmt | ) |
Print Error Log without parameter (+CRLF).
Ex) DBG("Debug Log");
#define DBGA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (+CRLF).
Ex) DBGA("Debug Log - Return Value (%d)", ret);
#define DBGCRTC | ( | cond_v, | |
fmt | |||
) |
Assert Function, Print Error Log without parameter and Stop for debug.
Ex) DBGCRTC("Assert");
#define DBGCRTCA | ( | cond_v, | |
fmt, | |||
... | |||
) |
Assert Function, Print Error Log with parameter and Stop for debug.
Ex) DBGCRTCA("Assert - variable A(%d)", ret);
#define DBGF | ( | fmt | ) |
Print Error Log without parameter (No CRLF).
Ex) DBGF("Debug Log");
#define DBGFA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (No CRLF).
Ex) DBGFA("Debug Log - Return Value (%d)", ret);
#define ERR | ( | fmt | ) |
Print Error Log without parameter (+CRLF).
Ex) ERR("Critical Error Occurred"); // CR+LF Auto Include
#define ERRA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (+CRLF).
Ex) ERRA("Critical Error Occurred - Return Value (%d)", ret); // CR+LF Auto Include
#define ERRF | ( | fmt | ) |
Print Error Log without parameter (No CRLF).
Ex) ERRF("Critical Error Occurred"); // No CR+LF
#define ERRFA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (No CRLF).
Ex) ERRFA("Critical Error Occurred - Return Value (%d)", ret); // No CR+LF
#define LOG | ( | fmt | ) |
Print Error Log without parameter (+CRLF).
Ex) LOG("Normal Log");
#define LOGA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (+CRLF).
Ex) LOGA("Normal Log - Return Value (%d)", ret);
#define LOGF | ( | fmt | ) |
Print Error Log without parameter (No CRLF).
Ex) LOGF("Normal Log");
#define LOGFA | ( | fmt, | |
... | |||
) |
Print Error Log with parameter (No CRLF).
Ex) LOGFA("Normal Log - Return Value (%d)", ret);
#define NL1 printf("\r\n") |
Print only one CR+LF.
Ex) NL1;
#define NL2 printf("\r\n\r\n") |
Print only two CR+LF.
Ex) NL2;
#define NL3 printf("\r\n\r\n\r\n") |
Print only three CR+LF.
Ex) NL3;