/*
 * msp_LeiSai_Motor.h
 *
 *  Created on: Apr 12, 2024
 *      Author: Administrator
 */

#ifndef INC_MSP_MSP_LEISAI_MOTOR_H_
#define INC_MSP_MSP_LEISAI_MOTOR_H_

#include "BSP/bsp_include.h"

#define DF_MSP_LSMotor_SpeedMode 6200
#define DF_MSP_LSMotor_SpeedValue 6203
#define DF_MSP_LSMotor_Poweron 6002



typedef struct
 {
  int32_t MotorID;
  int32_t Run_Mode;
  int32_t Target_Velcity;

 }SP_MSP_LeiSai_MotorParameters;


 uint8_t GF_MSP_LeiSai_Motor_Init(UART_HandleTypeDef* huart,SP_MSP_LeiSai_MotorParameters *_Bat_LeiSai,uint8_t Num_Motor_p);
void GF_MSP_LSMotor_Control_Timer();

#endif /* INC_MSP_MSP_LEISAI_MOTOR_H_ */
