Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem N5110_mod SDFileSystem USBDevice mbed
Variables and functions used to control the USB interfacing. More...
Functions | |
| void | USB_init () |
| # functions | |
| void | decay_ISR () |
| called by decay ticker | |
Variables | |
| int | USB_mode = 3 |
| # flags & variables | |
| volatile int | decay_flag = 0 |
| indicates whether the output needs clearing | |
| USBMIDI * | midi = 0 |
| # IO & interrupts | |
| USBSerial * | pc = 0 |
| pointer to serial function | |
| USBAudio * | audio = 0 |
| pointer to audio function | |
| Ticker | decay_tkr |
| ticker for note decay | |
Detailed Description
Variables and functions used to control the USB interfacing.
Function Documentation
| void USB_init | ( | ) |
# functions
initialises USB
# functions
initialises USB mode, dependent on USB_mode value
disconnects serial, if connected
disconnects audio, if connected
connects midi
disconnects midi, if connected
disconnects audio, if connected
connects serial
disconnects serial, if connected
disconnects midi, if connected
connects audio
detatches all tickers, to maximise efficiency
disconnects serial, if connected
disconnects midi, if connected
Variable Documentation
| volatile int decay_flag = 0 |
Generated on Tue Jul 12 2022 13:31:54 by
1.7.2