embedded - Reading value from TAR register in MSP430 -


How should I go about reading the value from the TAR register in MSP 430? I want to see the values, like we have a serial monitor doing this in Ardino, I know that there is nothing in the MSP (except for the energy of the course). I'm coding in CCS 5.5.0.

The registers of the MSP 430 processor are defined in standard headers and then they They can be used, they are the only memory place after all, there is a hold with TAR and TBR registers, in which they can sometimes return the intermediate value if they update as a clock calculation in the update process. If I increase the content then I get this problem Or to deal with, I always use the following code.

uint16_t timer_value; Timer_value = tar; While (timer_value! = TAR) {timer_value = tar; }

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -