Skip to content

File wiring_compat.h

FileList > arduino > src > wiring > wiring_compat.h

Go to the source code of this file.

  • #include <Arduino.h>

Public Functions

Type Name
String ipToString (const IPAddress & ip)

Macros

Type Name
define CONFIG_LWIP_MAX_ACTIVE_TCP 16
define ESP_FAIL -1
define ESP_OK 0
define FPSTR (pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
define OUTPUT_OPEN_DRAIN OUTPUT_OPENDRAIN
define PGM_VOID_P const void *
define attachInterruptArg attachInterruptParam
define digitalPinToInterrupt (pin) (pin)
define esp_err_t int
define round (x) ((x) >= 0 ? (long)((x) + 0.5) : (long)((x)-0.5))
define voidFuncPtrArg voidFuncPtrParam
define vsnprintf_P vsnprintf
define xTaskCreatePinnedToCore xTaskCreateUniversal
define xTaskCreateUniversal (pxTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask, xCoreID) xTaskCreate(pxTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask)

Public Functions Documentation

function ipToString

String ipToString (
    const IPAddress & ip
) 

Macro Definition Documentation

define CONFIG_LWIP_MAX_ACTIVE_TCP

#define CONFIG_LWIP_MAX_ACTIVE_TCP 16

define ESP_FAIL

#define ESP_FAIL -1

Generic esp_err_t code indicating failure

define ESP_OK

#define ESP_OK 0

esp_err_t value indicating success (no error)

define FPSTR

#define FPSTR (
    pstr_pointer
) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))

define OUTPUT_OPEN_DRAIN

#define OUTPUT_OPEN_DRAIN OUTPUT_OPENDRAIN

define PGM_VOID_P

#define PGM_VOID_P const void *

define attachInterruptArg

#define attachInterruptArg attachInterruptParam

define digitalPinToInterrupt

#define digitalPinToInterrupt (
    pin
) (pin)

define esp_err_t

#define esp_err_t int

define round

#define round (
    x
) ((x) >= 0 ? (long)((x) + 0.5) : (long)((x)-0.5))

define voidFuncPtrArg

#define voidFuncPtrArg voidFuncPtrParam

define vsnprintf_P

#define vsnprintf_P vsnprintf

define xTaskCreatePinnedToCore

#define xTaskCreatePinnedToCore xTaskCreateUniversal

define xTaskCreateUniversal

#define xTaskCreateUniversal (
    pxTaskCode,
    pcName,
    usStackDepth,
    pvParameters,
    uxPriority,
    pxCreatedTask,
    xCoreID
) xTaskCreate(pxTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask)

The documentation for this class was generated from the following file cores/common/arduino/src/wiring/wiring_compat.h