DM240415 Microchip Technology, DM240415 Datasheet - Page 31

Accessory Development Starter Kit For Android General Purpose

DM240415

Manufacturer Part Number
DM240415
Description
Accessory Development Starter Kit For Android General Purpose
Manufacturer
Microchip Technology
Series
-r
Datasheet

Specifications of DM240415

Processor To Be Evaluated
PIC24FJ256GB110-I/PT
Processor Series
PIC24F
Data Bus Width
16 bit
Interface Type
USB
Operating Supply Voltage
3.3 V
Design Resources
PIC24F ADK Schematic
Main Purpose
Reference Design, Tablet
Embedded
Yes, MCU, 16-Bit
Utilized Ic / Part
PIC24F
Primary Attributes
Android OS, Development Platform for Accessories, Arduino Compatible
Secondary Attributes
Royalty Free, No Fee Licensed Software Library
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM240415
Manufacturer:
MICROCHIP
Quantity:
12 000
Microchip's Accessory Framework for Android(tm)
File
C
Description
Remarks
Preconditions
Function
5.2
Macros
5.2.1
File
C
Description
usb_host_android.h
void
Tasks function that keeps the Android client driver moving. Keeps the driver processing requests and handling events. This
function should be called periodically (the same frequency as USBHostTasks() would be helpful).
This function should be called periodically to keep the Android driver moving.
AndroidAppStart ( see page 24)() function has been called before the first calling of this function
void AndroidTasks(void)
usb_host_android.h
#define
Error code indicating that the buffer passed to the read function was too small. Since the USB host can't control how much
data it will receive in a single packet, the user must provide a buffer that is at least the size of the endpoint of the attached
device. If a buffer is passed in that is too small, the read will not start and this error is returned to the user.
Error Codes
AndroidTasks();
USB_ERROR_BUFFER_TOO_SMALL Macro
USB_ERROR_BUFFER_TOO_SMALL USB_ERROR_CLASS_DEFINED + 0
Name
USB_ERROR_BUFFER_TOO_SMALL
( see page 26)
Description
Error code indicating that the buffer passed to the read function was
too small. Since the USB host can't control how much data it will
receive in a single packet, the user must provide a buffer that is at
least the size of the endpoint of the attached device. If a buffer is
passed in that is too small, the read will not start and this error is
returned to the user.
26
26
5

Related parts for DM240415