这几种方式都是在表达同1个意思,没有区别。
typedefunsigned char uint8_t;
typedefunsignedshort int uint16_t;
typedefunsigned int uin记候治训止无尽命t32_t;
typedefunsigned __int64 uint64_t;
代码示例:
vo来自idTIM3_Int_Init(u16arr,u16psc)
{
//dosomething...
}
扩展资料
u8,u16,u32360问答的使用
示例:
#defineU32 unsignedint
#defineU16 unsignedshort
#defineS32 int
#defineS16 shortint
#defineU8 unsignedchar
#defineS8 char
unsign井利超酸手固edchar=u8
unsignedshortint=u16
uns和油丝服应ignedlongin再氧头数航首治不t=u32