#[repr(transparent)]pub struct UsbphyAlphaFieldsetEcho(pub u32);Expand description
General Purpose Control.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbphyAlphaFieldsetEcho
impl UsbphyAlphaFieldsetEcho
Sourcepub const fn enotg_id_chg_irq(&self) -> bool
pub const fn enotg_id_chg_irq(&self) -> bool
OTG ID Change Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enotg_id_chg_irq(&mut self, val: bool)
pub const fn set_enotg_id_chg_irq(&mut self, val: bool)
OTG ID Change Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enhostdiscondetect(&self) -> bool
pub const fn enhostdiscondetect(&self) -> bool
Host Disconnect Detection Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enhostdiscondetect(&mut self, val: bool)
pub const fn set_enhostdiscondetect(&mut self, val: bool)
Host Disconnect Detection Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enirqhostdiscon(&self) -> bool
pub const fn enirqhostdiscon(&self) -> bool
Enable Interrupt for Host Disconnect. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enirqhostdiscon(&mut self, val: bool)
pub const fn set_enirqhostdiscon(&mut self, val: bool)
Enable Interrupt for Host Disconnect. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn hostdiscondetect_irq(&self) -> bool
pub const fn hostdiscondetect_irq(&self) -> bool
Host Disconnect Detection Interrupt. Raw bit values: false (0) = Connected: Connected.; true (1) = Disconnected: Disconnected.
Sourcepub const fn set_hostdiscondetect_irq(&mut self, val: bool)
pub const fn set_hostdiscondetect_irq(&mut self, val: bool)
Host Disconnect Detection Interrupt. Raw bit values: false (0) = Connected: Connected.; true (1) = Disconnected: Disconnected.
Sourcepub const fn endevplugindetect(&self) -> bool
pub const fn endevplugindetect(&self) -> bool
Enable Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = PluginDisable: Disable.; true (1) = PluginEnable: Enable.
Sourcepub const fn set_endevplugindetect(&mut self, val: bool)
pub const fn set_endevplugindetect(&mut self, val: bool)
Enable Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = PluginDisable: Disable.; true (1) = PluginEnable: Enable.
Sourcepub const fn devplugin_polarity(&self) -> bool
pub const fn devplugin_polarity(&self) -> bool
Device Plug-In Polarity. Raw bit values: false (0) = PluggedIn: Plugged in.; true (1) = Unplugged: Unplugged.
Sourcepub const fn set_devplugin_polarity(&mut self, val: bool)
pub const fn set_devplugin_polarity(&mut self, val: bool)
Device Plug-In Polarity. Raw bit values: false (0) = PluggedIn: Plugged in.; true (1) = Unplugged: Unplugged.
Sourcepub const fn otg_id_chg_irq(&self) -> bool
pub const fn otg_id_chg_irq(&self) -> bool
OTG ID Change Interrupt. Raw bit values: false (0) = NoIdChgIrq: No ID change interrupt.; true (1) = IdChgIrq: ID change interrupt.
Sourcepub const fn set_otg_id_chg_irq(&mut self, val: bool)
pub const fn set_otg_id_chg_irq(&mut self, val: bool)
OTG ID Change Interrupt. Raw bit values: false (0) = NoIdChgIrq: No ID change interrupt.; true (1) = IdChgIrq: ID change interrupt.
Sourcepub const fn enotgiddetect(&self) -> bool
pub const fn enotgiddetect(&self) -> bool
Enable Internal OTG ID Detector. Raw bit values: false (0) = IdDetDisable: Disable.; true (1) = IdDetEnable: Enable.
Sourcepub const fn set_enotgiddetect(&mut self, val: bool)
pub const fn set_enotgiddetect(&mut self, val: bool)
Enable Internal OTG ID Detector. Raw bit values: false (0) = IdDetDisable: Disable.; true (1) = IdDetEnable: Enable.
Sourcepub const fn resumeirqsticky(&self) -> bool
pub const fn resumeirqsticky(&self) -> bool
Resume Interrupt Sticky. Raw bit values: false (0) = Disable: During the resume or reset state signaling period.; true (1) = Enable: Until you write 0 to it.
Sourcepub const fn set_resumeirqsticky(&mut self, val: bool)
pub const fn set_resumeirqsticky(&mut self, val: bool)
Resume Interrupt Sticky. Raw bit values: false (0) = Disable: During the resume or reset state signaling period.; true (1) = Enable: Until you write 0 to it.
Sourcepub const fn enirqresumedetect(&self) -> bool
pub const fn enirqresumedetect(&self) -> bool
Resume Detection Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enirqresumedetect(&mut self, val: bool)
pub const fn set_enirqresumedetect(&mut self, val: bool)
Resume Detection Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn resume_irq(&self) -> bool
pub const fn resume_irq(&self) -> bool
Resume Interrupt. Raw bit values: false (0) = Noresirq: No resume interrupt.; true (1) = Resirq: Resume interrupt.
Sourcepub const fn set_resume_irq(&mut self, val: bool)
pub const fn set_resume_irq(&mut self, val: bool)
Resume Interrupt. Raw bit values: false (0) = Noresirq: No resume interrupt.; true (1) = Resirq: Resume interrupt.
Sourcepub const fn enirqdevplugin(&self) -> bool
pub const fn enirqdevplugin(&self) -> bool
Enable Interrupt for Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enirqdevplugin(&mut self, val: bool)
pub const fn set_enirqdevplugin(&mut self, val: bool)
Enable Interrupt for Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn devplugin_irq(&self) -> bool
pub const fn devplugin_irq(&self) -> bool
Device Plug-In Interrupt.
Sourcepub const fn set_devplugin_irq(&mut self, val: bool)
pub const fn set_devplugin_irq(&mut self, val: bool)
Device Plug-In Interrupt.
Sourcepub const fn data_on_lradc(&self) -> bool
pub const fn data_on_lradc(&self) -> bool
APB Clock Switch Option.
Sourcepub const fn set_data_on_lradc(&mut self, val: bool)
pub const fn set_data_on_lradc(&mut self, val: bool)
APB Clock Switch Option.
Sourcepub const fn enutmilevel2(&self) -> bool
pub const fn enutmilevel2(&self) -> bool
UTMI Level 2 Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enutmilevel2(&mut self, val: bool)
pub const fn set_enutmilevel2(&mut self, val: bool)
UTMI Level 2 Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enutmilevel3(&self) -> bool
pub const fn enutmilevel3(&self) -> bool
UTMI Level 3 Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enutmilevel3(&mut self, val: bool)
pub const fn set_enutmilevel3(&mut self, val: bool)
UTMI Level 3 Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enirqwakeup(&self) -> bool
pub const fn enirqwakeup(&self) -> bool
Wake-Up Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enirqwakeup(&mut self, val: bool)
pub const fn set_enirqwakeup(&mut self, val: bool)
Wake-Up Interrupt Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn wakeup_irq(&self) -> bool
pub const fn wakeup_irq(&self) -> bool
Wake-Up Interrupt.
Sourcepub const fn set_wakeup_irq(&mut self, val: bool)
pub const fn set_wakeup_irq(&mut self, val: bool)
Wake-Up Interrupt.
Sourcepub const fn autoresume_en(&self) -> bool
pub const fn autoresume_en(&self) -> bool
Autoresume Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_autoresume_en(&mut self, val: bool)
pub const fn set_autoresume_en(&mut self, val: bool)
Autoresume Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enautoclr_clkgate(&self) -> bool
pub const fn enautoclr_clkgate(&self) -> bool
Autoclear Clock Gate Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enautoclr_clkgate(&mut self, val: bool)
pub const fn set_enautoclr_clkgate(&mut self, val: bool)
Autoclear Clock Gate Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn enautoclr_phy_pwd(&self) -> bool
pub const fn enautoclr_phy_pwd(&self) -> bool
PHY PWD Autoclear Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_enautoclr_phy_pwd(&mut self, val: bool)
pub const fn set_enautoclr_phy_pwd(&mut self, val: bool)
PHY PWD Autoclear Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn otg_id_value(&self) -> bool
pub const fn otg_id_value(&self) -> bool
OTG ID Value. Raw bit values: false (0) = IdHost: Host.; true (1) = IdDevice: Device.
Sourcepub const fn set_otg_id_value(&mut self, val: bool)
pub const fn set_otg_id_value(&mut self, val: bool)
OTG ID Value. Raw bit values: false (0) = IdHost: Host.; true (1) = IdDevice: Device.
Sourcepub const fn utmi_suspendm(&self) -> bool
pub const fn utmi_suspendm(&self) -> bool
UTMI Suspend. Raw bit values: false (0) = NotSuspended: Not suspended.; true (1) = Suspended: Suspended.
Sourcepub const fn set_utmi_suspendm(&mut self, val: bool)
pub const fn set_utmi_suspendm(&mut self, val: bool)
UTMI Suspend. Raw bit values: false (0) = NotSuspended: Not suspended.; true (1) = Suspended: Suspended.
Sourcepub const fn clkgate(&self) -> bool
pub const fn clkgate(&self) -> bool
UTMI Clock Gate. Raw bit values: false (0) = RunClocks: Run clocks.; true (1) = GateClocks: Gate clocks.
Sourcepub const fn set_clkgate(&mut self, val: bool)
pub const fn set_clkgate(&mut self, val: bool)
UTMI Clock Gate. Raw bit values: false (0) = RunClocks: Run clocks.; true (1) = GateClocks: Gate clocks.
Sourcepub const fn sftrst(&self) -> bool
pub const fn sftrst(&self) -> bool
Software Reset. Raw bit values: false (0) = ReleaseReset: Release from reset.; true (1) = SoftReset: Soft-reset.
Sourcepub const fn set_sftrst(&mut self, val: bool)
pub const fn set_sftrst(&mut self, val: bool)
Software Reset. Raw bit values: false (0) = ReleaseReset: Release from reset.; true (1) = SoftReset: Soft-reset.
Trait Implementations§
Source§impl Clone for UsbphyAlphaFieldsetEcho
impl Clone for UsbphyAlphaFieldsetEcho
Source§fn clone(&self) -> UsbphyAlphaFieldsetEcho
fn clone(&self) -> UsbphyAlphaFieldsetEcho
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more