SLAA453A
january 2011 – may 2023
1
1
MSP430™ USB HID Windows API Programmer's Guide
2
Introduction
3
Implementation
3.1
Overview
3.2
File Organization
3.3
System Requirements
3.4
MSP430 USB API Stacks
3.5
How Windows Maps Physical USB HID Devices to the Host Application
3.6
Locating a Specific HID Device/Interface on the System and Opening It
3.7
Sending/Receiving Data
3.8
Detecting the Dynamic Connection/Disconnection of HID Devices
4
Function Call Reference
4.1
Device Connection Management and Initialization Calls
4.1.1
VOID HID_Init(struct strHidDevice* pstrHidDevice)
4.1.2
DWORD HID_GetSerNums(WORD vid, WORD pid, struct strTrackSerialNumbers *serialNumList)
4.1.3
DWORD HID_GetNumOfInterfaces(WORD vid, WORD pid, DWORD numSerNums)
4.1.4
BYTE HID_Open(struct strHidDevice* pstrHidDevice, WORD vid, WORD pid, DWORD deviceIndex, char serialNumber[SERNUM_LEN], DWORD totalDevNum, DWORD totalSerNum)
4.1.5
BYTE HID_Close(struct strHidDevice* pstrHidDevice)
4.1.6
BYTE HID_GetVersionNumber(struct strHidDevice* pstrHidDevice, USHORT * VersionNumber)
4.2
Sending/Receiving Data
4.2.1
BYTE HID_WriteFile(struct strHidDevice* pstrHidDevice, BYTE* buffer, DWORD bufferSize, DWORD* bytesSent)
4.2.2
BYTE HID_ReadFile(struct strHidDevice* pStrHidDevice, BYTE* buffer, DWORD bufferSize, DWORD* bytesReturned)
4.3
Plug and Play Management
4.3.1
BYTE HID_RegisterForDeviceNotification(HWND hWnd, HDEVNOTIFY* diNotifyHandle)
4.3.2
BYTE HID_UnregisterForDeviceNotification(HDEVNOTIFY* diNotifyHandle)
4.3.3
BOOL IsDeviceAffected(struct strHidDevice* pstrHidDevice)
5
Demo Application
6
MSP430 USB Tool Suite
HID Interface Data Structure: strHidDevice
Format of Reports on HID-Datapipe Devices
C References
C Revision History
Application Note
MSP430™ USB HID Windows API Programmer's Guide
千亿体育app官网登录(中国)官方网站IOS/安卓通用版/手机APP
|
米乐app下载官网(中国)|ios|Android/通用版APP最新版
|
米乐|米乐·M6(中国大陆)官方网站
|
千亿体育登陆地址
|
华体会体育(中国)HTH·官方网站
|
千赢qy国际_全站最新版千赢qy国际V6.2.14安卓/IOS下载
|
18新利网v1.2.5|中国官方网站
|
bob电竞真人(中国官网)安卓/ios苹果/电脑版【1.97.95版下载】
|
千亿体育app官方下载(中国)官方网站IOS/安卓/手机APP下载安装
|