📄 timer1._h
字号:
#ifndef TIMER1_H
#define TIMER1_H
#ifdef TIMER1_C
//TIMER1 initialisation - prescale:64
// WGM: 0) Normal, TOP=0xFFFF
// desired value: 200000uSec
// actual value: 200000.000uSec (0.0%)
// unsigned int capt_timer1;//capt isr data
void timer1_init(void);
void timer1_capt_isr(void);
void timer1_ovf_isr(void);
void timer1_start(void);
void timer1_stop(void);
#else
extern void timer1_init(void);
extern void timer1_capt_isr(void);
extern void timer1_ovf_isr(void);
extern void timer1_start(void);
extern void timer1_stop(void);
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -