typedef無符號?char uint 8 _ t;
typedef無符號短整型?int?uint 16 _ t;
typedef無符號?int?uint 32 _ t;
typedef無符號?__int64?uint 64 _ t;
代碼示例:
voidTIM3_Int_Init(u16arr,u16psc)
{
//dosomething...
}
擴展數據
U8、U16和U32的使用
示例:
# defineU32?未簽名
#defineU16?未簽名的short
#定義32?(同Internationalorganizations)國際組織
#defineS16?shortint
#定義8?未簽名字符
#定義8?茶
unsignedchar=u8
unsignedshortint=u16
unsignedlongint=u32