代码搜索:Timer0
找到约 1,870 项符合「Timer0」的源代码
代码结果 1,870
www.eeworm.com/read/159423/10650623
c board.c
#include "type.h"
#include "board.h"
#include
#include "timer.h"
//Tms320vc5402 have two timer--TIM0:timer0 TIM1:timer1
#define TIM0 0
#define TIM1 1
//define clkmd register initi
www.eeworm.com/read/159420/10650876
c timer.c
#include "type.h"
#include "board.h"
#include
#include "timer.h"
//Tms320vc5402 have two timer--TIM0:timer0 TIM1:timer1
#define TIM0 0
#define TIM1 1
//define clkmd register initi
www.eeworm.com/read/467481/7004065
o main.o
XL
H 4 areas 5 global symbols
M main.c
A text size 6E flags 0
dbfile D:\avr\timer0/cfg.h
dbfunc e port_init 0 fV
dbline FFFFFFFF 0
dbline B 0
dbline C 0
dbline D 4
dbline FFFFFFFE 6
dbline
www.eeworm.com/read/444880/7603862
c timer.c
#include "public.h"
//void timer0() interrupt 1 using 3 //50ms
void timer1() interrupt 3 using 2 //定时器1的中断服务程序入口为中断3
{
EA=0;
TH1=-20000/256;
TL1=-20000%256;
if(time_5
www.eeworm.com/read/444878/7603895
c timer.c
#include "public.h"
//void timer0() interrupt 1 using 3 //50ms
void timer1() interrupt 3 using 2 //定时器1的中断服务程序入口为中断3
{
EA=0;
TH1=-20000/256;
TL1=-20000%256;
if(time_5
www.eeworm.com/read/243233/12953872
c motor.c
#include "hardware.h"
#include "motor.h"
void init_MotorPort()
{
//Dead Zone=0, PreScalero1=2;
TCFG0|=(0
www.eeworm.com/read/242161/13091483
c timer.c
#include "switch_power.h"
void T0T1_Init(void)
{
TCON = 0x00;
TMOD = 0x22;//timer0 and timer 1 all use mode 2 8-bit counter/timer with auto-reload
CKCON &= 0xf4;//timer1 use system cl
www.eeworm.com/read/242161/13091556
#2 timer.#2
#include "switch_power.h"
void T0T1_Init(void)
{
TCON = 0x00;
TMOD = 0x22;//timer0 and timer 1 all use mode 2 8-bit counter/timer with auto-reload
CKCON &= 0xf4;//timer1 use system cl
www.eeworm.com/read/320380/13427786
s timer0.s
.module Timer0.C
.area text(rom, con, rel)
.dbfile F:\Learn\AVR\Pro_Mega8\Timer\Timer0/Delay.h
.dbfunc e delay_1ms _delay_1ms fV
; i -> R16,R17
.even
_delay_1ms::
.dbline -1
www.eeworm.com/read/304344/13796416
c motor.c
#include "hardware.h"
#include "motor.h"
void init_MotorPort()
{
//Dead Zone=0, PreScalero1=2;
TCFG0|=(0