-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Christoph Plattner
Sent: Monday, January 20, 2003 12:24 AM
To: Volkmar Dierkes
Cc: address@hidden
Subject: Re: [avr-gcc-list] Newbie - should this work?
sorry, but I cannot understad this !
...
So this is the reason, why I cannot understand, that this code
works. Or is the io.h completely written in another way.
I cannot see a way per include files to get a
PORTD = 0x00;
to a
outp (0x00, 0x12);
It is compiler part of work.
Remember also that IO space can be accessed like normal data memory (with
offset).
BTW from avr-libc documentation, deprecated list section:
"Global outp(val, sfr)
For backwards compatibility only. This macro will eventually be removed"
Regards,
--
Artur Lipowski