Hallo
Thanks for your answers. But i have some more questions.
I use this
IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, <OFFSET>, <DATA>);
IORD(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, <OFFSET>);
makros.
But i have some questions about the OFFSET. How can i know which offset i have to use.
I have 4 address Read Slave and 4addr Write Slave Bus
IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 0, a);
IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 1,
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif ;
IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 2, c);
IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 3, d);
Is it correct that i write a,b,c and d to the 4 adresse ligns? Can i read things like datatreadyforread....