ben-arduino-usb

Graph

(0) tip
Added support for transferring multi-packet payloads.
Fixed the mode macros and introduced better disconnection testing.
Added an explicit bus reset test.
Introduced a timeout for failed control requests and a delay upon retrying.
Fixed the mode macros and introduced better disconnection testing.
Complicated the state machine, adding various reset and wait states, introducing
Added elementary handling for maximum packet sizes.
Incorporated start-of-frame and keep-alive packet generation into the low and
Removed the superfluous second reset apparently done/expected by Windows.
Added configuration listing support.
Introduced a generic descriptor retrieval function, using it in device
Added device address setting and retrieval of the languages string descriptor.
Added clearing of the handshake/timeout interrupt.
Added a device abstraction, storage of device descriptors, and second reset handling.
Added detection of devices that are already connected.
Added a status payload transfer after the initial control message transfer.
Handle device disconnection and reconnection more elegantly.
Added the necessary bus reset sequence before device communication can occur.
Introduced a specific control request function since the data involved in such
Added tentative data transfer functionality.
Introduced convenience macros for host modes.
Introduced some device connection (and disconnection) handling.
Removed nanosleep and usleep delays.
Added missing interrupt status retrieval.
Fixed interrupt detection by testing for INT being low, not high.
Fixed the RESET pin state which, having been cleared, was preventing device initialisation.
Introduced register reading and writing functions.
Removed redundant half-duplex SPI functions.
Added a function to check the oscillator, although this does not seem to obtain
Moved the reset functionality into separate functions.
Added a simple pin test program.
Moved the reset functionality into separate functions.
Test programs for the USB Host Shield (test.c) and the M74HC595B1R shift register (shift.c).
(0) tip