/*
 * APP_SleepManage.h
 *
 *  Created on: 2020年5月25日
 *      Author: LuoXF
 */
#ifndef APP_INCLUDE_APP_SLEEPMANAGE_H_
#define APP_INCLUDE_APP_SLEEPMANAGE_H_

#include "Public_TypeRedefine.h"
#include "APP_SystemInit.h"

#define SCIA_BUF_LEN 256
#define GEMINI_ENABLE 2

typedef struct
{
    UINT8   ucSysSleepFla;
    UINT8   ucUpMonSleepFla;
    FLOAT32 fSysSleepPos[MOTORNUM];
}tSleep;

typedef struct
{
    UINT16 usCurrentUpdatePackNum;
    UINT16 usUpdateFrameNumbers;
    UINT16 usOneUpdateFrameSize;
    UINT32 ulUpdateFlashOffset;
    UINT16 usUpdateData[64];
}tSciaUpgrade;


typedef struct
{
    UINT8  ucSciaBuf[SCIA_BUF_LEN];
    UINT32 ulSciaBufLen;
    tSciaUpgrade SciaUpgrade;
}tScia;

#endif
