diff options
Diffstat (limited to 'stm/usb.h')
| -rw-r--r-- | stm/usb.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -void usb_init(void); +void pyb_usb_dev_init(void); bool usb_vcp_is_enabled(void); int usb_vcp_rx_any(void); char usb_vcp_rx_get(void); @@ -7,7 +7,6 @@ void usb_vcp_send_strn(const char* str, int len); void usb_vcp_send_strn_cooked(const char *str, int len); void usb_hid_send_report(uint8_t *buf); // 4 bytes for mouse: ?, x, y, ? -void pyb_usbh_init(void); -mp_obj_t pyb_usbh_process(void); -mp_obj_t pyb_usbh_connect(void); -mp_obj_t pyb_usbh_info(void); +void pyb_usb_host_init(void); +void pyb_usb_host_process(void); +uint pyb_usb_host_get_keyboard(void); |
