atsamd_hal/peripherals/usb/d11/mod.rs
1//! USB Device support
2
3use crate::gpio::{
4 pin::{Pin, PA23, PA24, PA25},
5 AlternateG,
6};
7
8pub use usb_device;
9
10mod bus;
11pub use self::bus::UsbBus;
12
13mod devicedesc;
14use self::devicedesc::Descriptors;
15
16/// Emit SOF at 1Khz on this pin when configured as function G
17pub type SofPad = Pin<PA23, AlternateG>;
18
19/// USB D- is connected here
20pub type DmPad = Pin<PA24, AlternateG>;
21
22/// USB D+ is connected here
23pub type DpPad = Pin<PA25, AlternateG>;