VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
#include "kernel/vsf_kernel.h"
#include "../../vsf_usbh.h"
#include "./vsf_usbh_HID.h"
#include "component/input/vsf_input.h"
Data Structures | |
struct | usb_hid_class_descriptor_t |
struct | usb_hid_descriptor_t |
struct | vk_usbh_hid_input_t |
Macros | |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | __VSF_USBH_CLASS_IMPLEMENT_CLASS__ |
#define | __VSF_USBH_HID_CLASS_IMPLEMENT |
Typedefs | |
typedef struct usb_hid_class_descriptor_t | usb_hid_class_descriptor_t |
typedef struct usb_hid_descriptor_t | usb_hid_descriptor_t |
Variables | |
const vk_usbh_class_drv_t | vk_usbh_hid_drv |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __VSF_USBH_CLASS_IMPLEMENT_CLASS__ |
#define __VSF_USBH_HID_CLASS_IMPLEMENT |
typedef struct usb_hid_class_descriptor_t usb_hid_class_descriptor_t |
typedef struct usb_hid_descriptor_t usb_hid_descriptor_t |
void * vk_usbh_hid_probe | ( | vk_usbh_t * | usbh, |
vk_usbh_dev_t * | dev, | ||
vk_usbh_ifs_parser_t * | parser_ifs, | ||
uint_fast32_t | obj_size, | ||
bool | has_hid_desc | ||
) |
void vk_usbh_hid_disconnect | ( | vk_usbh_hid_teda_t * | hid | ) |
vsf_err_t __vk_usbh_hid_send_report_req_imp | ( | vk_usbh_hid_base_t * | hid, |
uint_fast16_t | type_id, | ||
uint8_t * | report, | ||
uint_fast16_t | report_len | ||
) |
vsf_err_t __vk_usbh_hid_recv_report_req_imp | ( | vk_usbh_hid_base_t * | hid, |
uint_fast16_t | type_id, | ||
uint8_t * | report, | ||
uint_fast16_t | report_len | ||
) |
vsf_err_t __vk_usbh_hid_set_idle_imp | ( | vk_usbh_hid_base_t * | hid, |
uint_fast8_t | id, | ||
uint_fast8_t | duration | ||
) |
uint8_t * __vk_usbh_hid_get_tx_report_imp | ( | vk_usbh_hid_teda_t * | hid | ) |
uint8_t * __vk_usbh_hid_get_rx_report_imp | ( | vk_usbh_hid_teda_t * | hid | ) |
vsf_err_t __vk_usbh_hid_send_report_imp | ( | vk_usbh_hid_teda_t * | hid, |
uint8_t * | buffer, | ||
int_fast32_t | size, | ||
vsf_usbh_urb_complete_t | complete | ||
) |
vsf_err_t __vk_usbh_hid_recv_report_imp | ( | vk_usbh_hid_teda_t * | hid, |
uint8_t * | buffer, | ||
int_fast32_t | size, | ||
vsf_usbh_urb_complete_t | complete | ||
) |
uint_fast8_t vsf_usbh_hid_input_on_desc | ( | vk_usbh_hid_input_t * | hid, |
uint8_t * | desc_buf, | ||
uint_fast32_t | desc_len | ||
) |
void vsf_usbh_hid_input_on_report_input | ( | vk_usbh_hid_input_t * | hid, |
uint8_t * | report, | ||
uint_fast32_t | len | ||
) |
void vsf_usbh_hid_input_on_report_output | ( | vk_usbh_hid_input_t * | hid, |
int_fast16_t | status | ||
) |
bool vsf_usbh_hid_input_on_new | ( | vk_usbh_hid_input_t * | hid | ) |
void vsf_usbh_hid_input_on_free | ( | vk_usbh_hid_input_t * | hid | ) |
const vk_usbh_class_drv_t vk_usbh_hid_drv |