#include #include #include extern unsigned char value_T,set_data; void timer0_init(void) //CTC模式输出1KHz/2KHz方波 { CLI()…
Timer+Driver 源代码
汇集 Timer+Driver 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#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"
#include "iom8515v.h" #include "macros.h" #include "MAIN.h" #include "UART.h" #pragma interrupt_handler Timer0OverInter:8 u…
"sources\Timer.c" BROWSE INCDIR(.\include) DEBUG OBJECTEXTEND PRINT(.\Timer.lst) OBJECT(Timer.obj)