Skip to content

Commit 5cdabfa

Browse files
jfischer-nodkalowsk
authored andcommitted
include: usb: add API version
Add API versions to all relevant USB headers. Signed-off-by: Johann Fischer <[email protected]>
1 parent b5a87c7 commit 5cdabfa

File tree

13 files changed

+26
-0
lines changed

13 files changed

+26
-0
lines changed

include/zephyr/drivers/usb/udc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ struct udc_data {
297297
* @brief New USB device controller (UDC) driver API
298298
* @defgroup udc_api USB device controller driver API
299299
* @ingroup io_interfaces
300+
* @since 3.3
301+
* @version 0.1.0
300302
* @{
301303
*/
302304

include/zephyr/drivers/usb/udc_buf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
* @brief Buffer macros and definitions used in USB device support
3939
* @defgroup udc_buf Buffer macros and definitions used in USB device support
4040
* @ingroup usb
41+
* @since 4.0
42+
* @version 0.1.0
4143
* @{
4244
*/
4345

include/zephyr/drivers/usb/uhc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* @brief USB host controller (UHC) driver API
2323
* @defgroup uhc_api USB host controller driver API
2424
* @ingroup io_interfaces
25+
* @since 3.3
26+
* @version 0.1.0
2527
* @{
2628
*/
2729

include/zephyr/drivers/usb/usb_dc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
/**
2323
* @brief USB Device Controller API
2424
* @defgroup _usb_device_controller_api USB Device Controller API
25+
* @since 1.5
26+
* @version 1.0.0
2527
* @{
2628
*/
2729

include/zephyr/usb/bos.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* @brief USB Binary Device Object Store support
1515
* @defgroup usb_bos USB BOS support
1616
* @ingroup usb
17+
* @since 1.13
18+
* @version 1.0.0
1719
* @{
1820
*/
1921

include/zephyr/usb/class/hid.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ extern "C" {
2424
* @brief hid.h API
2525
* @defgroup usb_hid_definitions USB HID common definitions
2626
* @ingroup usb
27+
* @since 1.11
28+
* @version 1.0.0
2729
* @{
2830
*/
2931

include/zephyr/usb/class/usb_hid.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ extern "C" {
2424
* @brief usb_hid.h API
2525
* @defgroup usb_hid_class USB HID class API
2626
* @ingroup usb
27+
* @since 1.11
28+
* @version 1.0.0
2729
* @{
2830
*/
2931

include/zephyr/usb/class/usbd_hid.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ extern "C" {
2424
* @brief USBD HID Device API
2525
* @defgroup usbd_hid_device USBD HID device API
2626
* @ingroup usb
27+
* @since 3.7
28+
* @version 0.1.0
2729
* @{
2830
*/
2931

include/zephyr/usb/class/usbd_msc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ struct usbd_msc_lun {
2727
* @brief USB Mass Storage Class device API
2828
* @defgroup usbd_msc_device USB Mass Storage Class device API
2929
* @ingroup usb
30+
* @since 3.4
31+
* @version 0.1.0
3032
* @{
3133
*/
3234

include/zephyr/usb/class/usbd_uac2.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* @brief USB Audio Class 2 device API
2424
* @defgroup uac2_device USB Audio Class 2 device API
2525
* @ingroup usb
26+
* @since 3.6
27+
* @version 0.1.0
2628
* @{
2729
*/
2830

0 commit comments

Comments
 (0)