roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
progmem.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PROGMEM
 
#define pgm_read_byte(addr)   (*(const unsigned char *)(addr))
 
#define pgm_read_word(addr)
 
#define pgm_read_dword(addr)
 
#define pgm_read_float(addr)
 
#define pgm_read_ptr(addr)
 

Macro Definition Documentation

◆ pgm_read_byte

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

Definition at line 14 of file progmem.h.

◆ pgm_read_dword

#define pgm_read_dword (   addr)
Value:
({ \
typeof(addr) _addr = (addr); \
*(const unsigned long *)(_addr); \
})

Definition at line 26 of file progmem.h.

◆ pgm_read_float

#define pgm_read_float (   addr)
Value:
({ \
typeof(addr) _addr = (addr); \
*(const float *)(_addr); \
})

Definition at line 34 of file progmem.h.

◆ pgm_read_ptr

#define pgm_read_ptr (   addr)
Value:
({ \
typeof(addr) _addr = (addr); \
*(void *const *)(_addr); \
})

Definition at line 42 of file progmem.h.

◆ pgm_read_word

#define pgm_read_word (   addr)
Value:
({ \
typeof(addr) _addr = (addr); \
*(const unsigned short *)(_addr); \
})

Definition at line 18 of file progmem.h.

◆ PROGMEM

#define PROGMEM

Definition at line 10 of file progmem.h.