#[repr(transparent)]pub struct Usbclkctrl(pub u32);Expand description
USB clock control
Tuple Fields§
§0: u32Implementations§
Source§impl Usbclkctrl
impl Usbclkctrl
Sourcepub const fn ap_dev_clk(&self) -> ApDevClk
pub const fn ap_dev_clk(&self) -> ApDevClk
USB0 Device need clock signal control
Sourcepub const fn set_ap_dev_clk(&mut self, val: ApDevClk)
pub const fn set_ap_dev_clk(&mut self, val: ApDevClk)
USB0 Device need clock signal control
Sourcepub const fn pol_dev_clk(&self) -> PolDevClk
pub const fn pol_dev_clk(&self) -> PolDevClk
USB0 Device need clock polarity for triggering the USB1 wake-up interrupt
Sourcepub const fn set_pol_dev_clk(&mut self, val: PolDevClk)
pub const fn set_pol_dev_clk(&mut self, val: PolDevClk)
USB0 Device need clock polarity for triggering the USB1 wake-up interrupt
Sourcepub const fn ap_host_clk(&self) -> ApHostClk
pub const fn ap_host_clk(&self) -> ApHostClk
USB0 Host need clock signal control
Sourcepub const fn set_ap_host_clk(&mut self, val: ApHostClk)
pub const fn set_ap_host_clk(&mut self, val: ApHostClk)
USB0 Host need clock signal control
Sourcepub const fn pol_host_clk(&self) -> PolHostClk
pub const fn pol_host_clk(&self) -> PolHostClk
USB0 HOST need clock polarity for triggering the USB1 wake-up interrupt
Sourcepub const fn set_pol_host_clk(&mut self, val: PolHostClk)
pub const fn set_pol_host_clk(&mut self, val: PolHostClk)
USB0 HOST need clock polarity for triggering the USB1 wake-up interrupt
Sourcepub const fn hs_dev_wakeup_n(&self) -> HsDevWakeupN
pub const fn hs_dev_wakeup_n(&self) -> HsDevWakeupN
External user wake-up signal for device mode; asserting this signal (active low) will result in exiting the low power mode; input to asynchronous control logic
Sourcepub const fn set_hs_dev_wakeup_n(&mut self, val: HsDevWakeupN)
pub const fn set_hs_dev_wakeup_n(&mut self, val: HsDevWakeupN)
External user wake-up signal for device mode; asserting this signal (active low) will result in exiting the low power mode; input to asynchronous control logic
Trait Implementations§
Source§impl Clone for Usbclkctrl
impl Clone for Usbclkctrl
Source§fn clone(&self) -> Usbclkctrl
fn clone(&self) -> Usbclkctrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more