⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 format_transformed.h

📁 s3c2440的LCD控制器驱动程序 ps 无操作系统的情况
💻 H
字号:
/*
******************************************************************************************************************
*                                            xxx project ---- xxx module
*
*                        Copyright(C), 2006-2007, Allwinner Microelectronic Co., Ltd.
*											All Rights Reserved
*
*File Name: format_transformed.h
*
*Author: Wang Yugang
*
*Version  1.0
*
*Date  2007.7.30
*
*Description: test void UART_printf( const char * str, ...)
*
*Others : None at present.
*
*
* History :
*
* <Author>          <time>      <version>     <desricption>
*
* Wangyugang      2007.7.30        1.0         build the file
*  
*******************************************************************************************************************
*/

#ifndef  __format_transformed_h
#define  __format_transformed_h



#define  HEX_x   'x'
#define  HEX_X   'X'




//This function is to convert an 'int' data 'input' to a string in decimalism, 
//and the string converted is in 'str'.
extern void int_to_string_dec( int input, char * str );


//This function is to convert an 'int' data 'input' to a string in hex, 
//and the string converted is in 'str'.
extern void int_to_string_hex( int input, char * str, int hex_flag );


// This function is to convert an 'unsigned int' data 'input' to a string in decimalism, and 
// the  string converted is in 'str'.
extern void Uint_to_string_dec( unsigned int input, char * str );

         




#endif     //  ifndef __format_transformed_h



/* end of format_transformed.h  */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -