zephyr/samples/subsys
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
..
console tests: fix test identifiers 2019-12-09 15:53:44 -05:00
fs tests: fix test identifiers 2019-12-09 15:53:44 -05:00
ipc tests: fix test identifiers 2019-12-09 15:53:44 -05:00
logging tests: fix test identifiers 2019-12-09 15:53:44 -05:00
mgmt global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
nvs tests: fix test identifiers 2019-12-09 15:53:44 -05:00
power/device_pm cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
shell global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
usb usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
subsys.rst