代码搜索结果
找到约 7,992 项符合
Motor 的代码
motor.h
#ifndef MOTOR_H
#define MOTOR_H
extern unsigned int t1prd;
extern unsigned int t2prd;
extern unsigned int capstastus;
extern unsigned int pwm;
extern unsigned int dir;
#endif
/**************
motor.c
#include "DSP28_Device.h"
#include "comm.h"
#include "mcbsp.h"
#include "gui_string.h"
#include "motor.h"
#define DATATYPE 0 /* 0代表edit菜单;1代表选项菜单*/
unsigned int i,j;
unsigned int send_flag;
motor.c
#include "2407c.h"
#include "scancode.h"
#define T46uS 0x0800
ioport unsigned int port8000;
ioport unsigned int port8005;
ioport unsigned int port8001;
ioport unsigned int p
motor.cmd
-w
-stack 200
-heap 200
-l rts2xx.lib
MEMORY
{
PAGE 0:
VECS :o=0,l=40h
PRCT :o=40h,l=4
PROG :o=9000h,l=2000h
PAGE 1:
IDATA1:o=300h,l=100h
IDATA2:o=0c00h,l=400h
REG
motor.c
#include "2407c.h"
#include "scancode.h"
#include "math.h"
#include "LF2407A.h"
#define T46uS 0x0d40
void gp_init(void);
void Delay(unsigned int nTime);
void interrupt time
motor.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
motor.cmd
-w
-stack 200
-heap 200
-l rts2xx.lib
MEMORY
{
PAGE 0:
VECS :o=0,l=40h
PRCT :o=40h,l=4
PROG :o=9000h,l=2000h
PAGE 1:
IDATA1:o=300h,l=100h
IDATA2:o=0c00h,l=400h
REG
motor.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="C:\ICETEK-LF2407-AE\lab0407-SAMotor\"
ProjectType=Executable
CPUFamily=TMS320C24XX
T