代码搜索:timer1
找到约 1,567 项符合「timer1」的源代码
代码结果 1,567
www.eeworm.com/read/198319/7940914
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7940949
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7940989
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7941059
!param23
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7941071
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7941089
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/198319/7941103
!param80
.ifndef PARAMINC
.set PARAMINC, 1
;
; CPU options
;
; .equ RD2, 0
.equ RD2, 1
.set BDT2, 1 ;if defined use Timer2 for Baud Clock Generator else use Timer1
.include "cpu.inc"
; CPUFRQ = CPU cloc
www.eeworm.com/read/296645/8084536
c main.c
#define MAIN_C
#include "includes.h"
/***************************/
/*PWM*/
/*晶振为4MHz*/
/*利用Timer1的OC1A脚输出占空比可调的信号*/
/*通过按键控制OCR1A的值*/
/***************************/
#define PwmOut PB1
www.eeworm.com/read/136887/13354788
c hand4.c
#include
#include
#include
#pragma interrupt_handler timer1:7
#pragma interrupt_handler zhongduan:2
unsigned int time;
unsigned int time_1;
unsigned int time_2
www.eeworm.com/read/310163/13657286
c main.c
#define MAIN_C
#include "includes.h"
/***************************/
/*PWM*/
/*晶振为4MHz*/
/*利用Timer1的OC1A脚输出占空比可调的信号*/
/*通过按键控制OCR1A的值*/
/***************************/
#define PwmOut PD5