Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_msc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
15
16#ifndef ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
17#define ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
18
20 const char *disk;
21 const char *vendor;
22 const char *product;
23 const char *revision;
24};
25
46#define USBD_DEFINE_MSC_LUN(id, disk_name, t10_vendor, t10_product, t10_revision) \
47 static const STRUCT_SECTION_ITERABLE(usbd_msc_lun, usbd_msc_lun_##id) = { \
48 .disk = disk_name, \
49 .vendor = t10_vendor, \
50 .product = t10_product, \
51 .revision = t10_revision, \
52 }
53
58#endif /* ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_ */
Definition usbd_msc.h:19
const char * vendor
Definition usbd_msc.h:21
const char * disk
Definition usbd_msc.h:20
const char * revision
Definition usbd_msc.h:23
const char * product
Definition usbd_msc.h:22