Files
HiSTBLinuxV100R005C00SPC060/source/boot/fastboot/include/usb_if.h
T
2024-08-12 23:03:27 +08:00

25 lines
722 B
C

/******************************************************************************
* Copyright (c) 2009-2011 by Hisi.
* All rights reserved.
* ***
*
******************************************************************************/
#ifndef USB_LOGIFH
#define USB_LOGIFH
/******************************************************************************/
int usb_detect(void);
long usb_get_file_size(const char *filename);
int usb_file_check(const char *filename);
long usb_file_read(const char *filename, void *buffer,
unsigned long pos, unsigned long length);
int usb_set_negotiation_timeout(int timeout);
/******************************************************************************/
#endif /* USB_LOGIFH */