USB Host Shield 2.0
|
#include <Arduino.h>
#include <inttypes.h>
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 |
Typedefs | |
typedef void | prog_void |
typedef char | prog_char |
typedef unsigned char | prog_uchar |
typedef int8_t | prog_int8_t |
typedef uint8_t | prog_uint8_t |
typedef int16_t | prog_int16_t |
typedef uint16_t | prog_uint16_t |
typedef int32_t | prog_int32_t |
typedef uint32_t | prog_uint32_t |
#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 85 of file version_helper.h.
#define memcmp_P | ( | a, | |
b, | |||
n | |||
) | memcmp((a), (b), (n)) |
Definition at line 88 of file version_helper.h.
#define memcpy_P | ( | dest, | |
src, | |||
num | |||
) | memcpy((dest), (src), (num)) |
Definition at line 91 of file version_helper.h.
#define memmem_P | ( | a, | |
alen, | |||
b, | |||
blen | |||
) | memmem((a), (alen), (b), (blen)) |
Definition at line 94 of file version_helper.h.
#define memrchr_P | ( | str, | |
val, | |||
len | |||
) | memrchr((str), (val), (len)) |
Definition at line 97 of file version_helper.h.
#define strcat_P | ( | dest, | |
src | |||
) | strcat((dest), (src)) |
Definition at line 100 of file version_helper.h.
#define strchr_P | ( | str, | |
c | |||
) | strchr((str), (c)) |
Definition at line 103 of file version_helper.h.
#define strchrnul_P | ( | str, | |
c | |||
) | strchrnul((str), (c)) |
Definition at line 106 of file version_helper.h.
#define strcmp_P | ( | a, | |
b | |||
) | strcmp((a), (b)) |
Definition at line 109 of file version_helper.h.
#define strcpy_P | ( | dest, | |
src | |||
) | strcpy((dest), (src)) |
Definition at line 112 of file version_helper.h.
#define strcasecmp_P | ( | a, | |
b | |||
) | strcasecmp((a), (b)) |
Definition at line 115 of file version_helper.h.
#define strcasestr_P | ( | a, | |
b | |||
) | strcasestr((a), (b)) |
Definition at line 118 of file version_helper.h.
#define strlcat_P | ( | dest, | |
src, | |||
len | |||
) | strlcat((dest), (src), (len)) |
Definition at line 121 of file version_helper.h.
#define strlcpy_P | ( | dest, | |
src, | |||
len | |||
) | strlcpy((dest), (src), (len)) |
Definition at line 124 of file version_helper.h.
#define strlen_P | ( | s | ) | strlen((const char *)(s)) |
Definition at line 127 of file version_helper.h.
#define strnlen_P | ( | str, | |
len | |||
) | strnlen((str), (len)) |
Definition at line 130 of file version_helper.h.
#define strncmp_P | ( | a, | |
b, | |||
n | |||
) | strncmp((a), (b), (n)) |
Definition at line 133 of file version_helper.h.
#define strncasecmp_P | ( | a, | |
b, | |||
n | |||
) | strncasecmp((a), (b), (n)) |
Definition at line 136 of file version_helper.h.
#define strncat_P | ( | a, | |
b, | |||
n | |||
) | strncat((a), (b), (n)) |
Definition at line 139 of file version_helper.h.
#define strncpy_P | ( | a, | |
b, | |||
n | |||
) | strncmp((a), (b), (n)) |
Definition at line 142 of file version_helper.h.
#define strpbrk_P | ( | str, | |
chrs | |||
) | strpbrk((str), (chrs)) |
Definition at line 145 of file version_helper.h.
#define strrchr_P | ( | str, | |
c | |||
) | strrchr((str), (c)) |
Definition at line 148 of file version_helper.h.
#define strsep_P | ( | strp, | |
delim | |||
) | strsep((strp), (delim)) |
Definition at line 151 of file version_helper.h.
#define strspn_P | ( | str, | |
chrs | |||
) | strspn((str), (chrs)) |
Definition at line 154 of file version_helper.h.
#define strstr_P | ( | a, | |
b | |||
) | strstr((a), (b)) |
Definition at line 157 of file version_helper.h.
#define sprintf_P | ( | s, | |
... | |||
) | sprintf((s), __VA_ARGS__) |
Definition at line 160 of file version_helper.h.
#define vfprintf_P | ( | s, | |
... | |||
) | vfprintf((s), __VA_ARGS__) |
Definition at line 163 of file version_helper.h.
#define printf_P | ( | ... | ) | printf(__VA_ARGS__) |
Definition at line 166 of file version_helper.h.
#define snprintf_P | ( | s, | |
n, | |||
... | |||
) | ((s), (n), __VA_ARGS__) |
Definition at line 169 of file version_helper.h.
#define vsprintf_P | ( | s, | |
... | |||
) | ((s),__VA_ARGS__) |
Definition at line 172 of file version_helper.h.
#define vsnprintf_P | ( | s, | |
n, | |||
... | |||
) | ((s), (n),__VA_ARGS__) |
Definition at line 175 of file version_helper.h.
#define fprintf_P | ( | s, | |
... | |||
) | ((s), __VA_ARGS__) |
Definition at line 178 of file version_helper.h.
#define pgm_read_byte | ( | addr | ) | (*(const unsigned char *)(addr)) |
Definition at line 182 of file version_helper.h.
#define pgm_read_word | ( | addr | ) | (*(const unsigned short *)(addr)) |
Definition at line 185 of file version_helper.h.
#define pgm_read_dword | ( | addr | ) | (*(const unsigned long *)(addr)) |
Definition at line 188 of file version_helper.h.
#define pgm_read_float | ( | addr | ) | (*(const float *)(addr)) |
Definition at line 191 of file version_helper.h.
#define pgm_read_byte_near | ( | addr | ) | pgm_read_byte(addr) |
Definition at line 195 of file version_helper.h.
#define pgm_read_word_near | ( | addr | ) | pgm_read_word(addr) |
Definition at line 198 of file version_helper.h.
#define pgm_read_dword_near | ( | addr | ) | pgm_read_dword(addr) |
Definition at line 201 of file version_helper.h.
#define pgm_read_float_near | ( | addr | ) | pgm_read_float(addr) |
Definition at line 204 of file version_helper.h.
#define pgm_read_byte_far | ( | addr | ) | pgm_read_byte(addr) |
Definition at line 207 of file version_helper.h.
#define pgm_read_word_far | ( | addr | ) | pgm_read_word(addr) |
Definition at line 210 of file version_helper.h.
#define pgm_read_dword_far | ( | addr | ) | pgm_read_dword(addr) |
Definition at line 213 of file version_helper.h.
#define pgm_read_float_far | ( | addr | ) | pgm_read_float(addr) |
Definition at line 216 of file version_helper.h.
#define pgm_read_pointer |
Definition at line 220 of file version_helper.h.
typedef void prog_void |
Definition at line 57 of file version_helper.h.
typedef char prog_char |
Definition at line 60 of file version_helper.h.
typedef unsigned char prog_uchar |
Definition at line 63 of file version_helper.h.
typedef int8_t prog_int8_t |
Definition at line 66 of file version_helper.h.
typedef uint8_t prog_uint8_t |
Definition at line 69 of file version_helper.h.
typedef int16_t prog_int16_t |
Definition at line 72 of file version_helper.h.
typedef uint16_t prog_uint16_t |
Definition at line 75 of file version_helper.h.
typedef int32_t prog_int32_t |
Definition at line 78 of file version_helper.h.
typedef uint32_t prog_uint32_t |
Definition at line 81 of file version_helper.h.