Go to the documentation of this file.
8 #ifndef USB_HOST_SHIELD_SETTINGS_H
9 #define USB_HOST_SHIELD_SETTINGS_H
17 #define ENABLE_UHS_DEBUGGING 0
23 #ifndef USB_HOST_SERIAL
24 #define USB_HOST_SERIAL Serial
32 #define USE_UHS_MEGA_ADK 0 // If you are using Arduino 1.5.5 or newer there is no need to do this manually
35 #define USE_UHS_BLACK_WIDDOW 0
38 #define USE_XMEM_SPI_LOCK 0
46 #ifndef MASS_MAX_SUPPORTED_LUN
47 #define MASS_MAX_SUPPORTED_LUN 8
54 #ifndef USE_SPI4TEENSY3
55 #define USE_SPI4TEENSY3 1
65 #if !defined(DEBUG_USB_HOST) && ENABLE_UHS_DEBUGGING
66 #define DEBUG_USB_HOST
70 #if defined(ARDUINO) && ARDUINO >=100
75 #include <pins_arduino.h>
76 #include <avr/pgmspace.h>
80 #if USE_XMEM_SPI_LOCK | defined(USE_MULTIPLE_APP_API)
83 #define XMEM_ACQUIRE_SPI() (void(0))
84 #define XMEM_RELEASE_SPI() (void(0))
88 #define USING_SPI4TEENSY3 USE_SPI4TEENSY3
90 #define USING_SPI4TEENSY3 0