![]() |
M480 BSP
V3.05.001
The Board Support Package for M480 Series
|
Lightweight USB mass storage class transfer layer. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "NuMicro.h"#include "diskio.h"#include "usb.h"#include "msc.h"Go to the source code of this file.
Functions | |
| static void | bulk_xfer_done (UTR_T *utr) |
| int | msc_bulk_transfer (MSC_T *msc, EP_INFO_T *ep, uint8_t *data_buff, int data_len, int timeout_ticks) |
| static int | do_scsi_command (MSC_T *msc, uint8_t *buff, uint32_t data_len, int bIsDataIn, int timeout_ticks) |
| int | run_scsi_command (MSC_T *msc, uint8_t *buff, uint32_t data_len, int bIsDataIn, int timeout_ticks) |
Variables | |
| static int | __tag = 0x10e24388 |
Lightweight USB mass storage class transfer layer.
Definition in file msc_xfer.c.
|
static |
Definition at line 23 of file msc_xfer.c.
|
static |
Definition at line 67 of file msc_xfer.c.
| int msc_bulk_transfer | ( | MSC_T * | msc, |
| EP_INFO_T * | ep, | ||
| uint8_t * | data_buff, | ||
| int | data_len, | ||
| int | timeout_ticks | ||
| ) |
Definition at line 28 of file msc_xfer.c.
| int run_scsi_command | ( | MSC_T * | msc, |
| uint8_t * | buff, | ||
| uint32_t | data_len, | ||
| int | bIsDataIn, | ||
| int | timeout_ticks | ||
| ) |
Definition at line 113 of file msc_xfer.c.
|
static |
Definition at line 20 of file msc_xfer.c.
1.8.15