|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
USB device classes. More...
USB device classes.
Classes | |
| struct | CdcOutput |
| Logger output sink for sbl::log integration. More... | |
| class | CdcSerial |
| USB CDC (Virtual COM Port) interface. More... | |
| class | MidiPort |
| USB MIDI device port (static class) More... | |
Functions | |
| void | init () |
| Initialize USB subsystem. | |
| void | task () |
| Process USB events. | |
| bool | ready () |
| Check if USB is enumerated and ready. | |
| void sbl::usb::init | ( | ) |
Initialize USB subsystem.
Sets up USB peripheral clocks, pins, and initializes TinyUSB. Call once at startup after sbl::driver::init().
| void sbl::usb::task | ( | ) |
Process USB events.
Must be called periodically (from main loop or timer) to handle USB enumeration, data transfer, and protocol handling.
| bool sbl::usb::ready | ( | ) |
Check if USB is enumerated and ready.
Referenced by sbl::usb::CdcSerial::just_connected().