timer+interrupt 源代码

汇集 timer+interrupt 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

#include "timer.h" //#include "schedule.h" #include #include Timer_struct T0,T1,T2,T3; void mcu_sleep(); /* //Timer接口 …

源码文件

#ifndef _TIMER_H #define _TIMER_H extern void T0_timeout(); extern void T1_timeout(); extern void T2_timeout(); extern …

源码文件

#include "timer.h" #include "schedule.h" struct Timer_mul { unsigned char num; unsigned char on; unsigned char type; /…

源码文件

#ifndef _TIMER_H #define _TIMER_H #include extern void T1_timeout(); //Timer接口 //Timer0 void start_T0(char type, un…

源码文件

#include "timer.h" //#include "schedule.h" #include #include Timer_struct T0,T1,T2,T3; void mcu_sleep(); /* //Timer接口 …

源码文件

#ifndef _TIMER_H #define _TIMER_H #include extern void T1_timeout(); //Timer接口 //Timer0 void start_T0(char type, un…

源码文件

#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…