#include <avr/io.h>#include <avr/pgmspace.h>Data Structures | |
| struct | ButtLoadTagData |
Defines | |
| #define | BUTTLOADTAG(id, data) |
| #define | BUTTLOADTAG_DATA(id) BUTTTAG_##id.TagData |
These tags are compatible with the ButtLoad project at http://www.fourwalledcubicle.com/ButtLoad.php .
| #define BUTTLOADTAG | ( | id, | |||
| data | ) |
Value:
const struct ButtLoadTagData BUTTTAG_##id \ PROGMEM __attribute__((used, externally_visible)) = \ {MagicString: BT_TAGHEADER, TagData: data}
| #define BUTTLOADTAG_DATA | ( | id | ) | BUTTTAG_##id.TagData |
Macro for retrieving a reference to the specified tag's contents. The tag data is located in the program memory (FLASH) space, and so must be read out with the macros in avr-libc which deal with embedded data.
1.5.5