Jump to content
Sign in to follow this  
none

TI MSP430 datasheet improvements

Recommended Posts

"Dear TI,

I think your data sheets can be improved. Please ..."

 

- use a font that clearly symbols O and 0

- make a table in the device datasheet that clearly lists which features are available (SVS? How many compare units? )

- match register setting symbols between datasheet and header files ("UCMODEx" in datasheet, but "UCMODE_x" in header)

Share this post


Link to post
Share on other sites
"...- match register setting symbols between datasheet and header files ("UCMODEx" in datasheet, but "UCMODE_x" in header)

Not sure which chip you are talking about, but the general rule is:

BLAHx is a feature's bit in the register

BLAH_x is a number for the feature's set of bits and is usually x * BLAH0

 

For example

 

BLAH0 is bit one, BLAH1 is bit two, and they can be anywhere in the register, like bit5 and bit6. 01100000

BLAH_0 is a combination of BLAH0 and BLAH1 and it's 00 - 00000000

BLAH_1 is 01 - 00100000

BLAH_2 is 10 - 01000000

BLAH_3 is 11 - 01100000, and so on if there's BLAH2

Share this post


Link to post
Share on other sites
BLAHx is a feature's bit in the register

BLAH_x is a number for the feature's set of bits and is usually x * BLAH0

Ok I get it, but I still think this is easily misunderstood. It's not distinctly clear (to me) whether UCMODEx refers to bit x in a range, or the range itself. I thought it would refer to the range and thus UCMODE3 would be the value for the range.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...