summaryrefslogtreecommitdiff
path: root/stmhal/usb.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-02 14:35:38 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-02 14:35:38 +0100
commit87bbb388dbd712989b8b0bb4e79a639c5ed8d1c0 (patch)
tree94944461e251972eecad6066bd3a6a946bb887da /stmhal/usb.c
parent71bed1a9a7a0a042d3e0964f06cee900f6d7d9ae (diff)
stmhal: Add documentation for LCD; update docs for USB_VCP.
Diffstat (limited to 'stmhal/usb.c')
-rw-r--r--stmhal/usb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stmhal/usb.c b/stmhal/usb.c
index a7c3add53..13f8f8330 100644
--- a/stmhal/usb.c
+++ b/stmhal/usb.c
@@ -137,6 +137,13 @@ void usb_hid_send_report(uint8_t *buf) {
/******************************************************************************/
// Micro Python bindings for USB VCP
+/// \moduleref pyb
+/// \class USB_VCP - USB virtual comm port
+///
+/// The USB_VCP class allows creation of an object representing the USB
+/// virtual comm port. It can be used to read and write data over USB to
+/// the connected host.
+
typedef struct _pyb_usb_vcp_obj_t {
mp_obj_base_t base;
} pyb_usb_vcp_obj_t;