This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bus communicaton

Hallo
I want to establish a bus communication
between the C167 and a peripheral circuit.
E.g. I want to write the Number 17 to the
address 0x100000. I have written a header file myheader.h with the following content: " #define reg0 0x100000"
In the .C programm I have included this header file #include<myheader.h>.
Problem: I can not write a value to reg0.
When I'm writing reg0=17; in the .C programm then I get the error massage C100.

Please help me!
Thank you

0