新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 面向51單片機(jī)的Keil uVision4基本數(shù)據(jù)類型簡介

面向51單片機(jī)的Keil uVision4基本數(shù)據(jù)類型簡介

作者: 時間:2012-08-20 來源:網(wǎng)絡(luò) 收藏

本文引用地址:http://2s4d.com/article/171018.htm

表1 51各種屬性一覽表

qTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTrU類  別U  數(shù)  據(jù)  類  型  U長 度U           值  域            UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned char     U1字節(jié)U0~255                       UU字符型Usigned char       U1字節(jié)U-128~+127                   UU      Uchar              U1字節(jié)U-128~+127                   UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned short intU2字節(jié)U0~65535                     UU      Usigned short int  U2字節(jié)U-32768~+32767               UU      Ushort int         U2字節(jié)U-32768~+32767               UU      UTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned short    U2字節(jié)U0~65535                     UU整  型Usigned short      U2字節(jié)U-32768~+32767               UU      Ushort             U2字節(jié)U-32768~+32767               UU      UTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned int      U2字節(jié)U0~65535                     UU      Usigned int        U2字節(jié)U-32768~+32767               UU      Uint               U2字節(jié)U-32768~+32767               UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned long int U4字節(jié)U0~4294967295                UU      Usigned long int   U4字節(jié)U-2147483648~+2147483647     UU      Ulong int          U4字節(jié)U-2147483648~+2147483647     UU長整型UTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Uunsigned long     U4字節(jié)U0~4294967295                UU      Usigned long       U4字節(jié)U-2147483648~+2147483647     UU      Ulong              U4字節(jié)U-2147483648~+2147483647     UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Ufloat             U4字節(jié)U±1.75494E-38~±3.402823E+38UU浮點(diǎn)型Udouble            U4字節(jié)U±1.75494E-38~±3.402823E+38UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Ubit               U1位  U0,1                         UU位  型Usbit              U1位  U0,1                         UUTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTUU      Usbit              U1位  U0,1                         UUSFR 型Usfr               U1字節(jié)U0~255                       UU      Usfr16             U2字節(jié)U0~65535                     UtTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTs

51單片機(jī)相關(guān)文章:51單片機(jī)教程


c語言相關(guān)文章:c語言教程



上一頁 1 2 下一頁

評論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