代码搜索结果
找到约 858 项符合
Stepper 的代码
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__
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 *
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__
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 *
stepper-interrupt.h
#ifndef __STEPPER3_INTERRUPT_H__2MHD6D6PQ1__
#define __STEPPER3_INTERRUPT_H__2MHD6D6PQ1__
#include
/* Timer frequency */
#define TIMER_FREQ 748800
typedef struct _StepperContext Stepper
stepper-steps.h
#include
#ifndef MAX
#define MIN(a,b) (((a) > (b)) ? (b) : (a))
#endif
/* Pins for stepper 0 */
#define STEPPER0_I00 AT91C_PIO_PA17
#define STEPPER0_I01 AT91C_PIO_PA18
#define STEPPE
stepper-interrupt.c
#include
#include
#include
#include
StepperContext stepper_context;
static void
do_step(StepperTimerStep *step)
{
const uint32_t
stepper.c
#include
#include
#ifndef NUL
#define NULL 0
#endif
static StepperAccSeq *free_seq = NULL;
StepperAccSeq *
stepper_allocate_seq()
{
StepperAccSeq *seq;
if (!fr
stepper-move.c
#include
#include
#include
#include
#if 0
#define PRINTF(...) printf(__VA_ARGS__)
#else
#define PRINTF(...) do {} while (0)
#endif
static
stepper.m51
L51 LINKER/LOCATOR V3.52 22/07/99 14:17:14 PAGE 1
MS-DOS L51 LINKER/LOCATOR V3.52, INVOKED BY:
C:\ANCHOR\KEIL2K\BIN\BL51.EXE D:\CDROM\EXAMPLES\IODEVICE\STEPPERM\STEPPER.