usbmux 2.1.0.0
|
USB MUX Click is a compact add-on board with a high-bandwidth switch designed for switching and isolating high-speed USB 2.0 signals in systems with limited USB I/Os. This board features the TS3USB30E, a USB 2.0 1:2 multiplexer/demultiplexer switch with a single enable from Texas Instruments.
We provide a library for the USB MUX Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for USB MUX Click driver.
usbmux_cfg_setup
Config Object Initialization function. usbmux_init
Initialization function. usbmux_default_cfg
Click Default Configuration function. usbmux_set_oe_pin
USB MUX set OE pin output function. usbmux_enable_output
USB MUX enable output function. usbmux_set_output
USB MUX select output function. This example demonstrates the use of the USB MUX Click board. This driver provides functions for device configurations and for the selection of the output.
The demo application is composed of two sections :
Initialization of the log UART, performing default configuration which disables the output.
Reading user input from UART Terminal and using it for the selection of the output of disabling output of the USB MUX Click board.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.