?? win_debug.c
字號:
//-----------------------------------------------------------------------------
// This file is part of AP.FS
// AP.FS is a FAT32 file system face to the embedded system,It's target is to
// support the portable storage device such as SD Card,TF Card or USB Disc 's
// file system.
// please login www.another-prj.com to get more details.
// caiyuqing
// 2008-1-8
//-----------------------------------------------------------------------------
#include "target.h"
#include "../typedef.h"
void DBG_PRINT_BUF(BYTE *buf,UINT32 size,char *attr)
{
UINT32 i;
if(strcmp(attr,"%c")==0)
{
for(i = 0; i < size; i++)
{
printk("%c",buf[i]);
}
}
else
{
for(i = 0; i < size; i++)
{
if(i == 0)
printk("%04x: ",i/16);
if( (i % 16 == 0 ) && (i != 0) )
{
printk("\n%04x: ",i/16);
printk(attr,buf[i]);
}
else
{
printk(attr,buf[i]);
}
}
printk("\n");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -