参数资料
型号: DM240415
厂商: Microchip Technology
文件页数: 33/63页
文件大小: 0K
描述: ACCESSORY DEVELOPMENT START KIT
设计资源: PIC24F ADK Schematic
特色产品: DM240415 Android? Accessory Starter Kit
标准包装: 1
主要目的: 参考设计,平板式
嵌入式: 是,MCU,16 位
已用 IC / 零件: PIC24F
主要属性: 机器人 OS,附件开发平台,兼容 Arduino
次要属性: 免版税,免软件库许可费
已供物品: 电路板,适配器,调试程序,电源,软件
Microchip's Accessory Framework for Android(tm)
Function
BOOL AndroidAppHIDRegister(BYTE address, BYTE id, BYTE* descriptor, BYTE length);
5.1.8 AndroidAppHIDSendEvent Function
Sends a HID report to the associated Android device
File
usb_host_android.h
C
BYTE AndroidAppHIDSendEvent (
BYTE address ,
BYTE id ,
BYTE* report ,
BYTE length
);
Description
Sends a HID report to the associated Android device
Remarks
None
Preconditions
HID device should have already been registers with the AndroidAppHIDRegister ( see page 27)() function
Parameters
28
Parameters
BYTE address
BYTE id
BYTE* report
BYTE length
Description
address of the USB peripheral to send the report to
Report ID of the report being sent
data for the report
length of the report
Function
BYTE AndroidAppHIDSendEvent(BYTE address, BYTE id, BYTE* report, BYTE length);
5.2 Error Codes
Macros
Name
Description
USB_ERROR_BUFFER_TOO_SMALL 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.
28
5
相关PDF资料
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
相关代理商/技术参数
参数描述
DM2410-0AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0BL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0CL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0DL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0GL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic