代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer._h
#ifndef _TIMER_H
#define _TIMER_H
extern void T0_timeout();
extern void T1_timeout();
extern void T2_timeout();
extern void T3_timeout();
//Timer陆涌貚
//Timer0
void start_T0(char type, u
timer.c
#include "timer.h"
//#include "schedule.h"
#include
#include
Timer_struct T0,T1,T2,T3;
void mcu_sleep();
/*
//Timer接口
//Timer0
void start_T0(char type, unsigned int
timer.h
#ifndef _TIMER_H
#define _TIMER_H
extern void T0_timeout();
extern void T1_timeout();
extern void T2_timeout();
extern void T3_timeout();
//Timer陆涌貚
//Timer0
void start_T0(char type, u
timer.lis
.module timer.c
.area text(rom, con, rel)
; t_count -> R10
; count -> R10,R11
;
timer.o
XL
H 4 areas 24 global symbols
M timer.c
S push_gset2 Ref0000
S push_gset3 Ref0000
S push_gset4 Ref0000
S div32u Ref0000
S _post Ref0000
S _led0Toggle Ref0000
S _T0_timeout Ref0000
S _T1_tim
timer.s
.module timer.c
.area text(rom, con, rel)
; t_count -> R10
; count -> R10,R11
; type -> R12
.even
_start_T0::
xcall push_gset4
movw R10,R18
mov R12,R16
; #inc
timer._c
#include "timer.h"
#include "schedule.h"
struct Timer_mul {
unsigned char num;
unsigned char on;
unsigned char type; //类型,reapeat=1 单次=0
unsigned long ticks; //执行周期
unsigned long t
timer._h
#ifndef _TIMER_H
#define _TIMER_H
#include
extern void T1_timeout();
//Timer接口
//Timer0
void start_T0(char type, unsigned int count);
void stop_T0(void);
//Timer1
void sta
timer.c
#include "timer.h"
#include "schedule.h"
struct Timer_mul {
unsigned char num;
unsigned char on;
unsigned char type; //类型,reapeat=1 单次=0
unsigned long ticks; //执行周期
unsigned long t