Zephyr API Documentation
4.0.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
14
#include <
zephyr/sys/iterable_sections.h
>
15
16
#ifndef ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
17
#define ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
18
19
struct
usbd_msc_lun
{
20
const
char
*
disk
;
21
const
char
*
vendor
;
22
const
char
*
product
;
23
const
char
*
revision
;
24
};
25
48
#define USBD_DEFINE_MSC_LUN(id, disk_name, t10_vendor, t10_product, t10_revision) \
49
static const STRUCT_SECTION_ITERABLE(usbd_msc_lun, usbd_msc_lun_##id) = { \
50
.disk = disk_name, \
51
.vendor = t10_vendor, \
52
.product = t10_product, \
53
.revision = t10_revision, \
54
}
55
60
#endif
/* ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_ */
usbd_msc_lun
Definition
usbd_msc.h:19
usbd_msc_lun::vendor
const char * vendor
Definition
usbd_msc.h:21
usbd_msc_lun::disk
const char * disk
Definition
usbd_msc.h:20
usbd_msc_lun::revision
const char * revision
Definition
usbd_msc.h:23
usbd_msc_lun::product
const char * product
Definition
usbd_msc.h:22
iterable_sections.h
zephyr
usb
class
usbd_msc.h
Generated on Sun Dec 22 2024 00:03:09 for Zephyr API Documentation by
1.12.0