timer.c
来自「ARM公司ATC培训的所有练习源码」· C语言 代码 · 共 24 行
C
24 行
#include "timer.h"
#include "cortexm3.h"
#include "nvic.h"
#define MAGIC_VALUE 299999
#include <stdio.h>
/********** To be implemented *******************
void SysTick_init(void)
{
//Load period (MAGIC_VALUE) into SysTickLoad
//Enable Tick and Interrupt in SysTickCtrl, using masks from timer.h
}
void SysTickHandler(void)
{
//Print a message here
}
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?