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.

MSP430F248: Peripheral Register bit definitions

Part Number: MSP430F248

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.

  • Hello Bob,

    Every peripheral has their registers defined in the family User Guide for the part it is on. The registers for a specific peripheral are defined and outlined at the end of the respective peripheral chapter. For example, the TimerB module has its register definitions in section 13.3 of the User Guide.
  • This certainly does not tell me which bits are where in which register. The dot h file is fine but it does not define the register(s) - for example the flash control registers although there are many, many examples. When I'm writing in assembly I really do need register bit information and itss damn nice to have in c. It used to be provided. Where is it now???
  • This certainly does not tell me which bits are where in which register. The dot h file is fine but it does not define the register(s) - for example the flash control registers although there are many, many examples. When I'm writing in assembly I really do need register bit information and itss damn nice to have in c. It used to be provided. Where is it now???
  • got it. I see JH says, "refer to the family User Guide," but that's a little non-specific.
    You want the document titled MSP430x2xx Family User's Guide (Rev. J)
    Which can be downloaded from TI at this URL: www.ti.com/.../slau144j.pdf
  • Bob,

    To clarify, the family user guide for your part is located on its product page. this allows you to get the most up to date version.  MSP430F248

  • nope. sure liked the old users guides with the info in them
  • 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