Other Parts Discussed in Thread: EK-TM4C123GXL
Tool/software: TI C/C++ Compiler
What would the command be to read from a particular register. I have contents in a register but i'm not sure how to read them and eventually print the contents on putty
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
What would the command be to read from a particular register. I have contents in a register but i'm not sure how to read them and eventually print the contents on putty
Hi,
You can use HWREG() to read the register. You can use UARTprintf() to send to the terminal window. I will suggest you start with the TivaWare examples such as hello.c. The example can be found in <TivaWare_installation>/examples/boards/ek-tm4c123gxl/hell/hello.c. You can also find all the drivers in <TivaWare_installation>/driverlib. Pick any file you will find the HWREG() function to read and write to registers.