diff options
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c | 2 | ||||
-rw-r--r-- | Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.txt | 62 | ||||
-rw-r--r-- | Demos/Host/LowLevel/makefile | 3 |
3 files changed, 66 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c index 723cf505a..52ca9101f 100644 --- a/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c @@ -93,7 +93,7 @@ void AndroidHost_Task(void) /* Check if data is in the pipe */ if (Pipe_IsReadWriteAllowed()) { - uint8_t NextReceivedByte = Pipe_BytesInPipe(); + uint8_t NextReceivedByte = Pipe_Read_8(); uint8_t LEDMask = LEDS_NO_LEDS; if (NextReceivedByte & 0x01) diff --git a/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.txt b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.txt new file mode 100644 index 000000000..ba6290a51 --- /dev/null +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.txt @@ -0,0 +1,62 @@ +/** \file
+ *
+ * This file contains special DoxyGen information for the generation of the main page and other special
+ * documentation pages. It is not a project source file.
+ */
+
+/** \mainpage Android Accessory Host Demo
+ *
+ * \section Sec_Compat Demo Compatibility:
+ *
+ * The following list indicates what microcontrollers are compatible with this demo.
+ *
+ * - Series 7 USB AVRs (AT90USBxxx7)
+ *
+ * \section Sec_Info USB Information:
+ *
+ * The following table gives a rundown of the USB utilization of this demo.
+ *
+ * <table>
+ * <tr>
+ * <td><b>USB Mode:</b></td>
+ * <td>Host</td>
+ * </tr>
+ * <tr>
+ * <td><b>USB Class:</b></td>
+ * <td>Android Accessory Host Class</td>
+ * </tr>
+ * <tr>
+ * <td><b>USB Subclass:</b></td>
+ * <td>N/A</td>
+ * </tr>
+ * <tr>
+ * <td><b>Relevant Standards:</b></td>
+ * <td>Android Accessory Host Specification</td>
+ * </tr>
+ * <tr>
+ * <td><b>Usable Speeds:</b></td>
+ * <td>Full Speed Mode</td>
+ * </tr>
+ * </table>
+ *
+ * \section Sec_Description Project Description:
+ *
+ * Android Accessory Host demonstration application. This gives a simple reference
+ * application for implementing an Android Accessory Host device capable of hosting
+ * Android powered mobile devices to send and receive data.
+ *
+ * Sent data from the Android device will be indicated onto the board's LEDs.
+ *
+ * \section Sec_Options Project Options
+ *
+ * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
+ *
+ * <table>
+ * <tr>
+ * <td>
+ * None
+ * </td>
+ * </tr>
+ * </table>
+ */
+
diff --git a/Demos/Host/LowLevel/makefile b/Demos/Host/LowLevel/makefile index 08abaa560..b3aca1288 100644 --- a/Demos/Host/LowLevel/makefile +++ b/Demos/Host/LowLevel/makefile @@ -14,6 +14,9 @@ # code. all: + $(MAKE) -C AndroidAccessoryHost clean + $(MAKE) -C AndroidAccessoryHost all + $(MAKE) -C AudioInputHost clean $(MAKE) -C AudioInputHost all |