Zephyr API 3.6.99
|
Macros | |
#define | HID_ITEM(bTag, bType, bSize) |
Define HID short item. | |
#define | HID_INPUT(a) |
Define HID Input item with the data length of one byte. | |
#define | HID_OUTPUT(a) |
Define HID Output item with the data length of one byte. | |
#define | HID_FEATURE(a) |
Define HID Feature item with the data length of one byte. | |
#define | HID_COLLECTION(a) |
Define HID Collection item with the data length of one byte. | |
#define | HID_END_COLLECTION HID_ITEM(HID_ITEM_TAG_COLLECTION_END, HID_ITEM_TYPE_MAIN, 0) |
Define HID End Collection (non-data) item. | |
#define | HID_USAGE_PAGE(page) |
Define HID Usage Page item. | |
#define | HID_LOGICAL_MIN8(a) |
Define HID Logical Minimum item with the data length of one byte. | |
#define | HID_LOGICAL_MAX8(a) |
Define HID Logical Maximum item with the data length of one byte. | |
#define | HID_LOGICAL_MIN16(a, b) |
Define HID Logical Minimum item with the data length of two bytes. | |
#define | HID_LOGICAL_MAX16(a, b) |
Define HID Logical Maximum item with the data length of two bytes. | |
#define | HID_LOGICAL_MIN32(a, b, c, d) |
Define HID Logical Minimum item with the data length of four bytes. | |
#define | HID_LOGICAL_MAX32(a, b, c, d) |
Define HID Logical Maximum item with the data length of four bytes. | |
#define | HID_REPORT_SIZE(size) |
Define HID Report Size item with the data length of one byte. | |
#define | HID_REPORT_ID(id) |
Define HID Report ID item with the data length of one byte. | |
#define | HID_REPORT_COUNT(count) |
Define HID Report Count item with the data length of one byte. | |
#define | HID_USAGE(idx) |
Define HID Usage Index item with the data length of one byte. | |
#define | HID_USAGE_MIN8(a) |
Define HID Usage Minimum item with the data length of one byte. | |
#define | HID_USAGE_MAX8(a) |
Define HID Usage Maximum item with the data length of one byte. | |
#define | HID_USAGE_MIN16(a, b) |
Define HID Usage Minimum item with the data length of two bytes. | |
#define | HID_USAGE_MAX16(a, b) |
Define HID Usage Maximum item with the data length of two bytes. | |
#define HID_COLLECTION | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Collection item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Collection item data |
#define HID_END_COLLECTION HID_ITEM(HID_ITEM_TAG_COLLECTION_END, HID_ITEM_TYPE_MAIN, 0) |
#include <zephyr/usb/class/hid.h>
Define HID End Collection (non-data) item.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
#define HID_FEATURE | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Feature item with the data length of one byte.
a | Feature item data |
#define HID_INPUT | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Input item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Input item data |
#define HID_ITEM | ( | bTag, | |
bType, | |||
bSize ) |
#include <zephyr/usb/class/hid.h>
Define HID short item.
bTag | Item tag |
bType | Item type |
bSize | Item data size |
#define HID_LOGICAL_MAX16 | ( | a, | |
b ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Maximum item with the data length of two bytes.
a | Minimum value lower byte |
b | Minimum value higher byte |
#define HID_LOGICAL_MAX32 | ( | a, | |
b, | |||
c, | |||
d ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Maximum item with the data length of four bytes.
a | Minimum value lower byte |
b | Minimum value low middle byte |
c | Minimum value high middle byte |
d | Minimum value higher byte |
#define HID_LOGICAL_MAX8 | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Maximum item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Maximum value in logical units |
#define HID_LOGICAL_MIN16 | ( | a, | |
b ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Minimum item with the data length of two bytes.
a | Minimum value lower byte |
b | Minimum value higher byte |
#define HID_LOGICAL_MIN32 | ( | a, | |
b, | |||
c, | |||
d ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Minimum item with the data length of four bytes.
a | Minimum value lower byte |
b | Minimum value low middle byte |
c | Minimum value high middle byte |
d | Minimum value higher byte |
#define HID_LOGICAL_MIN8 | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Logical Minimum item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Minimum value in logical units |
#define HID_OUTPUT | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Output item with the data length of one byte.
For usage examples, see HID_KEYBOARD_REPORT_DESC()
a | Output item data |
#define HID_REPORT_COUNT | ( | count | ) |
#include <zephyr/usb/class/hid.h>
Define HID Report Count item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
count | Number of data fields included in the report |
#define HID_REPORT_ID | ( | id | ) |
#include <zephyr/usb/class/hid.h>
Define HID Report ID item with the data length of one byte.
id | Report ID |
#define HID_REPORT_SIZE | ( | size | ) |
#include <zephyr/usb/class/hid.h>
Define HID Report Size item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
size | Report field size in bits |
#define HID_USAGE | ( | idx | ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Index item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
idx | Number of data fields included in the report |
#define HID_USAGE_MAX16 | ( | a, | |
b ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Maximum item with the data length of two bytes.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Ending Usage lower byte |
b | Ending Usage higher byte |
#define HID_USAGE_MAX8 | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Maximum item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Ending Usage |
#define HID_USAGE_MIN16 | ( | a, | |
b ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Minimum item with the data length of two bytes.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Starting Usage lower byte |
b | Starting Usage higher byte |
#define HID_USAGE_MIN8 | ( | a | ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Minimum item with the data length of one byte.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
a | Starting Usage |
#define HID_USAGE_PAGE | ( | page | ) |
#include <zephyr/usb/class/hid.h>
Define HID Usage Page item.
For usage examples, see HID_MOUSE_REPORT_DESC(), HID_KEYBOARD_REPORT_DESC()
page | Usage Page |