#include "timer.h" //#include "schedule.h" #include #include Timer_struct T0,T1,T2,T3; void mcu_sleep(); /* //Timer接口 …
digital+timer 源代码
汇集 digital+timer 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#ifndef _TIMER_H #define _TIMER_H #include extern void T1_timeout(); //Timer接口 //Timer0 void start_T0(char type, un…
"TIMER.C" DEBUG OBJECTEXTEND
#include #include #include extern unsigned char value_T,set_data; void timer0_init(void) //CTC模式输出1KHz/2KHz方波 { CLI()…
#include #include "stdtypes.h" #include "timer.h" UNS8 time_couter; //TIMER0 initialize - prescale:256 // WGM: Nor…
#ifndef __TIMER__H #define __TIMER__H #include "stdtypes.h" #include #define SET_COUNT 0x71; //set count void timer0…
#ifndef __TIMER__H #define __TIMER__H #include "stdtypes.h" #include #define SET_COUNT 0x64 //set count void timer0…
#ifndef __TIMER__H #define __TIMER__H #include "stdtypes.h" #include #define SET_COUNT 0x71 //set count #define UART_…
-c -cpu ARM7TDMI -g -O0 -o "timer.o" "timer.c"