Usb-Hid - FUTABA AH145AA Application Note

Vacuum fluorescent display module
Table of Contents

Advertisement

3-2. USB インターフェース USB INTERFACE

3-2-1. USB-HID

本モジュールのホスト間との通信プロトコルは USB2.0 Full Speed Function に準拠しています。
使用するクラスは、HID (Human Interface Devices)です。LCD コントロールプロトコルは、データの送受信に HID レポ
ートを使用します。HID のレポートは、データ数とデータで構成されます。HID のレポートを使用するため、IN 方向・
OUT 方向共にレポートサイズは固定長です。レポートのサイズは、HID レポートディスクリプタにより規定されます。デ
ータ数は、データのサイズを表し、最大 63 です。
レポートの形式は、以下の通りです。
This module will communicate with the USB 2.0 interface (Full speed) if the USB cable is plugged. The
communication with USB is based on HID class. LCD Control Protocol uses HID report. HID report
consists of the byte number of sending data and the sending data. For HID, the report of data (IN or
OUT) is fixed-length. The sum of data size and data is declared in HID Report Descriptor. The data size
means the size of sending or receiving data. Max 63.
So the report can send or receive 63 bytes data max.
Following is type of report.
[Example]
| Data Size (8) | Data (4) [63] |
Clear screen setting
04 1B 5B 32 4A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AN-4029 [6/78]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ah145abAh145acAh145baAh145bbAh145bc

Table of Contents