lwIP network interface integration library
Loading...
Searching...
No Matches
Group_lwip_network_interface_integration_macros

General Description

Macros

#define UNUSED_VARIABLE(x)   ( (void)(x) )
 Suppress unused variable warning.
 
#define PROTECTED_FUNC_CALL(func)
 Protect the function call by acquiring LwIP Core lock.
 
#define CY_MAC_ADDR_LEN   (6U)
 MAC address length.
 

Macro Definition Documentation

◆ PROTECTED_FUNC_CALL

#define PROTECTED_FUNC_CALL (   func)
Value:
LOCK_TCPIP_CORE(); \
func; \
UNLOCK_TCPIP_CORE();

Protect the function call by acquiring LwIP Core lock.