Skip to content

Commit

Permalink
Add rudimentary docs for the usb module (#137)
Browse files Browse the repository at this point in the history
* Add rudimentary docs for the usb module

Co-Authored-By: Vadim Kaushan <admin@disasm.info>
  • Loading branch information
TheZoq2 and Disasm authored Nov 17, 2019
1 parent 7d323d4 commit 16cb8d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/usb.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 16cb8d7

Please sign in to comment.