代码搜索:Timer0
找到约 1,870 项符合「Timer0」的源代码
代码结果 1,870
www.eeworm.com/read/447898/7544359
h timebase.h
#ifndef timebase_h_
#define timebase_h_
#include
// timebase on timer0 serves a 10ms tick
// for 8MHz System and Prescaler 64
#define TIMEBASE_PRESCALE (64)
#define TIMEBASE_HIT
www.eeworm.com/read/485417/6561593
h timebase.h
#ifndef timebase_h_
#define timebase_h_
#include
// timebase on timer0 serves a 10ms tick
// for 8MHz System and Prescaler 64
#define TIMEBASE_PRESCALE (64)
#define TIMEBASE_HIT
www.eeworm.com/read/406105/11449347
c main.c
#include
#include
#include
void thekey(void)interrupt 0
{
KeyScan();
}
void timer0(void)interrupt 1
{
speed(v);
run_step--;
if(alwaysgo==0)
if(run_step>0
www.eeworm.com/read/341753/12067475
_c timer._c
#include
#include "stdtypes.h"
#include "timer.h"
UNS8 time_couter;
//TIMER0 initialize - prescale:256
// WGM: Normal
// desired value: 10mSec
// actual value: 9.984mSec
www.eeworm.com/read/341753/12067480
c timer.c
#include
#include "stdtypes.h"
#include "timer.h"
UNS8 time_couter;
//TIMER0 initialize - prescale:64
// WGM: Normal
// desired value: 1mSec
// actual value: 0.998mSec (
www.eeworm.com/read/326177/3474002
h timebase.h
#ifndef timebase_h_
#define timebase_h_
#include
// timebase on timer0 serves a 10ms tick
// for 8MHz System and Prescaler 64
#define TIMEBASE_PRESCALE (64)
#define TIMEBASE_HIT
www.eeworm.com/read/394926/8202028
h timebase.h
#ifndef timebase_h_
#define timebase_h_
#include
// timebase on timer0 serves a 10ms tick
// for 8MHz System and Prescaler 64
#define TIMEBASE_PRESCALE (64)
#define TIMEBASE_HIT
www.eeworm.com/read/178075/9418823
c timer0.c
#include
//#include "Common.h"
//#include "struct.h"
//#include "System.h"
//#include "timer0.h"
#include "Global.h"
#ifdef TIMER0
#define OSDTIME 12500//4000//12500 //25000 //1
www.eeworm.com/read/444883/7603794
c timer.c
#include "public.h"
void timer0() interrupt 1 using 3 //50ms
{
EA=0;
TH0=-50000/256;
TL0=-50000%256;
if(P1_7==0) //功能切换
if((m_cSettingF
www.eeworm.com/read/444881/7603836
c timer.c
#include "public.h"
void timer0() interrupt 1 using 3 //50ms
{
EA=0;
TH0=-50000/256;
TL0=-50000%256;
if(P1_7==0) //功能切换
if((m_cSettingF