USB Host Shield 2.0
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)   strncmp((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 36 of file version_helper.h.

#define PGM_P   const char *

Definition at line 44 of file version_helper.h.

#define PSTR (   str)    (str)

Definition at line 47 of file version_helper.h.

#define F (   str)    (str)

Definition at line 50 of file version_helper.h.

#define _SFR_BYTE (   n)    (n)

Definition at line 53 of file version_helper.h.

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

Definition at line 57 of file version_helper.h.

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

Definition at line 60 of file version_helper.h.

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

Definition at line 63 of file version_helper.h.

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

Definition at line 66 of file version_helper.h.

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

Definition at line 69 of file version_helper.h.

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

Definition at line 72 of file version_helper.h.

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

Definition at line 75 of file version_helper.h.

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

Definition at line 78 of file version_helper.h.

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

Definition at line 81 of file version_helper.h.

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

Definition at line 84 of file version_helper.h.

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

Definition at line 87 of file version_helper.h.

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

Definition at line 90 of file version_helper.h.

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

Definition at line 93 of file version_helper.h.

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

Definition at line 96 of file version_helper.h.

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

Definition at line 99 of file version_helper.h.

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

Definition at line 102 of file version_helper.h.

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

Definition at line 105 of file version_helper.h.

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

Definition at line 108 of file version_helper.h.

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

Definition at line 111 of file version_helper.h.

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

Definition at line 114 of file version_helper.h.

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

Definition at line 117 of file version_helper.h.

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

Definition at line 120 of file version_helper.h.

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

Definition at line 123 of file version_helper.h.

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

Definition at line 126 of file version_helper.h.

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

Definition at line 129 of file version_helper.h.

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

Definition at line 132 of file version_helper.h.

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

Definition at line 135 of file version_helper.h.

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

Definition at line 138 of file version_helper.h.

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

Definition at line 141 of file version_helper.h.

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

Definition at line 144 of file version_helper.h.

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

Definition at line 147 of file version_helper.h.

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

Definition at line 150 of file version_helper.h.

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

Definition at line 154 of file version_helper.h.

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

Definition at line 157 of file version_helper.h.

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

Definition at line 160 of file version_helper.h.

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

Definition at line 163 of file version_helper.h.

#define pgm_read_byte_near (   addr)    pgm_read_byte(addr)

Definition at line 167 of file version_helper.h.

#define pgm_read_word_near (   addr)    pgm_read_word(addr)

Definition at line 170 of file version_helper.h.

#define pgm_read_dword_near (   addr)    pgm_read_dword(addr)

Definition at line 173 of file version_helper.h.

#define pgm_read_float_near (   addr)    pgm_read_float(addr)

Definition at line 176 of file version_helper.h.

#define pgm_read_byte_far (   addr)    pgm_read_byte(addr)

Definition at line 179 of file version_helper.h.

#define pgm_read_word_far (   addr)    pgm_read_word(addr)

Definition at line 182 of file version_helper.h.

#define pgm_read_dword_far (   addr)    pgm_read_dword(addr)

Definition at line 185 of file version_helper.h.

#define pgm_read_float_far (   addr)    pgm_read_float(addr)

Definition at line 188 of file version_helper.h.

#define pgm_read_pointer

Definition at line 192 of file version_helper.h.