![]() |
M471M/R1/S BSP V3.02.000
The Board Support Package for M471M/R1/S
|
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.
SPDX-License-Identifier: Apache-2.0
Definition in file msc_xfer.c.
|
static |
|
static |
Definition at line 66 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 27 of file msc_xfer.c.


| int run_scsi_command | ( | MSC_T * | msc, |
| uint8_t * | buff, | ||
| uint32_t | data_len, | ||
| int | bIsDataIn, | ||
| int | timeout_ticks | ||
| ) |
|
static |
Definition at line 19 of file msc_xfer.c.