[En-Nut-Discussion] Reading Program Memory Arrays

Harald Kipp harald.kipp at egnite.de
Tue Oct 8 09:33:53 CEST 2002


>
>What I was wondering was if there were 16 bit and 32 bit versions of this 
>routine. Rather than the cumbersome names I used before, I now suggest the 
>following
>         val_16 = PRG_R16( &ushort_array[ ii ] );
>         val_32 = PRG_R32( &ulong_array [ ii ] );

That makes a lot of sense to me. I'll add it
to compiler.h, 'till we get the avrlibc people
to add it to the lib.

Harald




More information about the En-Nut-Discussion mailing list