📄 hal_usb_hid.h
字号:
/** @file
* This file contain functions to handle USB HID related requests
*
* @author Ken A. Redergaard
*/
#ifndef HAL_USB_HID_H__
#define HAL_USB_HID_H__
#include <stdint.h>
#include <stdbool.h>
#include "hal_usb.h"
/**
* Function that process a HID device request
*
* This function is usually called from an application that use the USB HID specification
*
* @param hal_usb_device_req The request from host
* @param data_ptr Address where this function can put data into which is sent to USB-host
* @param size Size of the data to send
* @param resp The response this function send back to the USB-host
*/
bool hal_usb_hid_device_req_proc(hal_usb_device_req* req, uint8_t** data_ptr, uint16_t* size, hal_usb_dev_req_resp_t* resp);
#endif // HAL_USB_HID_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -