代码搜索:timer0

找到约 1,870 项符合「timer0」的源代码

代码结果 1,870
www.eeworm.com/read/322606/13373075

c mock_uart.c

//模拟串口通讯 #include"include.h" #define TX_LO() PORTD &= ~(1
www.eeworm.com/read/406074/11449794

c timeint.c

#include "main.h" void Timer0Init() { T0LD = FCORE/(PRESCAL*FREQ) - 1; T0CON = 0x48; IRQEN |= TIMER0; } void Delay(int time) //延时 { int i; while((time--) > 0){ i = 2
www.eeworm.com/read/256661/11980299

asm t4.asm

;PROGRAM NAME:T4.ASM ;TEST TIMER0 MODE 1:16 BIT COUNT UP ; COUNT EQU 87 CHECK_BIT REG P3.2 ; ORG 0 MOV R0,#00H DJNZ R0,$ ;WAIT CLR CH
www.eeworm.com/read/224387/14594952

s main.s

.module main.c .area vector(rom, abs) .org 8 jmp _INT1_17 .org 36 jmp _Timer0 .org 44 jmp _Usart_receive .area data(ram, con, rel) _can_boud:: .blkb 1 .area idata .byte 7 .ar
www.eeworm.com/read/215102/15075163

cpp timeunit.cpp

#include "sc_cfg.h" #include "common.h" #include "extern.h" #define TIMER_INTERRUPT 0x08 // 8253 timer0 interrupt number #define RTC_WRITE_PORT 0x70 // RTC write port address #define RTC_
www.eeworm.com/read/37245/1070013

1602lcd

#include #include"delay.h" #include"1602.h" #include"keyscan.h" //本程序存在严重问题 void main() { LCD_init(); while(1) { keyscan(); } } void timer0() interrupt 1 { TH0=(65536-5
www.eeworm.com/read/369613/9638107

c main.c

#include #define LED 0x000001 //LED,P0.0 unsigned int timeCount = 0; void Timer0_ISR(void)__irq; /*Timer0定时器中断函数*/ void timer0_init(void) /*定
www.eeworm.com/read/146356/12657069

asm t4.asm

;PROGRAM NAME:T4.ASM ;TEST TIMER0 MODE 1:16 BIT COUNT UP ; COUNT EQU 87 CHECK_BIT REG P3.2 ; ORG 0 MOV R0,#00H DJNZ R0,$ ;WAIT CLR CH
www.eeworm.com/read/290620/8471192

c main.c

#include "reg51.h" #include "pin.h" //调试标识 bit a = 0; // sbit Sound = P3^7; //全局标识 unsigned int t10ms;//10ms计数 void inttime0(void);//timer0 initialize,set time as 0.01s
www.eeworm.com/read/287706/8675314

c isr.c

#include "Globe.h" void Int0(void) interrupt 0 using 3 {} void Timer0(void) interrupt 1 using 1 { TH0 = HiByte(65536-TIME_BASE1*1000); //set next interrupt time TIME_BASE1 ms TL0 = LoB