代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor.src
[Files]
Motor.c
[Headers]
[Documents]
motor.lst
__start:
__text_start:
0020 E5CF LDI R28,0x5F
0021 E0D2 LDI R29,2
0022 BFCD OUT 0x3D,R28
0023 BFDE OUT 0x3E,R29
0024 51C0 SUBI R28,0x10
0025 40D
motor.s
.module Motor.c
.area data(ram, con, rel)
_Ek::
.blkb 2
.area idata
.word 0
.area data(ram, con, rel)
.dbfile E:\张军\AVR\光盘内容\实例源文件\第九章工程\Motor.c
.dbsym e Ek _Ek I
_Ek_1::
.blkb 2
motor.o
XL
H 6 areas 29 global symbols
M Motor.c
S push_gset1 Ref0000
S push_gset2 Ref0000
S push_gset5 Ref0000
S mpy32f Ref0000
S _EEPROMWriteBytes Ref0000
S fp2int Ref0000
S int2fp Ref0000
S pop_l
motor.prj
[Compiler Options]
Edit1=C:\icc\include\
Edit2=C:\icc\lib\
Edit8=
CheckBox1=0
CheckBox2=1
Edit3=
Edit4=
Edit11=16
Edit13=
ComboBox1=0
Edit9=8192
Edit10=512
ComboBox2=13
RadioGroup1=0
Ed
motor.lk
Motor.o
motor.c
#include
#define DCO_FREQ 1000000 // DCO frequency
#define ONE_SEC_CNT 512 // Number of WDT interrupts in 1 second
#define DEBOUNCE_CNT 0x05 //
motor.c
#include
#include "Motor.h"
// 整步状态表A
static const unsigned char fullStepA[] =
{
0x00,
0x00,
0x01,
0x01
};
// 半步状态表B
static const unsigned char fullStepB[
motor.h
// DCO 频率
#define DCO_FREQ 1000000
// 看门狗在1秒钟内的中断数
#define ONE_SEC_CNT 512
// (1/512)*5 = ~10
#define DEBOUNCE_CNT 0x05
// 0x01:顺时针方向, 0x00:反时针方向
#defin