mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-06-26 09:00:35 +00:00
8 lines
521 B
Markdown
8 lines
521 B
Markdown
# Handling GET_DESCRIPTOR Configuration Requests
|
|
|
|
When the host issues a GET_DESCRIPTOR *Configuration* request the device needs to respond with the requested configuration descriptor *plus* all the interface and endpoint descriptors associated to that configuration descriptor during the DATA stage.
|
|
|
|
A GET_DESCRIPTOR Configuration request is a GET_DESCRIPTOR request where the descriptor type encoded in the high bit of `wValue` is CONFIGURATION.
|
|
|
|
Let's look into all the concepts required to respond to this request.
|