app_motor.c

来自「该模板使用于周立功公司研发的EasyARM2100系列开发板」· C语言 代码 · 共 38 行

C
38
字号
/******************************************************************************
  Copyright (C), 2007-2008, wanyi Tech. Co., Ltd.
  FileName		:app_motor.c
  Author		:kevin 
  modify		:       
  Version 		:1.0          
  Date			:2008-4-25
  Description	:send motor commmand application function       
  Function List	:none
******************************************************************************/
#include "\inc\system.h"


motor_cmd motor_cmdstr={0,0,0,0,0};

/**************************************************************************************************
  Function:       // void init_motor(void)
  Description:    // for  init motor
  Calls:          // none
  Called By:      // none
  Table Accessed: // none
  Table Updated:  // none
  Input:          // none
  Output:         // none
  Return:         // void
  Others:         // none
***************************************************************************************************/
void init_motor(void)
{	
	motor_cmdstr.id_index    = 0;
	motor_cmdstr.id_appendex = 0;
	motor_cmdstr.motor_dir   = 0;
	motor_cmdstr.motor_step  = 0;
	
//	hc595_senddata();
	
}
//=================================================================================================

⌨️ 快捷键说明

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