From 16cb8d74684a3b468013132851e92f118470ce40 Mon Sep 17 00:00:00 2001 From: Frans Skarman Date: Sun, 17 Nov 2019 13:11:11 +0100 Subject: [PATCH] Add rudimentary docs for the usb module (#137) * Add rudimentary docs for the usb module Co-Authored-By: Vadim Kaushan --- src/usb.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/usb.rs b/src/usb.rs index 9a6fd9b9..f5c45dba 100644 --- a/src/usb.rs +++ b/src/usb.rs @@ -1,5 +1,9 @@ //! USB peripheral +//! Requires the `stm32-usbd` feature. +//! See https://github.com/stm32-rs/stm32f1xx-hal/tree/master/examples +//! for usage examples + use crate::pac::{RCC, USB}; use stm32_usbd::UsbPeripheral;