USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
version_helper.h File Reference
#include <Arduino.h>
#include <inttypes.h>
Include dependency graph for version_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __PGMSPACE_H_   1
 
#define PGM_P   const char *
 
#define PSTR(str)   (str)
 
#define F(str)   (str)
 
#define _SFR_BYTE(n)   (n)
 
#define memchr_P(str, c, len)   memchr((str), (c), (len))
 
#define memcmp_P(a, b, n)   memcmp((a), (b), (n))
 
#define memcpy_P(dest, src, num)   memcpy((dest), (src), (num))
 
#define memmem_P(a, alen, b, blen)   memmem((a), (alen), (b), (blen))
 
#define memrchr_P(str, val, len)   memrchr((str), (val), (len))
 
#define strcat_P(dest, src)   strcat((dest), (src))
 
#define strchr_P(str, c)   strchr((str), (c))
 
#define strchrnul_P(str, c)   strchrnul((str), (c))
 
#define strcmp_P(a, b)   strcmp((a), (b))
 
#define strcpy_P(dest, src)   strcpy((dest), (src))
 
#define strcasecmp_P(a, b)   strcasecmp((a), (b))
 
#define strcasestr_P(a, b)   strcasestr((a), (b))
 
#define strlcat_P(dest, src, len)   strlcat((dest), (src), (len))
 
#define strlcpy_P(dest, src, len)   strlcpy((dest), (src), (len))
 
#define strlen_P(s)   strlen((const char *)(s))
 
#define strnlen_P(str, len)   strnlen((str), (len))
 
#define strncmp_P(a, b, n)   strncmp((a), (b), (n))
 
#define strncasecmp_P(a, b, n)   strncasecmp((a), (b), (n))
 
#define strncat_P(a, b, n)   strncat((a), (b), (n))
 
#define strncpy_P(a, b, n)   strncpy((a), (b), (n))
 
#define strpbrk_P(str, chrs)   strpbrk((str), (chrs))
 
#define strrchr_P(str, c)   strrchr((str), (c))
 
#define strsep_P(strp, delim)   strsep((strp), (delim))
 
#define strspn_P(str, chrs)   strspn((str), (chrs))
 
#define strstr_P(a, b)   strstr((a), (b))
 
#define sprintf_P(s,...)   sprintf((s), __VA_ARGS__)
 
#define vfprintf_P(s,...)   vfprintf((s), __VA_ARGS__)
 
#define printf_P(...)   printf(__VA_ARGS__)
 
#define snprintf_P(s, n,...)   ((s), (n), __VA_ARGS__)
 
#define vsprintf_P(s,...)   ((s),__VA_ARGS__)
 
#define vsnprintf_P(s, n,...)   ((s), (n),__VA_ARGS__)
 
#define fprintf_P(s,...)   ((s), __VA_ARGS__)
 
#define pgm_read_byte(addr)   (*(const unsigned char *)(addr))
 
#define pgm_read_word(addr)   (*(const unsigned short *)(addr))
 
#define pgm_read_dword(addr)   (*(const unsigned long *)(addr))
 
#define pgm_read_float(addr)   (*(const float *)(addr))
 
#define pgm_read_byte_near(addr)   pgm_read_byte(addr)
 
#define pgm_read_word_near(addr)   pgm_read_word(addr)
 
#define pgm_read_dword_near(addr)   pgm_read_dword(addr)
 
#define pgm_read_float_near(addr)   pgm_read_float(addr)
 
#define pgm_read_byte_far(addr)   pgm_read_byte(addr)
 
#define pgm_read_word_far(addr)   pgm_read_word(addr)
 
#define pgm_read_dword_far(addr)   pgm_read_dword(addr)
 
#define pgm_read_float_far(addr)   pgm_read_float(addr)
 
#define pgm_read_pointer
 

Macro Definition Documentation

#define __PGMSPACE_H_   1

Definition at line 43 of file version_helper.h.

#define PGM_P   const char *

Definition at line 51 of file version_helper.h.

#define PSTR (   str)    (str)

Definition at line 54 of file version_helper.h.

#define F (   str)    (str)

Definition at line 57 of file version_helper.h.

#define _SFR_BYTE (   n)    (n)

Definition at line 60 of file version_helper.h.

#define memchr_P (   str,
  c,
  len 
)    memchr((str), (c), (len))

Definition at line 64 of file version_helper.h.

#define memcmp_P (   a,
  b,
 
)    memcmp((a), (b), (n))

Definition at line 67 of file version_helper.h.

#define memcpy_P (   dest,
  src,
  num 
)    memcpy((dest), (src), (num))

Definition at line 70 of file version_helper.h.

#define memmem_P (   a,
  alen,
  b,
  blen 
)    memmem((a), (alen), (b), (blen))

Definition at line 73 of file version_helper.h.

#define memrchr_P (   str,
  val,
  len 
)    memrchr((str), (val), (len))

Definition at line 76 of file version_helper.h.

