Struct stm32_hal2::usb_otg::Usb1Ulpi
source · [−]pub struct Usb1Ulpi {Show 17 fields
pub usb_global: OTG1_HS_GLOBAL,
pub usb_device: OTG1_HS_DEVICE,
pub usb_pwrclk: OTG1_HS_PWRCLK,
pub prec: u32,
pub hclk: u32,
pub ulpi_clk: Pin,
pub ulpi_dir: Pin,
pub ulpi_nxt: Pin,
pub ulpi_stp: Pin,
pub ulpi_d0: Pin,
pub ulpi_d1: Pin,
pub ulpi_d2: Pin,
pub ulpi_d3: Pin,
pub ulpi_d4: Pin,
pub ulpi_d5: Pin,
pub ulpi_d6: Pin,
pub ulpi_d7: Pin,
}
Fields
usb_global: OTG1_HS_GLOBAL
usb_device: OTG1_HS_DEVICE
usb_pwrclk: OTG1_HS_PWRCLK
prec: u32
hclk: u32
ulpi_clk: Pin
ulpi_dir: Pin
ulpi_nxt: Pin
ulpi_stp: Pin
ulpi_d0: Pin
ulpi_d1: Pin
ulpi_d2: Pin
ulpi_d3: Pin
ulpi_d4: Pin
ulpi_d5: Pin
ulpi_d6: Pin
ulpi_d7: Pin
Trait Implementations
sourceimpl UsbPeripheral for Usb1Ulpi
impl UsbPeripheral for Usb1Ulpi
sourceconst HIGH_SPEED: bool = true
const HIGH_SPEED: bool = true
true for High Speed variants of the peripheral, false for Full Speed
sourceconst FIFO_DEPTH_WORDS: usize = 1_024usize
const FIFO_DEPTH_WORDS: usize = 1_024usize
FIFO size in 32-bit words
sourceconst ENDPOINT_COUNT: usize = 9usize
const ENDPOINT_COUNT: usize = 9usize
Number of (bidirectional) endpoints
sourcefn ahb_frequency_hz(&self) -> u32
fn ahb_frequency_hz(&self) -> u32
AHB frequency in hertz
sourcefn setup_internal_hs_phy(&self)
fn setup_internal_hs_phy(&self)
Performs initial setup of the internal high-speed PHY Read more
impl Sync for Usb1Ulpi
Auto Trait Implementations
impl RefUnwindSafe for Usb1Ulpi
impl Send for Usb1Ulpi
impl Unpin for Usb1Ulpi
impl UnwindSafe for Usb1Ulpi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more