Datasheet

5.4.2 AndroidAppEventHandler Function
Handles events from the host stack
File
usb_host_android.h
C
BOOL AndroidAppEventHandler(
BYTE address,
USB_EVENT event,
void * data,
DWORD size
);
Description
Handles events from the host stack
Remarks
This is a internal API only. This should not be called by anything other than the USB host stack via the client driver table
Preconditions
None
Parameters
Parameters Description
BYTE address the address of the device that caused the event
USB_EVENT event the event that occured
void* data the data for the event
DWORD size the size of the data in bytes
Return Values
Return Values Description
TRUE the event was handled
FALSE the event was not handled
Function
BOOL AndroidAppEventHandler( BYTE address, USB_EVENT event, void *data, DWORD size )
5.4.3 AndroidAppInitialize Function
Per instance client driver for Android device. Called by USB host stack from the client driver table.
File
usb_host_android.h
C
BOOL AndroidAppInitialize(
BYTE address,
DWORD flags,
BYTE clientDriverID
);
Microchip's Accessory Framework for Android(tm) 31
31
5