aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-161-1/+1
| | | | correct operation.
* Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean Camera2009-08-161-1/+3
| | | | under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes.
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-051-1/+1
| | | | | | | | 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.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-6/+6
| | | | | | | | 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.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-5/+0
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Added new Benito project, a simple modified USB-to-Serial bridge for the ↵Dean Camera2009-07-231-1/+1
| | | | programming of AVRs using the official Arduino bootloader.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-1/+1
| | | | | | | | | | | | 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.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-2/+2
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-21/+40
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Changed to new device mode Class Driver function name prefixes to make way ↵Dean Camera2009-06-111-8/+11
| | | | for similar host mode Class drivers.
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-051-0/+175
re-add old low level demos to a LowLevel subdirectory.