#[repr(transparent)]pub struct Usb1needclkctrl(pub u32);Expand description
USB1-HS Need Clock Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Usb1needclkctrl
impl Usb1needclkctrl
Sourcepub const fn ap_hs_dev_needclk(&self) -> bool
pub const fn ap_hs_dev_needclk(&self) -> bool
USB1-HS device need_clock signal control. Raw bit values: false (0) = HwCtrl: HOST_NEEDCLK is under hardware control.; true (1) = Forced: HOST_NEEDCLK is forced high.
Sourcepub const fn set_ap_hs_dev_needclk(&mut self, val: bool)
pub const fn set_ap_hs_dev_needclk(&mut self, val: bool)
USB1-HS device need_clock signal control. Raw bit values: false (0) = HwCtrl: HOST_NEEDCLK is under hardware control.; true (1) = Forced: HOST_NEEDCLK is forced high.
Sourcepub const fn pol_hs_dev_needclk(&self) -> bool
pub const fn pol_hs_dev_needclk(&self) -> bool
USB1-HS device need clock polarity for triggering the USB1_NEEDCLK wake-up interrupt. Raw bit values: false (0) = Falling: Falling edge of DEV_NEEDCLK triggers wake-up.; true (1) = Rising: Rising edge of DEV_NEEDCLK triggers wake-up.
Sourcepub const fn set_pol_hs_dev_needclk(&mut self, val: bool)
pub const fn set_pol_hs_dev_needclk(&mut self, val: bool)
USB1-HS device need clock polarity for triggering the USB1_NEEDCLK wake-up interrupt. Raw bit values: false (0) = Falling: Falling edge of DEV_NEEDCLK triggers wake-up.; true (1) = Rising: Rising edge of DEV_NEEDCLK triggers wake-up.
Sourcepub const fn ap_hs_host_needclk(&self) -> bool
pub const fn ap_hs_host_needclk(&self) -> bool
USB1-HS Host need clock signal control. Raw bit values: false (0) = HwCtrl: HOST_NEEDCLK is under hardware control.; true (1) = Forced: HOST_NEEDCLK is forced high.
Sourcepub const fn set_ap_hs_host_needclk(&mut self, val: bool)
pub const fn set_ap_hs_host_needclk(&mut self, val: bool)
USB1-HS Host need clock signal control. Raw bit values: false (0) = HwCtrl: HOST_NEEDCLK is under hardware control.; true (1) = Forced: HOST_NEEDCLK is forced high.
Sourcepub const fn pol_hs_host_needclk(&self) -> bool
pub const fn pol_hs_host_needclk(&self) -> bool
USB1-HS host need clock polarity for triggering the USB1_NEEDCLK wake-up interrupt. Raw bit values: false (0) = Falling: Falling edge of HOST_NEEDCLK triggers wake-up.; true (1) = Rising: Rising edge of HOST_NEEDCLK triggers wake-up.
Sourcepub const fn set_pol_hs_host_needclk(&mut self, val: bool)
pub const fn set_pol_hs_host_needclk(&mut self, val: bool)
USB1-HS host need clock polarity for triggering the USB1_NEEDCLK wake-up interrupt. Raw bit values: false (0) = Falling: Falling edge of HOST_NEEDCLK triggers wake-up.; true (1) = Rising: Rising edge of HOST_NEEDCLK triggers wake-up.
Sourcepub const fn hs_dev_wakeup_n(&self) -> bool
pub const fn hs_dev_wakeup_n(&self) -> bool
Software override of device controller PHY wake up logic. Raw bit values: false (0) = ForceWup: Forces USB1_PHY to wake-up.; true (1) = NormalWup: Normal USB1_PHY behavior.
Sourcepub const fn set_hs_dev_wakeup_n(&mut self, val: bool)
pub const fn set_hs_dev_wakeup_n(&mut self, val: bool)
Software override of device controller PHY wake up logic. Raw bit values: false (0) = ForceWup: Forces USB1_PHY to wake-up.; true (1) = NormalWup: Normal USB1_PHY behavior.
Trait Implementations§
Source§impl Clone for Usb1needclkctrl
impl Clone for Usb1needclkctrl
Source§fn clone(&self) -> Usb1needclkctrl
fn clone(&self) -> Usb1needclkctrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more