1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! USB Device support

use crate::gpio::{
    pin::{Pin, PA23, PA24, PA25},
    AlternateH,
};

pub use usb_device;

mod bus;
pub use self::bus::UsbBus;

mod devicedesc;
use self::devicedesc::Descriptors;

/// Default SOF pad
pub type SofPad = Pin<PA23, AlternateH>;

/// Default USB D- pad
pub type DmPad = Pin<PA24, AlternateH>;

/// Default USB D+ pad
pub type DpPad = Pin<PA25, AlternateH>;