整型转换成十六进制或二进制字符串

一、将 u16Num 转换成 二进制 字符串

/*                                                                                             
***********************************************************************************************
,* Description    : Int2BinStr          将 u16Num 转换成 Bin 字符串 
                    函数使用  :   u8* u8BinStr = Int2BinStr(u16Num, u8Width) ; 
                    具体操作  :
                    使用后    :   free(u8BinStr);
,* Input          : u16 u16Num, u8 u8Width                                                                         
,* Output         : 无                                                                         
,* Return         : u8BinStr                                                                         
,* Date           : 2023.08.25
,* author         : By yangbocsu
***********************************************************************

猜你喜欢

转载自blog.csdn.net/qq_38689263/article/details/132505954