DM240415 Microchip Technology, DM240415 Datasheet - Page 27

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)
Preconditions
Parameters
Return Values
Function
5.1.2
File
C
Description
Remarks
• USB_ENDPOINT_ERROR_BIT_STUFF
• USB_ENDPOINT_ERROR_DMA
• USB_ENDPOINT_ERROR_TIMEOUT
• USB_ENDPOINT_ERROR_DATA_FIELD
• USB_ENDPOINT_ERROR_CRC16
• USB_ENDPOINT_ERROR_END_OF_FRAME
• USB_ENDPOINT_ERROR_PID_CHECK
• USB_ENDPOINT_ERROR - Other error
Transfer has previously been requested from an Android device.
BOOL AndroidAppIsReadComplete(void* handle, BYTE* errorCode, DWORD* size)
Check to see if the last write to the Android device was completed
usb_host_android.h
BOOL AndroidAppIsWriteComplete(
);
Check to see if the last write to the Android device was completed. If complete, returns the amount of data that was sent and
the corresponding error code for the transmission.
Possible values for errorCode are:
• USB_SUCCESS - Transfer successful
• USB_UNKNOWN_DEVICE - Device not attached
• USB_ENDPOINT_STALLED - Endpoint STALL'd
• USB_ENDPOINT_ERROR_ILLEGAL_PID - Illegal PID returned
Parameters
void* handle
BYTE* errorCode
DWORD* size
Return Values
TRUE
FALSE
void* handle,
BYTE* errorCode,
DWORD* size
AndroidAppIsWriteComplete Function
Description
the handle passed to the device in the EVENT_ANDROID_ATTACH ( see
page 30) event
a pointer to the location where the resulting error code should be written
a pointer to the location where the resulting size information should be written
Description
Transfer is complete.
Transfer is not complete.
22
22
5

Related parts for DM240415