代码搜索结果
找到约 858 项符合
Stepper 的代码
stepper.lst
A51 MACRO ASSEMBLER STEPPER 22/07/99 14:17:14 PAGE 1
DOS MACRO ASSEMBLER A51 V5.28m
OBJECT MODULE PLACED IN STEPPER.OBJ
ASSE
stepper.c
/*
* STEPPER.C
* sweeping stepper's rotor cw and cww 400 steps
* Copyright (c) 1999 by W.Sirichote
*/
#include c:\mc51\8051io.h /* include i/o header file */
#include c:\mc51\8051reg.h
register
makefile
# stepper/makefile
# Comment/uncomment the following line to enable/disable debugging
#DEBUG = y
# Change it here or specify it on the "make" commandline
INCLUDEDIR = /usr/include
ifeq ($(DEBUG),y)
stepper.h
/*
* stepper.h -- definitions for the char module
*
*********/
/*
* Macros to help debugging
*/
#undef PDEBUG /* undef it, just in case */
#ifdef STEP_DEBUG
# ifdef __KERNEL__
timelog
#!/bin/sh
#set -v
while true; do
echo T`date +%H:%M` M`cut -f 1 -d ' ' /proc/loadavg` > /dev/stepper
sleep 10; done
stepper.c
/*
* stepper.c -- char module
*
*********/
#ifndef __KERNEL__
# define __KERNEL__
#endif
#ifndef MODULE
# define MODULE
#endif
#define __NO_VERSION__ /* don't define kernel_verion in module.h *
makefile
# stepper/makefile
# Comment/uncomment the following line to enable/disable debugging
#DEBUG = y
# Change it here or specify it on the "make" commandline
INCLUDEDIR = /usr/include
ifeq ($(DEBUG),y)
stepper.h
/*
* stepper.h -- definitions for the char module
*
*********/
/*
* Macros to help debugging
*/
#undef PDEBUG /* undef it, just in case */
#ifdef STEP_DEBUG
# ifdef __KERNEL__
timelog
#!/bin/sh
#set -v
while true; do
echo T`date +%H:%M` M`cut -f 1 -d ' ' /proc/loadavg` > /dev/stepper
sleep 10; done
stepper.c
/*
* stepper.c -- char module
*
*********/
#ifndef __KERNEL__
# define __KERNEL__
#endif
#ifndef MODULE
# define MODULE
#endif
#define __NO_VERSION__ /* don't define kernel_verion in module.h *