1. 30 Jul, 2009 3 commits
  2. 27 Jul, 2009 1 commit
  3. 21 Jul, 2009 2 commits
    • Dean Camera's avatar
      Added new USB_DeviceState variable to keep track of the current Device mode USB state. · e071f389
      Dean Camera authored
      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.
      e071f389
    • Dean Camera's avatar
      Add explicit guards to all device mode tasks to ensure the device is connected... · 67f390fe
      Dean Camera authored
      Add explicit guards to all device mode tasks to ensure the device is 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.
      67f390fe
  4. 16 Jul, 2009 1 commit
    • Dean Camera's avatar
      Added new TOTAL_NUM_CONFIGURATIONS option, removed... · 37f8a84f
      Dean Camera authored
      Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
      
      Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
      37f8a84f
  5. 15 Jul, 2009 1 commit
    • Dean Camera's avatar
      Fix HID class device driver -- if a SetIDle request is issued with the LSB of... · f85a53a3
      Dean Camera authored
      Fix HID class device driver -- if a SetIDle request is issued with the LSB of wValue set to zero, the idle period must be set for all HID interfaces.
      
      Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
      
      Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
      f85a53a3
  6. 28 Jun, 2009 1 commit
    • Dean Camera's avatar
      Added const modifiers to device mode class drivers. · f1076ac4
      Dean Camera authored
      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).
      f1076ac4
  7. 18 Jun, 2009 1 commit
  8. 14 Jun, 2009 1 commit
  9. 11 Jun, 2009 1 commit
  10. 05 Jun, 2009 1 commit
  11. 02 Jun, 2009 1 commit
    • Dean Camera's avatar
      Removed new Start of Frame event from the library; performance suffered far... · 7c5444b8
      Dean Camera authored
      Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events.
      
      Fixed MIDI class driver blocking on unread events to the host.
      7c5444b8
  12. 01 Jun, 2009 1 commit
    • Dean Camera's avatar
      Commit of new class abstraction APIs for all device demos other than the MIDI... · d1e52660
      Dean Camera authored
      Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet.
      
      Removed scheduler and memory allocation libraries.
      
      Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
      
      Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
      d1e52660