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)   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

◆ __PGMSPACE_H_

#define __PGMSPACE_H_   1

Definition at line 43 of file version_helper.h.

◆ PGM_P

#define PGM_P   const char *

Definition at line 51 of file version_helper.h.

◆ PSTR

#define PSTR (   str)    (str)

Definition at line 54 of file version_helper.h.

◆ F

#define F (   str)    (str)

Definition at line 57 of file version_helper.h.

◆ _SFR_BYTE

#define _SFR_BYTE (   n)    (n)

Definition at line 60 of file version_helper.h.

◆ memchr_P

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

Definition at line 64 of file version_helper.h.

◆ memcmp_P

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

Definition at line 67 of file version_helper.h.

◆ memcpy_P

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

Definition at line 70 of file version_helper.h.

◆ memmem_P

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

Definition at line 73 of file version_helper.h.

◆ memrchr_P

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

Definition at line 76 of file version_helper.h.

◆ strcat_P

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

Definition at line 79 of file version_helper.h.

◆ strchr_P

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

Definition at line 82 of file version_helper.h.

◆ strchrnul_P

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

Definition at line 85 of file version_helper.h.

◆ strcmp_P

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

Definition at line 88 of file version_helper.h.

◆ strcpy_P

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

Definition at line 91 of file version_helper.h.

◆ strcasecmp_P

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

Definition at line 94 of file version_helper.h.

◆ strcasestr_P

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

Definition at line 97 of file version_helper.h.

◆ strlcat_P

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

Definition at line 100 of file version_helper.h.

◆ strlcpy_P

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

Definition at line 103 of file version_helper.h.

◆ strlen_P

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

Definition at line 106 of file version_helper.h.

◆ strnlen_P

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

Definition at line 109 of file version_helper.h.

◆ strncmp_P

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

Definition at line 112 of file version_helper.h.

◆ strncasecmp_P

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

Definition at line 115 of file version_helper.h.

◆ strncat_P

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

Definition at line 118 of file version_helper.h.

◆ strncpy_P

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

Definition at line 121 of file version_helper.h.

◆ strpbrk_P

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

Definition at line 124 of file version_helper.h.

◆ strrchr_P

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

Definition at line 127 of file version_helper.h.

◆ strsep_P

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

Definition at line 130 of file version_helper.h.

◆ strspn_P

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

Definition at line 133 of file version_helper.h.

◆ strstr_P

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

Definition at line 136 of file version_helper.h.

◆ sprintf_P

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

Definition at line 139 of file version_helper.h.

◆ vfprintf_P

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

Definition at line 142 of file version_helper.h.

◆ printf_P

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

Definition at line 145 of file version_helper.h.

◆ snprintf_P

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

Definition at line 148 of file version_helper.h.

◆ vsprintf_P

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

Definition at line 151 of file version_helper.h.

◆ vsnprintf_P

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

Definition at line 154 of file version_helper.h.

◆ fprintf_P

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

Definition at line 157 of file version_helper.h.

◆ pgm_read_byte

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

Definition at line 161 of file version_helper.h.

◆ pgm_read_word

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

Definition at line 164 of file version_helper.h.

◆ pgm_read_dword

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

Definition at line 167 of file version_helper.h.

◆ pgm_read_float

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

Definition at line 170 of file version_helper.h.

◆ pgm_read_byte_near

#define pgm_read_byte_near (   addr)    pgm_read_byte(addr)

Definition at line 174 of file version_helper.h.

◆ pgm_read_word_near

#define pgm_read_word_near (   addr)    pgm_read_word(addr)

Definition at line 177 of file version_helper.h.

◆ pgm_read_dword_near

#define pgm_read_dword_near (   addr)    pgm_read_dword(addr)

Definition at line 180 of file version_helper.h.

◆ pgm_read_float_near

#define pgm_read_float_near (   addr)    pgm_read_float(addr)

Definition at line 183 of file version_helper.h.

◆ pgm_read_byte_far

#define pgm_read_byte_far (   addr)    pgm_read_byte(addr)

Definition at line 186 of file version_helper.h.

◆ pgm_read_word_far

#define pgm_read_word_far (   addr)    pgm_read_word(addr)

Definition at line 189 of file version_helper.h.

◆ pgm_read_dword_far

#define pgm_read_dword_far (   addr)    pgm_read_dword(addr)

Definition at line 192 of file version_helper.h.

◆ pgm_read_float_far

#define pgm_read_float_far (   addr)    pgm_read_float(addr)

Definition at line 195 of file version_helper.h.

◆ pgm_read_pointer

#define pgm_read_pointer

Definition at line 199 of file version_helper.h.