Announcements

Industry-first USB 10Gbps device controller. Check it out now!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EsPo_3827446
Level 4
Level 4
25 replies posted 25 sign-ins 10 replies posted

How  hexa decimal value assigned for below in cyfxuvcdscr.c?  Is reference available?

/* Interface Association Descriptor */

/* Standard Video Control Interface Descriptor */

/* Class specific VC Interface Header Descriptor */

/* Input (Camera) Terminal Descriptor */

/* Processing Unit Descriptor */

/* Extension Unit Descriptor */

/* Output Terminal Descriptor */

/* Video Control Status Interrupt Endpoint Descriptor */

/* Super Speed Endpoint Companion Descriptor */

/* Standard Video Streaming Interface Descriptor (Alternate Setting 0) */

/* Class specific Uncompressed VS format descriptor */

/* Class specific Uncompressed VS frame descriptor */

Thanks

Esakki

0 Likes
1 Solution
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hello Esakki,

The values of the above requested descriptors are taken with reference to the UVC Spec.

Please go through the cyfxuvcdscr.c file, and go through the comments for each field with the associated values and UVC Spec to get a better understanding of the values being used in the dscr.c file.

Also, the hex values are written as follows:

if the decimal value is 1280, the hex of the same would be 0x500
In the descriptors, it should be represented as 0x00, 0x05,

This is the format of representing the hex values in UVC descriptors.

Regards,
Yashwant

View solution in original post

0 Likes
1 Reply
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hello Esakki,

The values of the above requested descriptors are taken with reference to the UVC Spec.

Please go through the cyfxuvcdscr.c file, and go through the comments for each field with the associated values and UVC Spec to get a better understanding of the values being used in the dscr.c file.

Also, the hex values are written as follows:

if the decimal value is 1280, the hex of the same would be 0x500
In the descriptors, it should be represented as 0x00, 0x05,

This is the format of representing the hex values in UVC descriptors.

Regards,
Yashwant

0 Likes