|
From: | Marc Wetzel |
Subject: | Re: [avr-gcc-list] Get pointer of progmem data |
Date: | Mon, 22 Apr 2002 19:53:58 +0200 |
Hi,
Hi,ave placed a constant struct array in flash using PROGMEM directive.
Using PRG_RDB i can read init.
struct tmp
{
char b1;
char c1;
};
const struct tmp PROGMEM Keys[ ] =
{
{ 0x01, 'a' },
{ 0x02, 'b' },
{ 0x04, 'c' },
{ 0x08, 'd' },
};
How can i get the address of it ?
struct ps *p = &Keys[ 1 ];
Patrizio Zelotti
address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |