代码搜索:Timer0
找到约 1,870 项符合「Timer0」的源代码
代码结果 1,870
www.eeworm.com/read/240705/4570713
txt abstract.txt
Pulse Width Measurement Example Program
=======================================
This example program shows how to compute the width of a pulse
using timer0 in mode 1. Port 3.2 is used as an extern
www.eeworm.com/read/189327/5195748
txt abstract.txt
Pulse Width Measurement Example Program
=======================================
This example program shows how to compute the width of a pulse
using timer0 in mode 1. Port 3.2 is used as an extern
www.eeworm.com/read/310837/3690115
c 4-8.c
#include
unsigned int interruptcnt;
unsigned char second;
void timer0 (void) interrupt 1 using 2
{
if (++interruptcnt == 4000)
{
second
www.eeworm.com/read/430312/1933582
c 4-8.c
#include
unsigned int interruptcnt;
unsigned char second;
void timer0 (void) interrupt 1 using 2
{
if (++interruptcnt == 4000)
{
second
www.eeworm.com/read/386707/2569488
txt abstract.txt
Pulse Width Measurement Example Program
=======================================
This example program shows how to compute the width of a pulse
using timer0 in mode 1. Port 3.2 is used as an extern
www.eeworm.com/read/452998/7428120
c generator.c
#include
#include "hardware.h"
/*
* 在TIMER0的ISR中,将数据送入DAC0832,
* 通过在功能按键的中断中,改变HZ和幅度值,
* TIMER0的ISR将监测这些变量,达到调控的作用,
*/
unsigned char code data_buf[] = {
128,131,134,137,140,
www.eeworm.com/read/28833/1008943
asm happy_birthday.asm
;本程序实现蜂鸣器演奏歌曲功能
;乐曲名称:生日快乐
;///////////////////////////////////////////
BUZZER EQU P3.7
org 0000h ;主程序起始地址
ajmp main ;跳至主程序
org 000bh ;timer0中断起始地址
jmp tim0 ;跳至timer0中断子程序
;;;;;;;;;
www.eeworm.com/read/283512/9014475
lis sound.lis
.module sound.c
.area vector(rom, abs)
.org 14
000E 0EC0 rjmp _timer0
.org 8
000
www.eeworm.com/read/376227/9324164
h upsd_timer.h
/*--------------------------------------------------------------------------
uPSD_Timer.H
Header file for uPSD 3200 Timer0 Device Driver
06/2002 Ver 0.1 - Initial Version
08/2002 Ver 0.2 - Added
www.eeworm.com/read/143528/12867155
lis sound.lis
.module sound.c
.area vector(rom, abs)
.org 14
000E 0EC0 rjmp _timer0
.org 8
000