Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
This commit is contained in:
parent
a8871c7fba
commit
5a4def7478
760 changed files with 12883 additions and 12164 deletions
|
|
@ -17,4 +17,4 @@
|
|||
* \li \subpage Page_FutureChanges - Planned Changes to the Library
|
||||
* \li \subpage Page_LUFAPoweredProjects - Other Projects Using LUFA
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@
|
|||
* <b>Website:</b> http://www.pjrc.com/teensy/usb_debug_only.html \n
|
||||
* <b>Description:</b> Not so much a complete stack as a collection of USB enabled demos, this library is specifically
|
||||
* designed for the PJRC Teensy line of USB AVRs, and thus may need to be modified for other USB AVR
|
||||
* chips. These minimal code samples shows the inner workings of the USB controller, without all the
|
||||
* abstraction present in most other USB AVR stacks.
|
||||
* chips. These minimal code samples shows the inner workings of the USB controller, without all the
|
||||
* abstraction present in most other USB AVR stacks.
|
||||
*
|
||||
* \section Sec_SoftwareStacks Software AVR Stacks
|
||||
* These are the known alternative USB stacks which can run on regular AVR models, lacking dedicated hardware USB controllers
|
||||
|
|
@ -66,4 +66,4 @@
|
|||
* Used in many commercial and non-commercial designs, with user-submitted projects available for viewing
|
||||
* on the company's website. Uses C language code mixed with assembly for time-critical sections.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@
|
|||
* demonstrated in the library demos and applications. This is the preferred method, as the library is recompiled
|
||||
* each time to ensure that all static options for a particular application are applied.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@
|
|||
* read (thanks to Andrei Krainev)
|
||||
* - Fixed device state not being reset back to the default state if the host sets the address to 0
|
||||
* - Fixed Set Configuration requests not being stalled until the host has set the device's address
|
||||
* - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the
|
||||
* - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the
|
||||
* HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set
|
||||
* - Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occurring while the control endpoint
|
||||
* request is being processed, causing possible lockups if a USB interrupt occurs during a transfer
|
||||
|
|
@ -323,7 +323,7 @@
|
|||
* - Fixed Mass Storage Host Class driver and Low Level demo not clearing the error condition if an attached device returns a
|
||||
* STALL to a GET MAX LUN request (thanks to Martin Luxen)
|
||||
* - Fixed TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting
|
||||
* - Fixed MassStorageHost Class driver demo not having USB_STREAM_TIMEOUT_MS compile time option set properly to prevent slow
|
||||
* - Fixed MassStorageHost Class driver demo not having USB_STREAM_TIMEOUT_MS compile time option set properly to prevent slow
|
||||
* devices from timing out the data pipes
|
||||
* - Fixed the definition of the Endpoint_BytesInEndpoint() macro for the U4 series AVR parts
|
||||
* - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing
|
||||
|
|
@ -400,7 +400,7 @@
|
|||
* - Added new Pipe_IsFrozen() macro to determine if the currently selected pipe is frozen
|
||||
* - Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID
|
||||
* - Added new combined Mass Storage and Keyboard demo (thanks to Matthias Hullin)
|
||||
*
|
||||
*
|
||||
* <b>Changed:</b>
|
||||
* - SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested
|
||||
* HID interface within the device, not all HID interfaces
|
||||
|
|
@ -479,7 +479,7 @@
|
|||
* - Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions
|
||||
* - Added new DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR compile time options
|
||||
* - Added 404 Not Found errors to the webserver in the RNDIS demos to indicate invalid URLs
|
||||
*
|
||||
*
|
||||
* <b>Changed:</b>
|
||||
* - Deprecated pseudo-scheduler and removed dynamic memory allocator from the library (first no longer needed and second unused)
|
||||
* - The device-mode CALLBACK_USB_GetDescriptor() function now has an extra parameter so that the memory space in which the requested
|
||||
|
|
@ -635,7 +635,7 @@
|
|||
* - Changed HWB board driver to Buttons driver, to allow for the support of future boards with more than one mounted GPIO button
|
||||
* - Serial driver now correctly calculates the baud register value when in double speed mode
|
||||
* - Init function of the Serial driver is now static inline to product smaller code for the common-case of static init values
|
||||
*
|
||||
*
|
||||
*
|
||||
* \section Sec_ChangeLog090401 Version 090401
|
||||
*
|
||||
|
|
@ -757,9 +757,9 @@
|
|||
* - Doxygen documentation now contains documentation on all the projects, bootloaders and most demos included with the library
|
||||
* - CDC bootloader now runs user application when USB disconnected rather than waiting for a hard reset
|
||||
* - MouseHostWithParser and KeyboardHostWithParser now support multiple-report devices
|
||||
* - RNDIS demo can now close connections correctly using the new TCP_APP_CLOSECONNECTION() macro - used in Webserver
|
||||
* - RNDIS demo can now close connections correctly using the new TCP_APP_CLOSECONNECTION() macro - used in Webserver
|
||||
* - Fixed the DFU bootloader, no longer freezes up when certain files are programmed into an AVR, made reading/writing faster
|
||||
* - Fixed mouse/joystick up/down movements reversed - HID mouse X/Y coordinates use a left-handed coordinate system, not a normal
|
||||
* - Fixed mouse/joystick up/down movements reversed - HID mouse X/Y coordinates use a left-handed coordinate system, not a normal
|
||||
* right-handed system
|
||||
* - Added stub code to the CDC and USBtoSerial demos showing how to read and set the RS-232 handshake lines - not currently used in
|
||||
* the demos, but the example code and supporting defines are now in place
|
||||
|
|
@ -814,7 +814,7 @@
|
|||
* - All HID demos now pass the USB.org automated HID compliance tests
|
||||
* - Polling interval of the interrupt endpoint in the CDC based demos changed to 0xFF to fix problems on Linux systems
|
||||
* - Changed stream functions to accept a new callback function, with NO_STREAM_CALLBACKS used to disable all callbacks
|
||||
* - Mass Storage demo dataflash management routines changed to use the endpoint stream functions
|
||||
* - Mass Storage demo dataflash management routines changed to use the endpoint stream functions
|
||||
* - Added AVRStudio project files for each demo in addition to the existing Programmer's Notepad master project file
|
||||
* - Re-added call to ReconfigureUSART() in USBtoSerial SetLineCoding request, so that baud rate changes
|
||||
* are reflected in the hardware (change was previously lost)
|
||||
|
|
@ -950,7 +950,7 @@
|
|||
*
|
||||
* - Added call to ReconfigureUSART() in USBtoSerial SetLineCoding request, so that baud rate changes
|
||||
* are reflected in the hardware
|
||||
* - Fixed CDC and USBtoSerial demos - Stream commands do not work for control endpoints, and the
|
||||
* - Fixed CDC and USBtoSerial demos - Stream commands do not work for control endpoints, and the
|
||||
* GetLineCoding request had an incorrect RequestType mask preventing it from being processed
|
||||
* - Improved reliability of the USBtoSerial demo, adding a busy wait while the buffer is full
|
||||
* - Device control endpoint size is now determined from the device's descriptors rather than being fixed
|
||||
|
|
@ -1057,6 +1057,7 @@
|
|||
* - ID transition interrupt now raises the appropriate device/host disconnect event if device attached
|
||||
* - Fixed double VBUS change (and VBUS -) event when detaching in device mode
|
||||
* - Added ability to disable ANSI terminal codes by the defining of DISABLE_TERMINAL_CODES in makefile
|
||||
* - Removed return from ConfigurePipe and ConfigureEndpoint functions - use Pipe_IsConfigured() and
|
||||
* - Removed return from ConfigurePipe and ConfigureEndpoint functions - use Pipe_IsConfigured() and
|
||||
* Endpoint_IsConfigured() after calling the config functions to determine success
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
* Mouse or Keyboard operation is desired, using boot compatible devices), the code responsible for the Report protocol
|
||||
* mode can be removed to save space in the compiled application by defining this token. When defined, it is still necessary
|
||||
* to explicitly put the attached device into Boot protocol mode via a call to \ref HID_Host_SetBootProtocol().
|
||||
*
|
||||
*
|
||||
* <b>HID_STATETABLE_STACK_DEPTH</b>=<i>x</i> - ( \ref Group_HIDParser ) \n
|
||||
* HID reports may contain PUSH and POP elements, to store and retrieve the current HID state table onto a stack. This
|
||||
* allows for reports to save the state table before modifying it slightly for a data item, and then restore the previous
|
||||
|
|
@ -203,3 +203,4 @@
|
|||
* back to a known idle state before communications occur with the device. This token may be defined to a 16-bit value to set the device
|
||||
* settle period, specified in milliseconds. If not defined, the default value specified in Host.h is used instead.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* This file contains special DoxyGen information for the generation of the main page and other special
|
||||
* documentation pages. It is not a project source file.
|
||||
*/
|
||||
|
||||
|
||||
/** \page Page_CompilingApps Compiling the Demos, Bootloaders and Projects
|
||||
*
|
||||
* The following details how to compile the included LUFA demos, applications and bootloaders using AVR-GCC.
|
||||
|
|
@ -27,4 +27,4 @@
|
|||
* files), execute <b>"make clean"</b>. Once a "make all" has been run and no errors were encountered, the resulting binary will
|
||||
* be located in the generated ".HEX" file. If your project makes use of pre-initialized EEPROM variables, the generated ".EEP"
|
||||
* file will contain the project's EEPROM data.
|
||||
*/
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* This file contains special DoxyGen information for the generation of the main page and other special
|
||||
* documentation pages. It is not a project source file.
|
||||
*/
|
||||
|
||||
|
||||
/** \page Page_ConfiguringApps Configuring the Demos, Bootloaders and Projects
|
||||
*
|
||||
* If the target AVR model, clock speed, board or other settings are different from the current settings, they must be changed
|
||||
|
|
@ -86,4 +86,4 @@
|
|||
* model and cannot be made to function through the altering of the makefile settings alone (or at all). Settings such as the USB mode (device, host or both),
|
||||
* the USB interface speed (Low or Full speed) and other LUFA configuration options can be set here - see \ref Page_TokenSummary documentation for details
|
||||
* on the available LUFA compile time configuration options.
|
||||
*/
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@
|
|||
* \li \subpage Page_WritingBoardDrivers - How to Write Custom Board Drivers
|
||||
* \li \subpage Page_SoftwareBootloaderStart - How to jump to the bootloader in software
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,4 +44,4 @@
|
|||
* - Arduino Uno
|
||||
* - Any Other Custom User Boards (with Board Drivers if desired, see \ref Page_WritingBoardDrivers)
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,30 +6,30 @@
|
|||
|
||||
/** \dir LUFA/Common
|
||||
* \brief Common library header files.
|
||||
*
|
||||
*
|
||||
* This folder contains header files which are common to all parts of the LUFA library. They may be used freely in
|
||||
* user applications.
|
||||
*
|
||||
* \dir LUFA/Drivers
|
||||
* \brief Library hardware and software drivers.
|
||||
*
|
||||
*
|
||||
* This folder contains all the library hardware and software drivers for each supported board and USB AVR
|
||||
* microcontroller model.
|
||||
*
|
||||
*
|
||||
* \dir LUFA/Drivers/Misc
|
||||
* \brief Miscellaneous driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for aspects other than the USB interface, board hardware or AVR peripherals.
|
||||
*
|
||||
*
|
||||
* \dir LUFA/Drivers/Peripheral
|
||||
* \brief USB AVR peripheral driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for several of the AVR internal peripherals such as the USART, compatible with
|
||||
* all USB AVR models.
|
||||
*
|
||||
* \dir LUFA/Drivers/Peripheral/AVRU4U6U7
|
||||
* \brief AT90USBXXX6, AT90USBXXX7 and ATMEGAXXU4 AVR model peripheral driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for several of the AVR internal peripherals such as the USART, compatible only with
|
||||
* the AT90USBXXX6, AT90USBXXX7 and ATMEGAXXU4 USB AVR models, such as the AT90USB1287. Its contents should <b>not</b> be
|
||||
* included by the user application - the dispatch header file located in the parent directory should be used
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
*
|
||||
* \dir LUFA/Drivers/USB
|
||||
* \brief USB controller peripheral driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains the main header files required to implement the USB interface in the USB supporting AVR models.
|
||||
* The header files contained directly in this folder should be included in the user application in order to gain USB
|
||||
* functionality, and the appropriate C source files in the LowLevel and HighLevel driver folders added to the compile
|
||||
|
|
@ -45,147 +45,148 @@
|
|||
*
|
||||
* \dir LUFA/Drivers/USB/LowLevel
|
||||
* \brief Low level USB driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains low level USB driver source files required to implement USB functionality on the USB AVR microcontrollers.
|
||||
*
|
||||
* \dir LUFA/Drivers/USB/HighLevel
|
||||
* \brief High level USB driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains high level USB driver source files required to implement USB functionality on the USB AVR microcontrollers.
|
||||
*
|
||||
* \dir LUFA/Drivers/USB/Class
|
||||
* \brief USB Class helper driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for implementing functionality of standardized USB classes. These are not used directly by the library,
|
||||
* but provide a standard and library-maintained way of implementing functionality from some of the defined USB classes without extensive
|
||||
* development effort. Is is recommended that these drivers be used where possible to reduce maintenance of user applications.
|
||||
*
|
||||
* \dir LUFA/Drivers/USB/Class/Device
|
||||
* \brief USB Device Class helper driver files.
|
||||
*
|
||||
*
|
||||
* Device mode drivers for the standard USB classes.
|
||||
*
|
||||
* \dir LUFA/Drivers/USB/Class/Host
|
||||
* \brief USB Host Class helper driver files.
|
||||
*
|
||||
*
|
||||
* Host mode drivers for the standard USB classes.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board
|
||||
* \brief Board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for interfacing with the physical hardware on supported commercial boards, primarily from
|
||||
* the Atmel corporation. Header files in this folder should be included in user applications requiring the functionality of
|
||||
* hardware placed on supported boards.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/USBKEY
|
||||
* \brief USBKEY board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel USBKEY demonstration board. The header files in this folder should
|
||||
* not be included directly in user applications; the similarly named dispatch header files located in the parent Board directory
|
||||
* should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/STK526
|
||||
* \brief STK526 board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel STK526 development board. The header files in this folder should
|
||||
* not be included directly in user applications; the similarly named dispatch header files located in the parent Board directory
|
||||
* should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/STK525
|
||||
* \brief STK525 board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel STK525 development board. The header files in this folder should
|
||||
* not be included directly in user applications; the similarly named dispatch header files located in the parent Board directory
|
||||
* should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/RZUSBSTICK
|
||||
* \brief RZUSBSTICK board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel RZUSBSTICK board, as used in the Atmel "Raven" wireless kits. The header
|
||||
* files in this folder should not be included directly in user applications; the similarly named dispatch header files located in
|
||||
* the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/ATAVRUSBRF01
|
||||
* \brief ATAVRUSBRF01 board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel ATAVRUSBRF01 board, as used in several Atmel wireless demo kits. The header
|
||||
* files in this folder should not be included directly in user applications; the similarly named dispatch header files located in
|
||||
* the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/BUMBLEB
|
||||
* \brief BUMBLEB board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Fletchtronics Bumble-B board (http://fletchtronics.net/bumble-b). The header
|
||||
* files in this folder should not be included directly in user applications; the similarly named dispatch header files located in
|
||||
* the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/XPLAIN
|
||||
* \brief XPLAIN board hardware driver files.
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel XPLAIN board (all hardware revisions). The header files in this folder
|
||||
* should not be included directly in user applications; the similarly named dispatch header files located in the parent Board
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel XPLAIN board (all hardware revisions). The header files in this folder
|
||||
* should not be included directly in user applications; the similarly named dispatch header files located in the parent Board
|
||||
* directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/EVK527
|
||||
* \brief XPLAIN board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Atmel EVK527 development board. The header files in this folder should
|
||||
* not be included directly in user applications; the similarly named dispatch header files located in the parent Board directory
|
||||
* should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/TEENSY
|
||||
* \brief TEENSY board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on all revisions of the PJRC Teensy boards (http://www.pjrc.com/teensy/). The header
|
||||
* files in this folder should not be included directly in user applications; the similarly named dispatch header files located
|
||||
* in the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/USBTINYMKII
|
||||
* \brief USBTINY-MKII board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on all revisions of the USBTINY-MKII boards (http://tom-itx.dyndns.org:81/~webpage/).
|
||||
* The header files in this folder should not be included directly in user applications; the similarly named dispatch header files
|
||||
* located in the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/BENITO
|
||||
* \brief BENITO board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Benito boards (http://dorkbotpdx.org/wiki/benito). The header files in this
|
||||
* folder should not be included directly in user applications; the similarly named dispatch header files located in the parent
|
||||
* Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/JMDBU2
|
||||
* \brief JM-DB-U2 board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the JM-DB-U2 boards (http://u2.mattair.net/). The header files in this folder
|
||||
* should not be included directly in user applications; the similarly named dispatch header files located in the parent Board
|
||||
* directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/OLIMEX162
|
||||
* \brief Olimex USB-STK-162 board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the Olimex AVR-USB-162 boards (http://www.olimex.com/dev/avr-usb-162.html).
|
||||
* The header files in this folder should not be included directly in user applications; the similarly named dispatch header files
|
||||
* located in the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/Drivers/Board/USBFOO
|
||||
* \brief USBFOO board hardware driver files.
|
||||
*
|
||||
*
|
||||
* This folder contains drivers for hardware on the USBFOO boards (http://shop.kernelconcepts.de/product_info.php?products_id=102).
|
||||
* The header files in this folder should not be included directly in user applications; the similarly named dispatch header files
|
||||
* located in the parent Board directory should be included instead.
|
||||
*
|
||||
* \dir LUFA/CodeTemplates
|
||||
* \brief Code templates for use in LUFA powered applications.
|
||||
*
|
||||
*
|
||||
* This contains code templates for board drivers, sample LUFA project makefiles and other similar templates that can be copied into
|
||||
* a LUFA powered application and modified to speed up development.
|
||||
*
|
||||
* \dir LUFA/CodeTemplates/DriverStubs
|
||||
* \brief Driver stub header files for custom boards, to allow the LUFA board drivers to operate.
|
||||
*
|
||||
*
|
||||
* This contains stub files for the LUFA board drivers. If the LUFA board drivers are used with board hardware other than those
|
||||
* directly supported by the library, the BOARD parameter of the application's makefile can be set to "USER", and these stub files
|
||||
* copied to the "/Board/" directory of the application's folder. When fleshed out with working driver code for the custom board,
|
||||
* the corresponding LUFA board APIs will work correctly with the non-standard board hardware.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@
|
|||
* \image html "http://www.pledgie.com/campaigns/6927.png?skin_name=chrome"
|
||||
* <a href='http://www.pledgie.com/campaigns/6927'>Donate to this project via PayPal</a> - Thanks in Advance!
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,3 +40,4 @@
|
|||
* -# Atmel ARM7 series microcontrollers
|
||||
* -# Other (commercial) C compilers
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,3 +24,4 @@
|
|||
* \li \subpage Page_CompilingApps - How to Compile the Included Demos, Projects and Bootloaders
|
||||
* \li \subpage Page_ProgrammingApps - How to Program an AVR with the Included Demos, Projects and Bootloaders
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,9 @@
|
|||
*
|
||||
* Functions, macros, variables, enums and types related to the control of AVR subsystems.
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup Group_MiscDrivers Miscellaneous Drivers
|
||||
*
|
||||
* Miscellaneous driver Functions, macros, variables, enums and types.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
* - Teensy and Teensy++, two other AVR USB development boards: http://www.pjrc.com/teensy/index.html
|
||||
* - U2DIL/U4DIL, a set of DIP layout USB AVR boards: http://www.reworld.eu/re/en/products/u2dil/
|
||||
* - USBFOO 2, AT90USB162 based development board: http://shop.kernelconcepts.de/product_info.php?products_id=102
|
||||
*
|
||||
*
|
||||
* \section Sec_LUFAProjects Projects Using LUFA (Hobbyist)
|
||||
*
|
||||
* The following are known hobbyist projects using LUFA. Most are open source, and show off interesting ways that the LUFA library
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
* - USB Interface for Playstation Portable Devices: http://forums.ps2dev.org/viewtopic.php?t=11001
|
||||
* - Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
|
||||
* - XUM1541, a Commodore 64 floppy drive to USB adapter: http://www.root.org/~nate/c64/xum1541/
|
||||
*
|
||||
*
|
||||
* \section Sec_LUFACommercialProjects Projects Using LUFA (Commercial)
|
||||
*
|
||||
* The following is a list of known commercial products using LUFA. Some of these are open source, although many are "black-box"
|
||||
|
|
@ -91,4 +91,4 @@
|
|||
* - Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
|
||||
* - Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
|
||||
* - Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
|
||||
*/
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -43,4 +43,4 @@
|
|||
* As many people are now using LUFA, there is a community being built around it. You can get answers to your LUFA related questions
|
||||
* quickly by either emailing the library author (subject to author's schedule) or by posting to the official LUFA support mailing list.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
* - <b>StillImageHost</b> - Still Image Camera host demo, using the library USB Still Image Class driver framework
|
||||
* - <b>VirtualSerialHost</b> - Virtual Serial Port host demo, using the library USB CDC Class driver framework
|
||||
* - <b>LowLevel</b>
|
||||
* - <b>JoystickHostWithParser</b> - Joystick host demo with HID Descriptor parser, using the low level LUFA APIs to implement
|
||||
* - <b>JoystickHostWithParser</b> - Joystick host demo with HID Descriptor parser, using the low level LUFA APIs to implement
|
||||
* the USB HID class
|
||||
* - <b>GenericHIDHost</b> - Generic HID host demo, using the low level LUFA APIs to implement the USB HID class
|
||||
* - <b>KeyboardHost</b> - USB Keyboard host demo, using the low level LUFA APIs to implement the USB HID class
|
||||
|
|
@ -113,3 +113,4 @@
|
|||
*
|
||||
* </small>
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* This file contains special DoxyGen information for the generation of the main page and other special
|
||||
* documentation pages. It is not a project source file.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \page Page_Resources Library Resources
|
||||
*
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
* \section Sec_USBResources USB Resources
|
||||
* USB-IF Website: http://www.usb.org \n
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@
|
|||
*
|
||||
* \verbinclude License.txt
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
* both host and device modes. For information about the project progression, see the blog link at \ref Page_Resources.
|
||||
*
|
||||
* LUFA is written specifically for the free AVR-GCC compiler, and uses several GCC-only extensions to make the
|
||||
* library API more streamlined and robust. You can download AVR-GCC for free in a convenient windows package,
|
||||
* library API more streamlined and robust. You can download AVR-GCC for free in a convenient windows package,
|
||||
* from the the WinAVR website (see \ref Page_Resources).
|
||||
*
|
||||
* The only required AVR peripherals for LUFA is the USB controller itself and interrupts - LUFA does not require the use of the
|
||||
|
|
@ -43,3 +43,4 @@
|
|||
* \li \subpage Page_Donating - Donating to support this project
|
||||
* \li \subpage Page_LibraryApps - Overview of included Demos, Bootloaders and Projects
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
* be updated in all project makefiles, or the makefile should be updated to use the new module source variables.
|
||||
* - The Drivers/USB/LowLevel/HostChapter9.h source file has moved to Drivers/USB/HighLevel/HostStandardReq.c - this should
|
||||
* be updated in all project makefiles, or the makefile should be updated to use the new module source variables.
|
||||
* - The Drivers/USB/LowLevel/LowLevel.c source file has moved to Drivers/LowLevel/USBController.c - this should be updated
|
||||
* - The Drivers/USB/LowLevel/LowLevel.c source file has moved to Drivers/LowLevel/USBController.c - this should be updated
|
||||
* in all project makefiles, or the makefile should be updated to use the new module source variables.
|
||||
*
|
||||
* <b>Device Mode</b>
|
||||
|
|
@ -107,8 +107,8 @@
|
|||
*
|
||||
* <b>Non-USB Library Components</b>
|
||||
* - Due to some ADC channels not being identical to their ADC MUX selection masks for single-ended conversions on some AVR models,
|
||||
* the ADC driver now has explicit masks for each of the standard ADC channels (see \ref Group_ADC). These masks should be used
|
||||
* when calling the ADC functions to ensure proper operation across all AVR models. Note that the \ref ADC_SetupChannel() function
|
||||
* the ADC driver now has explicit masks for each of the standard ADC channels (see \ref Group_ADC). These masks should be used
|
||||
* when calling the ADC functions to ensure proper operation across all AVR models. Note that the \ref ADC_SetupChannel() function
|
||||
* is an exception, and should always be called with a channel number rather than a channel mask.
|
||||
*
|
||||
* <b>Host Mode</b>
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
* indicate the report type to generate. Existing applications may simply add and ignore this additional parameter.
|
||||
*
|
||||
* \section Sec_Migration091122 Migrating from 090924 to 091122
|
||||
*
|
||||
*
|
||||
* <b>Host Mode</b>
|
||||
* - The HID_PARSE_UsageStackOverflow HID parser error constant is now named \ref HID_PARSE_UsageListOverflow
|
||||
* - The \ref CALLBACK_HIDParser_FilterHIDReportItem() HID Parser callback now passes a complete HID_ReportItem_t to the
|
||||
|
|
@ -267,7 +267,7 @@
|
|||
* library demos should update to the latest versions.
|
||||
*
|
||||
* <b>Device Mode</b>
|
||||
* - The Endpoint_ClearCurrentBank() macro has been removed, and is now replaced with the Endpoint_ClearIN(), Endpoint_ClearOUT()
|
||||
* - The Endpoint_ClearCurrentBank() macro has been removed, and is now replaced with the Endpoint_ClearIN(), Endpoint_ClearOUT()
|
||||
* macros. See Endpoint.h documentation for more details on the new endpoint management macros.
|
||||
* - The Endpoint_ReadWriteAllowed() macro has been renamed to Endpoint_IsReadWriteAllowed() to be more consistent with the rest of
|
||||
* the API naming scheme.
|
||||
|
|
@ -339,7 +339,7 @@
|
|||
*
|
||||
* <b>Device Mode</b>
|
||||
* - The NO_CLEARSET_FEATURE_REQUEST compile time token has been renamed to FEATURELESS_CONTROL_ONLY_DEVICE, and its function expanded
|
||||
* to also remove parts of the Get Status chapter 9 request to further reduce code usage. On all applications currently using the
|
||||
* to also remove parts of the Get Status chapter 9 request to further reduce code usage. On all applications currently using the
|
||||
* NO_CLEARSET_FEATURE_REQUEST compile time token, it can be replaced with the FEATURELESS_CONTROL_ONLY_DEVICE token with no further
|
||||
* modifications required.
|
||||
*
|
||||
|
|
@ -560,3 +560,4 @@
|
|||
* finished enumerating the device. Projects relying on the event only firing in Host mode should be updated
|
||||
* so that the event action only occurs when the USB_Mode global is set to USB_MODE_HOST.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* This file contains special DoxyGen information for the generation of the main page and other special
|
||||
* documentation pages. It is not a project source file.
|
||||
*/
|
||||
|
||||
|
||||
/** \page Page_ProgrammingApps Programming an Application into a USB AVR
|
||||
*
|
||||
* Once you have built an application, you will need a way to program in the resulting ".HEX" file (and, if your
|
||||
|
|
@ -24,4 +24,4 @@
|
|||
* If you wish to use the DFU bootloader to program in your application, refer to your DFU programmer's documentation.
|
||||
* Atmel provides a free utility called FLIP which is USB AVR compatible, and an open source (Linux compatible)
|
||||
* alternative exists called "dfu-programmer".
|
||||
*/
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* #define MAGIC_BOOT_KEY 0xDC42ACCA
|
||||
* #define BOOTLOADER_START_ADDRESS (FLASH_SIZE_BYTES - BOOTLOADER_SEC_SIZE_BYTES)
|
||||
*
|
||||
*
|
||||
* void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3);
|
||||
* void Bootloader_Jump_Check(void)
|
||||
* {
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
* if ((MCUSR & (1 << WDRF)) && (Boot_Key == MAGIC_BOOT_KEY))
|
||||
* {
|
||||
* Boot_Key = 0;
|
||||
* ((void (*)(void))BOOTLOADER_START_ADDRESS)();
|
||||
* ((void (*)(void))BOOTLOADER_START_ADDRESS)();
|
||||
* }
|
||||
* }
|
||||
*
|
||||
|
|
@ -57,12 +57,13 @@
|
|||
* // Set the bootloader key to the magic value and force a reset
|
||||
* Boot_Key = MAGIC_BOOT_KEY;
|
||||
* wdt_enable(WDTO_250MS);
|
||||
* for (;;);
|
||||
* for (;;);
|
||||
* }
|
||||
* \endcode
|
||||
*
|
||||
* Note that the bootloader magic key can be any arbitrary value. The <em>FLASH_SIZE_BYTES</em> and
|
||||
* <em>BOOTLOADER_SEC_SIZE_BYTES</em> tokens should be replaced with the total flash size of the AVR
|
||||
* in bytes, and the allocated size of the bootloader section for the target AVR.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -421,3 +421,4 @@
|
|||
* to be resolved by using a unique release number in the Device Descriptor. No devices using this
|
||||
* VID/PID combination may be released to the general public.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -43,4 +43,4 @@
|
|||
* <small>* Atmel Stack Mouse Device Demo 4292 bytes, LUFA Mouse Low Level Device Demo 3332 bytes, under identical build
|
||||
* environments</small>
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,3 +24,4 @@
|
|||
* user board drivers, maintaining code compatibility and allowing for a different board to be selected through the
|
||||
* project makefile with no code changes.
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue