zephyr/drivers/console
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
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ipm_console_receiver.c drivers: fix k_thread_create timeout argument 2019-09-19 17:35:53 +02:00
ipm_console_sender.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
native_posix_console.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
ram_console.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
rtt_console.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
uart_console.c usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
uart_mcumgr.c cleanup: include/: move uart.h to drivers/uart.h 2019-06-27 22:55:49 -04:00
uart_pipe.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
xtensa_sim_console.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00