#define strcat_P (   dest,
  src 
)    strcat((dest), (src))

Definition at line 79 of file version_helper.h.

#define strchr_P (   str,
 
)    strchr((str), (c))

Definition at line 82 of file version_helper.h.

#define strchrnul_P (   str,
 
)    strchrnul((str), (c))

Definition at line 85 of file version_helper.h.

#define strcmp_P (   a,
 
)    strcmp((a), (b))

Definition at line 88 of file version_helper.h.

#define strcpy_P (   dest,
  src 
)    strcpy((dest), (src))

Definition at line 91 of file version_helper.h.

#define strcasecmp_P (   a,
 
)    strcasecmp((a), (b))

Definition at line 94 of file version_helper.h.

#define strcasestr_P (   a,
 
)    strcasestr((a), (b))

Definition at line 97 of file version_helper.h.

#define strlcat_P (   dest,
  src,
  len 
)    strlcat((dest), (src), (len))

Definition at line 100 of file version_helper.h.

#define strlcpy_P (   dest,
  src,
  len 
)    strlcpy((dest), (src), (len))

Definition at line 103 of file version_helper.h.

#define strlen_P (   s)    strlen((const char *)(s))

Definition at line 106 of file version_helper.h.

#define strnlen_P (   str,
  len 
)    strnlen((str), (len))

Definition at line 109 of file version_helper.h.

#define strncmp_P (   a,
  b,
 
)    strncmp((a), (b), (n))

Definition at line 112 of file version_helper.h.

#define strncasecmp_P (   a,
  b,
 
)    strncasecmp((a), (b), (n))

Definition at line 115 of file version_helper.h.

#define strncat_P (   a,
  b,
 
)    strncat((a), (b), (n))

Definition at line 118 of file version_helper.h.

#define strncpy_P (   a,
  b,
 
)    strncpy((a), (b), (n))

Definition at line 121 of file version_helper.h.

#define strpbrk_P (   str,
  chrs 
)    strpbrk((str), (chrs))

Definition at line 124 of file version_helper.h.

#define strrchr_P (   str,
 
)    strrchr((str), (c))

Definition at line 127 of file version_helper.h.

#define strsep_P (   strp,
  delim 
)    strsep((strp), (delim))

Definition at line 130 of file version_helper.h.

#define strspn_P (   str,
  chrs 
)    strspn((str), (chrs))

Definition at line 133 of file version_helper.h.

#define strstr_P (   a,
 
)    strstr((a), (b))

Definition at line 136 of file version_helper.h.

#define sprintf_P (   s,
  ... 
)    sprintf((s), __VA_ARGS__)

Definition at line 139 of file version_helper.h.

#define vfprintf_P (   s,
  ... 
)    vfprintf((s), __VA_ARGS__)

Definition at line 142 of file version_helper.h.

#define printf_P (   ...)    printf(__VA_ARGS__)

Definition at line 145 of file version_helper.h.

#define snprintf_P (   s,
  n,
  ... 
)    ((s), (n), __VA_ARGS__)

Definition at line 148 of file version_helper.h.

#define vsprintf_P (   s,
  ... 
)    ((s),__VA_ARGS__)

Definition at line 151 of file version_helper.h.

#define vsnprintf_P (   s,
  n,
  ... 
)    ((s), (n),__VA_ARGS__)

Definition at line 154 of file version_helper.h.

#define fprintf_P (   s,
  ... 
)    ((s), __VA_ARGS__)

Definition at line 157 of file version_helper.h.

#define pgm_read_byte (   addr)    (*(const unsigned char *)(addr))

Definition at line 161 of file version_helper.h.

#define pgm_read_word (   addr)    (*(const unsigned short *)(addr))

Definition at line 164 of file version_helper.h.

#define pgm_read_dword (   addr)    (*(const unsigned long *)(addr))

Definition at line 167 of file version_helper.h.

#define pgm_read_float (   addr)    (*(const float *)(addr))

Definition at line 170 of file version_helper.h.

#define pgm_read_byte_near (   addr)    pgm_read_byte(addr)

Definition at line 174 of file version_helper.h.

#define pgm_read_word_near (   addr)    pgm_read_word(addr)

Definition at line 177 of file version_helper.h.

#define pgm_read_dword_near (   addr)    pgm_read_dword(addr)

Definition at line 180 of file version_helper.h.

#define pgm_read_float_near (   addr)    pgm_read_float(addr)

Definition at line 183 of file version_helper.h.

#define pgm_read_byte_far (   addr)    pgm_read_byte(addr)

Definition at line 186 of file version_helper.h.

#define pgm_read_word_far (   addr)    pgm_read_word(addr)

Definition at line 189 of file version_helper.h.

#define pgm_read_dword_far (   addr)    pgm_read_dword(addr)

Definition at line 192 of file version_helper.h.

#define pgm_read_float_far (   addr)    pgm_read_float(addr)

Definition at line 195 of file version_helper.h.

#define pgm_read_pointer

Definition at line 199 of file version_helper.h.