Where are the peripheral register bits defined? Can't seem to find it.
It used to be in the User's Guide I think but isn't now.
Regards
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.
Where are the peripheral register bits defined? Can't seem to find it.
It used to be in the User's Guide I think but isn't now.
Regards
when you include <msp430.h>, this in turns includes <msp430f248.h> because of compile time macros.
You can look for msp430f248.h in your file system. (Ti puts a dozen copies in various places).
For example, see C:\ti\ccsv7\ccs_base\msp430\include\msp430f248.h
You can also click on any symbol in your source code, that is a Peripheral Register reference, then press Function F3 -- which brings up the msp430f248.h file.
Bob,
Can you clarify which peripheral you are looking for register definitions? the last revision of this family's user guide was in 2013 (Rev J), and we haven't had a format change of the document since REV G.
For example, below is an attached picture of a Timer A Register definition taken from the user guide. I assure you similar register definitions are provided for our other peripherals as well.
**Attention** This is a public forum