|
楼主 |
发表于 2008-7-19 19:56:53
|
显示全部楼层
找到答案了:
Plz Help Me ..In msp340 header file #define SHT0_0 (0*0x100u)
What is the meaning of than "u" in the hex value..
arunkumarvkm wrote:
> Sir
>
> Plz Help Me ..In msp340 header file #define SHT0_0 (0*0x100u)
>
> What is the meaning of than "u" in the hex value..
It means that it should be treated as an unsigned integer.
There are other suffixes as well, "L" means long and "LL" meand long
long (for those that support it).
In this case the "U" probably doesn't matter, but it might in situations
where a larger integer in the range 0x8000-0xFFFF are used.
-- Anders Lindgren, IAR Systems
--
Disclaimer: Opinions expressed in this posting are strictly my own and
not necessarily those of my employer. |
|