Microchip® Advanced Software Framework

usb_config Struct Reference

USB configurations.

#include <usb.h>

Data Fields

bool run_in_standby
 When true the module is enabled during standby. More...
 
bool select_host_mode
 true for host, false for device. More...
 
enum gclk_generator source_generator
 Generic Clock Generator source channel. More...
 
enum usb_speed speed_mode
 Speed mode. More...
 

bool usb_config::run_in_standby

When true the module is enabled during standby.

Referenced by usb_get_config_defaults(), and usb_init().

bool usb_config::select_host_mode

true for host, false for device.

Referenced by usb_get_config_defaults(), and usb_init().

enum gclk_generator usb_config::source_generator

Generic Clock Generator source channel.

Referenced by usb_get_config_defaults(), and usb_init().

enum usb_speed usb_config::speed_mode

Speed mode.

Referenced by usb_get_config_defaults(), and usb_init().