|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
USB Mass Storage Class device API. More...
Macros | |
| #define | USBD_DEFINE_MSC_LUN(id, disk_name, t10_vendor, t10_product, t10_revision) |
| Define USB Mass Storage Class logical unit. | |
USB Mass Storage Class device API.
| #define USBD_DEFINE_MSC_LUN | ( | id, | |
| disk_name, | |||
| t10_vendor, | |||
| t10_product, | |||
| t10_revision ) |
#include <zephyr/usb/class/usbd_msc.h>
Define USB Mass Storage Class logical unit.
Use this macro to create Logical Unit mapping in USB MSC for selected disk. Up to CONFIG_USBD_MSC_LUNS_PER_INSTANCE disks can be registered on single USB MSC instance. Currently only one USB MSC instance is supported.
| id | Identifier by which the linker sorts registered LUNs |
| disk_name | Disk name as used in Disk Access Interface |
| t10_vendor | T10 Vendor Indetification |
| t10_product | T10 Product Identification |
| t10_revision | T10 Product Revision Level |