Embedded tools that
make the differenceâ„¢
The CodeVisionAVR compiler features an easy to use USB library for operation in Device mode.
The library is fully supported by the CodeWizardAVR, allowing to design a fully functional USB application in a matter of minutes:
CodeVisionAVR
Integrated Development Environment for the 8-bit Microchip AVR, AVR8X, AVR DA, AVR DB, AVR DD, AVR EA and XMEGA Microcontrollers
Libraries
Besides the standard C libraries, the CodeVisionAVR compiler features a rich set of libraries designed to fulfil all the needs of the embedded systems programmer.
The CodeVisionAVR libraries are not GPL-ed, therefore you are not obliged to publish the source code of your commercial application or pay us royalties for their commercial usage.
The following Device Classes are currently supported:
Communication Device Class - Virtual Serial Port
Human Interface Device - Keyboard
Human Interface Device - Mouse
Human Interface Device - Joystick
Human Interface Device - Generic
The following chips are supported:
AT90USB646/647/1286/1287
AT90USB82/162
ATmega8U2/16U2/32U2
ATmega16U4/32U4
ATmega32U6
ATxmega 64A1U/128A1U
ATxmega 64A3U/128A3U/192A3U/256A3U
ATxmega 16A4U/32A4U/64A4U/128A4U
ATxmega 256A3BU
ATxmega 64B1/128B1
ATxmega 64B3/128B3
ATxmega 32C3/64C3/128C3/256C3/384C3
ATxmega 16C4/32C4
The USB Device library can implement a maximum of two interfaces for non-XMEGA chips.
For XMEGA chips up to four Interfaces are supported.
This allows the creation of composite USB devices using the same controller, for example: mouse and keyboard.
Example CodeWizardAVR USB configuration page for non-XMEGA chips:
Example CodeWizardAVR USB configuration page for XMEGA chips: