motor.h

来自「SEED_DEC5416的FLASH的boot程序源码」· C头文件 代码 · 共 41 行

H
41
字号
/********************************************************************************/
/* MOTOR.H	v1.00																*/
/* 版权(c)	2003-   	北京合众达电子技术有限责任公司							*/
/* 设计者:	段立锋																*/
/********************************************************************************/
#ifndef _MOTOR_H
#define _MOTOR_H
/********************************************************************************/
/*																				*/
/* 函数定义:void _dcmotor_out(uint data)                	  					*/
/* 功    能:系统设置                											*/
/*																				*/
/* 入口参数:	A---- enable the PWM out 							    		*/
/* 出口参数:	  NONe                                              			*/
/* 资源使用:AR0 	       														*/
/*																				*/
/********************************************************************************/
void dcmotor_out(unsigned int data);
/********************************************************************************/
/*																				*/
/* 函数定义:void _stepmotor_set(uint portdata)           	  					*/
/* 功    能:系统设置                											*/
/*																				*/
/* 入口参数:	A---- 要写入的拍数												*/
/* 出口参数:	无                                                              */
/* 资源使用:AR0 	       														*/
/*																				*/
/********************************************************************************/
void stepmotor_set(unsigned int data);
/********************************************************************************/
/*																				*/
/* 函数定义:void Time_start()           	  					        */
/* 功    能:系统设置                											*/
/*																				*/
/* 入口参数:	A---- 要写入的占空比											*/
/* 出口参数:    NO                                                              */
/*																				*/
/********************************************************************************/
void Time_start();
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?