代码搜索结果
找到约 916 项符合
Stepper 的代码
stepper.h
/*****************************************/
/* Copyright (c) 2005, 通信工程学院 */
/* All rights reserved. */
/* 作 者:戴 佳 */
/*****************************************/
stepper.c
//////////////////////////////////////////////////
//
// Motor main function
//
//////////////////////////////////////////////////
// Includes //
#include
#include
#incl
stepper.h
/* define ioctls */
#define STEPPER_SET_DEBUG 0x1641
#define STEPPER_SET_SKIPTICKS 0x1642
#define STEPPER_SET_VERBOSE_IO 0x1643
#define STEPPER_SET_VERBOSE_MOVE 0x1644
#define STE
stepper.c
/* Copyright 1999 by Mark Whitis. All rights Reserved */
/* Must be compiled with -O for outb to be inlined, otherwise */
/* link error */
/* Usermode: gcc -g -O -o teststep teststep.c */
/* LKM: */
stepper.h
//Copyright (C) Apr 5 ,2006 by chenggang SHan
//function headers
#ifndef _stepper_h
#define _stepper_h
typedef struct Stepper {
/* status fields */
int current_phase; // the current phase position
stepper.c
/*driver1
StepperDrive
a loadable driver module stepper program for uClinux20030909(linux-2.4.x-2003-12-20)
on cvtech EBD44B0.
Copyright (C) Apr,2006 by Cheng-gang Shan
*/
#include
stepper.tdf
SUBDESIGN stepper
(
clk, reset : INPUT;
ccw, cw : INPUT;
phase[3..0] : OUTPUT;
)
VARIABLE
ss: MACHINE OF BITS (phase[3..0])
WITH STATES (
s0 = B"0001",
s1 = B"0010",
s2 = B
stepper.lst
C51 COMPILER V7.02b STEPPER 12/10/2005 19:18:44 PAGE 1
C51 COMPILER V7.02b, COMPILATION OF MODULE STEPPER
OBJECT MODULE PLACED I