?? timer.h
字號(hào):
/******************************************************
File name: timer.h
Description:
Current version: V1.00.00
Author: WangRD
The latest modified data:
Replacement version:V1.1
Author:WangRD
The latest modified data:2006-7-11 22:03
CPU type: M30263F8
Copyright Renesas System Solutions (Beijing) Co.,Ltd
******************************************************/
#include "typedefine.h"
#include "sfr26a.h"
/*Timer A3 interrupt*/
#ifndef TIME
#define TIME
void timer_TA3_ini(void);
void timer_TB1_ini(void);
#define TIMERINI(timer) timer_##timer##_ini()
#define STA_TA(n) ta##n##s = 1
#define STP_TA(n) ta##n##s = 0
#define STA_TB(n) tb##n##s = 1
#define STP_TB(n) tb##n##s = 0
//#pragma INTERRUPT/B timer_ta3
//void timer_ta3(void);
#pragma INTERRUPT/B timer_tb1
void timer_tb1(void);
#ifdef EXTINT4kHz
void timer_TA0_ini(void);
#endif
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -