/*
  ******************************************************************************
  * @file    APP.h
  * @author  Chris_Kyle
  * @version V1.0.0
  * @date    2020
  * @brief   GPIO demo Header file.
  ******************************************************************************
*/
#ifndef __APP_H__
#define __APP_H__

#include "acm32g103_spl_conf.h"  
#include "usb_app.h"  

typedef struct _bulk_io_request
{
	uint32_t dBulkIoSignature;  //具体的COMMAND
	uint8_t  BulkIoPhase;     //下一帧数据的传输方向
	uint8_t  Length[3];         //传输的数据BYTE数
} BULK_IO_REQUEST;


#define BulkIoPhase_In			0x80
#define BulkIoPhase_Out 		0x00
#define BulkIoSignature			0x43425355
#define BULK_IO_ACK				0x53425355

void USB_CMD_proc(void);    

#endif
