代码搜索:定时报警
找到约 10,000 项符合「定时报警」的源代码
代码结果 10,000
www.eeworm.com/read/428990/8825912
c pca_uart_host.c
#include
//#include "SST89x5xxRD2.H"
#define BAUD_RATE 70000 // 用户定义的SW_UART波特率
#define SYSCLK 24014772 // 系统时钟取自外部18.432MHz晶体
#define TIMER_INI 0X49 //比较定时器初始化,也就是设置为软件
www.eeworm.com/read/186636/8921805
asm voice1.asm
;定时器0中断实验
ORG 0000H
LJMP START
ORG 000BH
INC 20H ;中断服务,中断计数器加1
MOV TH0,#0D8H
MOV TL0,#0EFH ;12M晶振,形成10毫秒中断
RETI
ST
www.eeworm.com/read/186621/8922297
c f14_usart_adc12.c
//******************************************************************************
//MSP430F149串口行实验程序
//使用ADC12采集实验,将采集到数据送向PC.(序列单次采集,采用定时器A作为时钟源)
//P3.4为发送,P3.5为接收 晶体使32768HZ/8MHZ. 串行波特率B/S
www.eeworm.com/read/382745/9003738
c main.c
#include
#include "Uart.h"
/*
函数:Delay()
功能:延时0.001~65.536s
参数:
t>0时,延时(t*0.001)s
t=0时,延时65.536s
说明:
晶振采用11.0592MHz
使用之前,应当把T0设置成模式1,即16位定时器模式
*/
void Delay(unsigned int
www.eeworm.com/read/380873/9125149
o 50%wave.o
XL
H 3 areas B global symbols
M _50
S push_gset2 Ref0000
S pop_gset2 Ref0000
A text size 132 flags 0
dbfile C:\DOCUME~1\hb\MYDOCU~1\喷吗机--2代\单片机程序\定时器(方波输出)\50%Wave.c
dbfunc e port_init 0 fV
db
www.eeworm.com/read/379884/9173091
plg t0_test.plg
礦ision2 Build Log
Project:
C:\Documents and Settings\cbx\桌面\定时器0使用例程\T0_C51\T0_TEST.uv2
Project File Date: 05/23/2004
Output:
Build target 'Ta
www.eeworm.com/read/379023/9210742
c init_all.c
#include
#include
#include
uchar str1[];
void Init_all(void)
{
init_LCD();
clear_LCD();
gotoxy(1,2);
PT1=1; /*设置定时器T1为高优先级*/
PX0=0; /*设置外部中断0为低优先级*/
www.eeworm.com/read/375045/9375138
h timedly.h
#ifndef _TIMEDLY_H_
#define _TIMEDLY_H_
//函数功能:短延时
void nNop(INT8U i);
//函数功能:长延时
void LDelay(INT16U i);
//函数功能:定时器T0溢出做延时
//说明:temp为延时,单位为:100μs(微秒)
void T0_Delay(INT16U temp);
www.eeworm.com/read/375042/9375314
h timedly.h
#ifndef _TIMEDLY_H_
#define _TIMEDLY_H_
//函数功能:短延时
void nNop(INT8U i);
//函数功能:长延时
void LDelay(INT16U i);
//函数功能:定时器T0溢出做延时
//说明:temp为延时,单位为:100μs(微秒)
void T0_Delay(INT16U temp);
www.eeworm.com/read/175540/9541687
c caiji.c
#include
#include
#include
#define END_WORD 0x0d //结束字符
#define TH0_TIME 0xdc//10ms中断 0xfc //定时中断时间间隔
#define TL0_TIME 0 //0x66
#define CPU_RUN_TIME 25