#ifndef __MW_DEHY_TEST_H__
#define __MW_DEHY_TEST_H__

#include "stdint.h"

typedef enum
{
    LOGIC_INIT = 0x5AA5,
    LOGIC_RUN = 0x1111
    // LOGIC_CLOSE = 0x2222
}LOGIC_STATE_ENUM_T;

void dehy_speed_up(LOGIC_STATE_ENUM_T init_cmd, uint16_t acc_val, uint16_t current_speed, uint16_t target_speed);

/*************************************************************************************
 * @brief    超震速度限制逻辑
 * @return uint16_t    超震限制的速度
 * 
 * @warning  
 * @note     
  *************************************************************************************/
uint16_t supershake_speed_limit(LOGIC_STATE_ENUM_T cmd);

#endif
