SAMV71 Xplained Ultra Software Package 1.3
Function Documentation
Returns the feature selector of a given CLEAR_FEATURE or SET_FEATURE request.
- Parameters:
-
- Returns:
- Feature selector.
Indicates the test that the device must undertake following a SET_FEATURE request.
- Parameters:
-
- Returns:
- Test selector.
Returns the direction of the data transfer following the given request.
- Parameters:
-
- Returns:
- Transfer direction.
- See also:
- "USB Request Directions"
Returns the endpoint number targeted by a given request.
- Parameters:
-
- Returns:
- Endpoint number.
Returns the wIndex field of the given request.
- Parameters:
-
- Returns:
- Request index;
Returns the expected length of the data phase following a request.
- Parameters:
-
- Returns:
- Length of data phase.
Returns the intended recipient of a given request.
- Parameters:
-
- Returns:
- Request recipient.
- See also:
- "USB Request Recipients"
Returns the request code of the given request.
- Parameters:
-
- Returns:
- Request code.
- See also:
- "USB Request Codes"
Returns the type of the given request.
- Parameters:
-
- Returns:
- "USB Request Types"
Returns the wValue field of the given request.
- Parameters:
-
- Returns:
- Request value.
uint8_t USBGetDescriptorRequest_GetDescriptorIndex |
( |
const USBGenericRequest * |
request |
) |
|
Returns the index of the requested descriptor, given the corresponding GET_DESCRIPTOR request.
- Parameters:
-
| request | Pointer to a USBGenericDescriptor instance. |
- Returns:
- Index of the requested descriptor.
uint8_t USBGetDescriptorRequest_GetDescriptorType |
( |
const USBGenericRequest * |
request |
) |
|
Returns the type of the descriptor requested by the host given the corresponding GET_DESCRIPTOR request.
- Parameters:
-
| request | Pointer to a USBGenericDescriptor instance. |
- Returns:
- Type of the requested descriptor.
uint8_t USBInterfaceRequest_GetAlternateSetting |
( |
const USBGenericRequest * |
request |
) |
|
Indicates the new alternate setting that the interface targeted by a SET_INTERFACE request should use.
- Parameters:
-
- Returns:
- New active setting for the interface.
Indicates which interface is targeted by a GET_INTERFACE or SET_INTERFACE request.
- Parameters:
-
- Returns:
- Interface number.
Returns the address that the device must take in response to a SET_ADDRESS request.
- Parameters:
-
- Returns:
- New device address.
uint8_t USBSetConfigurationRequest_GetConfiguration |
( |
const USBGenericRequest * |
request |
) |
|
Returns the number of the configuration that should be set in response to the given SET_CONFIGURATION request.
- Parameters:
-
- Returns:
- Number of the requested configuration.