timer.h
来自「geekos 0.3.0简单的操作系统」· C头文件 代码 · 共 25 行
H
25 行
/* * GeekOS timer interrupt support * Copyright (c) 2001, David H. Hovemeyer <daveho@cs.umd.edu> * $Revision: 1.13 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". */#ifndef GEEKOS_TIMER_H#define GEEKOS_TIMER_H#define TIMER_IRQ 0extern volatile ulong_t g_numTicks;void Init_Timer(void);void Micro_Delay(int us);void Micro_Delay(int us);#endif /* GEEKOS_TIMER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?