program1.c
来自「嵌入式系统基础课件」· C语言 代码 · 共 20 行
C
20 行
#include "libepc.h"
int main(void)
{
ClearScreen(0x07) ;
/* -------------------------------------------------------
Insert your code here to measure processor clock speed.
Use library functions Now_Plus() and CPU_Clock_Cycles()
to count the number of CPU clock cycles that occur in
two seconds, then divide by 2,000,000.
Use PutUnsigned() to output your result. Provide suitable
labelling with PutString(), and position the printout
near the middle of the screen using SetCursorPosition().
---------------------------------------------------------*/
return 0 ;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?