⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hal_usb_hid.h

📁 这是nrf24lu1的无线鼠标源代码,应用平台是keil c
💻 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 + -