ben-arduino-usb

Graph

(0) tip
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