diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-26 17:41:01 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-26 17:41:01 +0000 |
commit | 75abee206d1a575aa98a486d043c94d64df432c1 (patch) | |
tree | f5842abbd035f84abd7cf758c8b4bb6efdfca17c /stm/usb.h | |
parent | 8fcf7b858d28acb098ca4ee85860ca4ed88f0207 (diff) | |
download | micropython-75abee206d1a575aa98a486d043c94d64df432c1.tar.gz micropython-75abee206d1a575aa98a486d043c94d64df432c1.zip |
stm: USB host mode working! Restructure stm library directories.
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); |