summaryrefslogtreecommitdiff
path: root/stmhal/usbd_hid_interface.h
blob: b2ff75fa13107e83010b9588ca92e64c4864065b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * This file is part of the MicroPython project, http://micropython.org/
 */
#ifndef MICROPY_INCLUDED_STMHAL_USBD_HID_INTERFACE_H
#define MICROPY_INCLUDED_STMHAL_USBD_HID_INTERFACE_H

#include "usbd_cdc_msc_hid.h"

extern const USBD_HID_ItfTypeDef USBD_HID_fops;

int USBD_HID_RxNum(void);
int USBD_HID_Rx(USBD_HandleTypeDef *pdev, uint8_t *buf, uint32_t len, uint32_t timeout);

#endif // MICROPY_INCLUDED_STMHAL_USBD_HID_INTERFACE_H