28 lines
702 B
C
28 lines
702 B
C
|
|
/* Define to prevent recursive ----------------------------------------------*/
|
|
#ifndef __USBH_MSC_CORE_H
|
|
#define __USBH_MSC_CORE_H
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "usbh_core.h"
|
|
#include "usbh_stdreq.h"
|
|
#include "usb_bsp.h"
|
|
#include "usbh_ioreq.h"
|
|
#include "usbh_hcs.h"
|
|
|
|
|
|
extern USBH_Class_cb_TypeDef USBH_MSC_cb;
|
|
|
|
void USBH_LL_systick();
|
|
int USBH_LL_open();
|
|
int USBH_LL_close();
|
|
int USBH_LL_send(const uint8_t *data, uint32_t len, uint16_t timeoutMs);
|
|
int USBH_LL_receive(uint8_t *data, uint32_t len, uint16_t timeoutMs);
|
|
void USBH_LL_setTimer();
|
|
uint32_t USBH_LL_getTimer();
|
|
|
|
|
|
#endif /* __USBH_MSC_CORE_H */
|
|
|
|
|