Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_msc.h File Reference

USBD Mass Storage Class public header. More...

Go to the source code of this file.

Data Structures

struct  usbd_msc_lun
 

Macros

#define USBD_DEFINE_MSC_LUN(disk_name, t10_vendor, t10_product, t10_revision)
 

Detailed Description

USBD Mass Storage Class public header.

Header exposes API for registering LUNs.

Macro Definition Documentation

◆ USBD_DEFINE_MSC_LUN

#define USBD_DEFINE_MSC_LUN (   disk_name,
  t10_vendor,
  t10_product,
  t10_revision 
)
Value:
STRUCT_SECTION_ITERABLE(usbd_msc_lun, usbd_msc_lun_##disk_name) = { \
.disk = STRINGIFY(disk_name), \
.vendor = t10_vendor, \
.product = t10_product, \
.revision = t10_revision, \
}
#define STRINGIFY(s)
Definition: common.h:134
#define STRUCT_SECTION_ITERABLE(struct_type, varname)
Defines a new element for an iterable section.
Definition: iterable_sections.h:216
Definition: usbd_msc.h:19