Microchip's Accessory Framework for Android(tm)
27
5.1.6 AndroidTasks Function
Tasks function that keeps the Android client driver moving
File
usb_host_android.h
C
void AndroidTasks ();
Description
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).
Remarks
This function should be called periodically to keep the Android driver moving.
Preconditions
AndroidAppStart ( see page 25)() function has been called before the first calling of this function
Function
void AndroidTasks(void)
5.1.7 AndroidAppHIDRegister Function
Registers a HID report with the Android device
File
usb_host_android.h
C
BOOL AndroidAppHIDRegister (
BYTE address ,
BYTE id ,
BYTE* descriptor ,
BYTE length
);
Description
Registers a HID report with the Android device
Remarks
None
Preconditions
HID device already attached
Parameters
Parameters
BYTE address
BYTE id
BYTE* descriptor
BYTE length
Description
address of the USB peripheral to send the report to
Report ID of the report that is being registered
HID report descriptor
length of the report
27
5
相关PDF资料
DM300004-2 BOARD DEMO DSPICDEM.NET 2
DM300014 BOARD DEMO DSPICDEM 1.1 GEN PURP
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
DM320002 BOARD EXPANSION PIC32 I/O
相关代理商/技术参数
DM2410-0AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0BL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0CL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0DL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0GL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0HL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0SL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-1AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic