Tool/software: TI C/C++ Compiler
Hello,
I'm implementing code that interfaces with external devices using the external interface on the TMS320F28335. One of the addresses has two uses depending on whether it is a read or a write operation. Writing to the address controls a relay. Reading from the address gets the device version.
All of the other locations are being configured using a linker command file. While I can do this here, by having code to abstract an address based on the read or write operation, I'd rather pragma two variables to the same address; one a const that when read is the device version, while the other can be written to to set the relay state. Is this possible?
Thanks,
Jonathan