📄 funccommon.h
字号:
/************************************************************
The definations of the functions listed here is in the file
"funccommon.c"
************************************************************/
//swap the INT16 in unit of byte, that is, high byte to low,
//and low byte to high
INT16U swaps(INT16U v);
//swap the INT32 in unit of byte.
//for example: 0x12345678->0x78563412
INT32U swapl(INT32U v);
//convert a serie of compressed BCD digit to unicode
INT8U app_c2u(INT8U rom * ps, INT8U len, INT16U rom * pd);
//convert a serie of UNICODE to ASCII
INT8U app_u2c(INT16U rom * ps, INT8U len, INT8U rom * pd);
//convert a serie of ASCII to unicode
INT8U app_a2u(INT8U rom * ps, INT8U len, INT16U rom * pd);
//convert a serie of unicode to ASCII
INT8U app_u2a(INT16U rom * ps, INT8U len, INT8U rom * pd);
//convert a series ofcompressed BCD code to ASCII
INT8U app_c2a(INT8U rom * ps, INT8U len, INT8U rom * pd);
//convert a series of ASCII to compressed BCD codes
INT8U app_a2c(INT8U rom * ps, INT8U len, INT8U rom * pd);
//common print function with unicode input and start X coordinate, Y coordinate.
rom INT16U *app_printf(rom INT16U *pchar,INT8U len,INT8U x,INT8U y);
//free message memory block if there is one
void Func_Clear_Msg(INT8U rom * pMsg);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -