#include "BetterStream.h"#include <avr/pgmspace.h>#include <stdarg.h>#include <string.h>#include "ftoa_engine.h"#include "ntz.h"#include "xtoa_fast.h"
Go to the source code of this file.
Defines | |
| #define | PROGMEM __attribute__(( section(".progmem.data") )) |
| #define | PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];})) |
| #define | GETBYTE(flag, mask, pnt) |
| #define | FL_ZFILL 0x01 |
| #define | FL_PLUS 0x02 |
| #define | FL_SPACE 0x04 |
| #define | FL_LPAD 0x08 |
| #define | FL_ALT 0x10 |
| #define | FL_WIDTH 0x20 |
| #define | FL_PREC 0x40 |
| #define | FL_LONG 0x80 |
| #define | FL_PGMSTRING FL_LONG |
| #define | FL_NEGATIVE FL_LONG |
| #define | FL_ALTUPP FL_PLUS |
| #define | FL_ALTHEX FL_SPACE |
| #define | FL_FLTUPP FL_ALT |
| #define | FL_FLTEXP FL_PREC |
| #define | FL_FLTFIX FL_LONG |
| #define FL_ALT 0x10 |
Definition at line 85 of file vprintf.cpp.
| #define FL_ALTHEX FL_SPACE |
Definition at line 94 of file vprintf.cpp.
| #define FL_ALTUPP FL_PLUS |
Definition at line 93 of file vprintf.cpp.
| #define FL_FLTEXP FL_PREC |
Definition at line 97 of file vprintf.cpp.
| #define FL_FLTFIX FL_LONG |
Definition at line 98 of file vprintf.cpp.
| #define FL_FLTUPP FL_ALT |
Definition at line 96 of file vprintf.cpp.
| #define FL_LONG 0x80 |
Definition at line 88 of file vprintf.cpp.
| #define FL_LPAD 0x08 |
Definition at line 84 of file vprintf.cpp.
| #define FL_NEGATIVE FL_LONG |
Definition at line 91 of file vprintf.cpp.
| #define FL_PGMSTRING FL_LONG |
Definition at line 90 of file vprintf.cpp.
| #define FL_PLUS 0x02 |
Definition at line 82 of file vprintf.cpp.
| #define FL_PREC 0x40 |
Definition at line 87 of file vprintf.cpp.
| #define FL_SPACE 0x04 |
Definition at line 83 of file vprintf.cpp.
| #define FL_WIDTH 0x20 |
Definition at line 86 of file vprintf.cpp.
| #define FL_ZFILL 0x01 |
Definition at line 81 of file vprintf.cpp.
| #define GETBYTE | ( | flag, | ||
| mask, | ||||
| pnt | ||||
| ) |
({ \
unsigned char __c; \
asm ( \
"sbrc %2,%3 \n\t" \
"lpm %0,Z+ \n\t" \
"sbrs %2,%3 \n\t" \
"ld %0,Z+ " \
: "=r" (__c), \
"+z" (pnt) \
: "r" (flag), \
"I" (ntz(mask)) \
); \
__c; \
})
Definition at line 57 of file vprintf.cpp.
| #define PROGMEM __attribute__(( section(".progmem.data") )) |
Definition at line 53 of file vprintf.cpp.
| #define PSTR | ( | s | ) | (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];})) |
Definition at line 55 of file vprintf.cpp.