Skip to content

Commit d21e1eb

Browse files
committed
improve USB1_ULPI::new doc comment
1 parent e3f4449 commit d21e1eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/usb_hs.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ impl From<PC3<Alternate<AF10>>> for Usb1UlpiNxtPin {
242242
}
243243

244244
impl USB1_ULPI {
245-
/// Automatically sets all upli pins to gpio speed VeryHigh
245+
/// Automatically sets all upli pins to gpio speed VeryHigh.
246+
/// If you wish to use another configuration,
247+
/// please see [new_unchecked](USB1_ULPI::new_unchecked).
246248
pub fn new(
247249
usb_global: stm32::OTG1_HS_GLOBAL,
248250
usb_device: stm32::OTG1_HS_DEVICE,

0 commit comments

Comments
 (0)