aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c
AgeCommit message (Collapse)Author
2009-10-18Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@868 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Application documentation/comment cleanup.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@862 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-13Fixed Low Level USBtoSerial demo not storing received characters (thanks to ↵Dean
Michael from DirectAid.ca). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@823 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-16Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean
under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@741 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean
pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@723 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Changed over manual loops waiting for endpoints to be ready to use the ↵Dean
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@721 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Renamed all library events to properly seperate out Device and Host mode ↵Dean
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@718 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-04Better fix for LowLevel CDC demo issue where sending data before the line ↵Dean
encoding is set will cause a failure of the host to open the port. Added fix to the DualCDC and USBtoSerial LowLevel demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@717 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Add explicit guards to all device mode tasks to ensure the device is ↵Dean
connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@673 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-22Add demos/bootloaders/projects overview to the manual.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@626 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-20Added USE_INTERNAL_SERIAL compile time option to automatically read out the ↵Dean
internal unique serial number as the device's serial number descriptor on supported AVR models. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@618 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-08Error status LEDs shown when device endpoint configuration fails to complete.Dean
MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@581 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-07Converted device mode low-level demos to schedulerless.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@579 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-05Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean
re-add old low level demos to a LowLevel subdirectory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@572 d5102386-fcda-11dd-9fdb-3debd5008f28