代码搜索:Timer0
找到约 1,870 项符合「Timer0」的源代码
代码结果 1,870
www.eeworm.com/read/340289/12167705
asm prog44a.asm
; PROG44a - Output a Tone from an AT89C2051
;
; Simple Application to Test the Interrupt Handler Code.
;
; This Application after power up, Sets up Timer 0 to Interrupt at
; 880 Hz and Out
www.eeworm.com/read/148965/12411418
c osc_rtc_cal1.c
//-----------------------------------------------------------------------------
// OSC_RTC_Cal1.c
//-----------------------------------------------------------------------------
// Copyright 2002 C
www.eeworm.com/read/228696/14366877
c main.c
#include
#include
/*------------------------------------------------
MAIN C function
------------------------------------------------*/
void main (void)
{
/*--------------
www.eeworm.com/read/222823/14672815
c main.c
#include
#include
/*------------------------------------------------
MAIN C function
------------------------------------------------*/
void main (void)
{
/*--------------
www.eeworm.com/read/412167/11212795
asm prog26.asm
; PROG26 - Using Interrupts to Debounce a Button
;
; This Application Toggles the LED at P1.0 After the Button on
; P3.2 (Int0 Pin) has been debounced.
;
; Myke Predko
; 98.03.01
;
;
www.eeworm.com/read/412167/11212881
asm prog44a.asm
; PROG44a - Output a Tone from an AT89C2051
;
; Simple Application to Test the Interrupt Handler Code.
;
; This Application after power up, Sets up Timer 0 to Interrupt at
; 880 Hz and Out
www.eeworm.com/read/391942/8371848
c salva.c
#include
#define uint unsigned int
#define uchar unsigned char
sbit red=P1^2;
void delay(uint z)
{
uint x,y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
}
void main()
{
EA=1;
ET0=1
www.eeworm.com/read/391942/8371891
c main.c
#include
#define uint unsigned int
#define uchar unsigned char
sbit red=P3^7;
void delay(uint z)
{
uint x,y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
}
void main()
{
EA=1;
ET0=1
www.eeworm.com/read/428838/8836340
asm 9-1-1.asm
;9-1-1.ASM
$MOD51
ORG 0000H
START: MOV TMOD,#01H ; SET TIMER0 TO MODE1
ACALL T0_RELOAD ;CALL RELOAD FUNCTION
;
LOOP: JNB TF0,LOOP ; WAIT FOR OVERFLOW
ACALL T0_RELOAD ; RELOAD TIMER0 SETT
www.eeworm.com/read/428838/8836363
asm 9-5-2.asm
;9-5-2.ASM
$MOD51
ORG 0000H
START: MOV TMOD,#12H ; TIMER0 = MODE2
MOV TH0,#9CH ; (256-100)
SETB TR0 ; START TIMER0
;
LOOP: JNB TF0,LOOP ; WAIT FOR OVERFLOW
CLR TF0 ; RELOAD TIMER0 SETTIN