zephyr/samples/subsys/usb
Emil Obalski 2128750138 usb: api: Add user device status callback
By this commit user gets possibility to register USB
device satutus callback. This callback represents device state
and is added so user could know what happend to USB device.

Callback is registered by providing it to usb_enable()
USB api is extended by this callback handler.

Samples using using USB are by default provide no callback
and the usb_enable() is called with NULL parameter.

Status callback registered by hid class is deleted as now
USB device has global callback for all classes within device.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2019-12-19 13:08:55 +01:00
..
cdc_acm usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
cdc_acm_composite usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
console tests: fix test identifiers 2019-12-09 15:53:44 -05:00
dfu usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
hid usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
hid-cdc usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
hid-mouse usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
inf
mass usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
testusb usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
webusb usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
usb.rst
usb_pid.Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00