# usb_func_config Struct Reference

A USB device configuration. More...

`#include <function_core.h>`

Collaboration diagram for usb_func_config:

[legend]

## Data Fields
struct usb_func_iface ** | interface
| The interfaces available when this configuration is active.
struct usb_configuration_descriptor * | desc
| The configuration descriptor for this configuration.

## Detailed Description

A USB device configuration.

A configuration is a set of interfaces that can be selected using the SET_CONFIGURATION standard control request.

Definition at line 124 of file function_core.h.

## Field Documentation

struct usb_configuration_descriptor* usb_func_config::desc`[read]`

The configuration descriptor for this configuration.

Definition at line 131 of file function_core.h.

Referenced by usb_func_add_config(), usb_func_get_descriptor(), and usb_func_set_configuration().

struct usb_func_iface** usb_func_config::interface`[read]`

The interfaces available when this configuration is active.

Definition at line 129 of file function_core.h.

Referenced by usb_func_add_config(), usb_func_add_interface(), usb_func_get_interface(), usb_func_process_setup_request(), and usb_func_set_interface().

The documentation for this struct was generated from the following file:

- include/usb/function_core.h