Mistake on this page?
Report an issue in GitHub or email us
Macros
debug.h File Reference

Debug messages infrastructure. More...

#include "lwip/arch.h"
#include "lwip/opt.h"

Go to the source code of this file.

Macros

#define LWIP_DEBUGF(debug, message)
 Enable debug message printing, but only if debug message type is enabled AND is of correct type AND is at least LWIP_DBG_LEVEL. More...
 
Debug level (LWIP_DBG_MIN_LEVEL)
#define LWIP_DBG_LEVEL_ALL   0x00
 Debug level: ALL messages. More...
 
#define LWIP_DBG_LEVEL_WARNING   0x01
 Debug level: Warnings. More...
 
#define LWIP_DBG_LEVEL_SERIOUS   0x02
 Debug level: Serious. More...
 
#define LWIP_DBG_LEVEL_SEVERE   0x03
 Debug level: Severe. More...
 
Enable/disable debug messages completely (LWIP_DBG_TYPES_ON)
#define LWIP_DBG_ON   0x80U
 flag for LWIP_DEBUGF to enable that debug message More...
 
#define LWIP_DBG_OFF   0x00U
 flag for LWIP_DEBUGF to disable that debug message More...
 
Debug message types (LWIP_DBG_TYPES_ON)
#define LWIP_DBG_TRACE   0x40U
 flag for LWIP_DEBUGF indicating a tracing message (to follow program flow) More...
 
#define LWIP_DBG_STATE   0x20U
 flag for LWIP_DEBUGF indicating a state debug message (to follow module states) More...
 
#define LWIP_DBG_FRESH   0x10U
 flag for LWIP_DEBUGF indicating newly added code, not thoroughly tested yet More...
 
#define LWIP_DBG_HALT   0x08U
 flag for LWIP_DEBUGF to halt after printing this debug message More...
 

Detailed Description

Debug messages infrastructure.

Definition in file debug.h.

Macro Definition Documentation

#define LWIP_DEBUGF (   debug,
  message 
)

Enable debug message printing, but only if debug message type is enabled AND is of correct type AND is at least LWIP_DBG_LEVEL.

Definition at line 158 of file debug.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.