arch/avr8/include/arch/progmem.h File Reference

Program memory access for 8-bit AVR. More...

#include <stdint.h>

Go to the source code of this file.

Defines

#define __progmem   __attribute__((__progmem__))
 Attribute for indicating that a data object is stored in program memory.
#define __progmem_arg
 Attribute for indicating that a pointer argument points into program memory rather than data memory.
#define DECLARE_PROGMEM(type, name)   const type name __progmem
 Declare a variable stored in program memory.
#define DEFINE_PROGMEM(type, name)   const type name __progmem
 Define a variable stored in program memory.

Functions

static uint8_t progmem_read8 (const uint8_t __progmem *p)
 Read a byte stored at address p in program memory.
static uint16_t progmem_read16 (const uint16_t __progmem *p)
 Read a 16-bit word stored at address p in program memory.
static uint32_t progmem_read32 (const uint32_t __progmem *p)
 Read a 32-bit word stored at address p in program memory.

Detailed Description

Program memory access for 8-bit AVR.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file progmem.h.

Generated on Thu Apr 29 15:18:22 2010 for display-training by  doxygen 1.6.3