#[repr(transparent)]pub struct CtrlTog(pub u32);Expand description
General Purpose Control
Tuple Fields§
§0: u32Implementations§
Source§impl CtrlTog
impl CtrlTog
Sourcepub const fn enotg_id_chg_irq(&self) -> bool
pub const fn enotg_id_chg_irq(&self) -> bool
OTG ID Change Interrupt 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
Sourcepub const fn enhostdiscondetect(&self) -> bool
pub const fn enhostdiscondetect(&self) -> bool
Host Disconnect Detection Enable
Sourcepub const fn set_enhostdiscondetect(&mut self, val: bool)
pub const fn set_enhostdiscondetect(&mut self, val: bool)
Host Disconnect Detection Enable
Sourcepub const fn enirqhostdiscon(&self) -> bool
pub const fn enirqhostdiscon(&self) -> bool
Enable Interrupt for Host Disconnect
Sourcepub const fn set_enirqhostdiscon(&mut self, val: bool)
pub const fn set_enirqhostdiscon(&mut self, val: bool)
Enable Interrupt for Host Disconnect
Sourcepub const fn hostdiscondetect_irq(&self) -> bool
pub const fn hostdiscondetect_irq(&self) -> bool
Host Disconnect Detection Interrupt
Sourcepub const fn set_hostdiscondetect_irq(&mut self, val: bool)
pub const fn set_hostdiscondetect_irq(&mut self, val: bool)
Host Disconnect Detection Interrupt
Sourcepub const fn endevplugindetect(&self) -> bool
pub const fn endevplugindetect(&self) -> bool
Enable Nonstandard Resistive Plugged-In Detection
Sourcepub const fn set_endevplugindetect(&mut self, val: bool)
pub const fn set_endevplugindetect(&mut self, val: bool)
Enable Nonstandard Resistive Plugged-In Detection
Sourcepub const fn devplugin_polarity(&self) -> bool
pub const fn devplugin_polarity(&self) -> bool
Device Plug-In Polarity
Sourcepub const fn set_devplugin_polarity(&mut self, val: bool)
pub const fn set_devplugin_polarity(&mut self, val: bool)
Device Plug-In Polarity
Sourcepub const fn otg_id_chg_irq(&self) -> bool
pub const fn otg_id_chg_irq(&self) -> bool
OTG 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
Sourcepub const fn enotgiddetect(&self) -> bool
pub const fn enotgiddetect(&self) -> bool
Enable Internal OTG ID Detector
Sourcepub const fn set_enotgiddetect(&mut self, val: bool)
pub const fn set_enotgiddetect(&mut self, val: bool)
Enable Internal OTG ID Detector
Sourcepub const fn resumeirqsticky(&self) -> bool
pub const fn resumeirqsticky(&self) -> bool
Resume Interrupt Sticky
Sourcepub const fn set_resumeirqsticky(&mut self, val: bool)
pub const fn set_resumeirqsticky(&mut self, val: bool)
Resume Interrupt Sticky
Sourcepub const fn enirqresumedetect(&self) -> bool
pub const fn enirqresumedetect(&self) -> bool
Resume Detection Interrupt Enable
Sourcepub const fn set_enirqresumedetect(&mut self, val: bool)
pub const fn set_enirqresumedetect(&mut self, val: bool)
Resume Detection Interrupt Enable
Sourcepub const fn resume_irq(&self) -> bool
pub const fn resume_irq(&self) -> bool
Resume Interrupt
Sourcepub const fn set_resume_irq(&mut self, val: bool)
pub const fn set_resume_irq(&mut self, val: bool)
Resume Interrupt
Sourcepub const fn enirqdevplugin(&self) -> bool
pub const fn enirqdevplugin(&self) -> bool
Enable Interrupt for Nonstandard Resistive Plugged-In Detection
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
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
Sourcepub const fn set_enutmilevel2(&mut self, val: bool)
pub const fn set_enutmilevel2(&mut self, val: bool)
UTMI Level 2 Enable
Sourcepub const fn enutmilevel3(&self) -> bool
pub const fn enutmilevel3(&self) -> bool
UTMI Level 3 Enable
Sourcepub const fn set_enutmilevel3(&mut self, val: bool)
pub const fn set_enutmilevel3(&mut self, val: bool)
UTMI Level 3 Enable
Sourcepub const fn enirqwakeup(&self) -> bool
pub const fn enirqwakeup(&self) -> bool
Wake-Up Interrupt Enable
Sourcepub const fn set_enirqwakeup(&mut self, val: bool)
pub const fn set_enirqwakeup(&mut self, val: bool)
Wake-Up Interrupt 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
Sourcepub const fn set_autoresume_en(&mut self, val: bool)
pub const fn set_autoresume_en(&mut self, val: bool)
Autoresume Enable
Sourcepub const fn enautoclr_clkgate(&self) -> bool
pub const fn enautoclr_clkgate(&self) -> bool
Autoclear Clock Gate 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
Sourcepub const fn enautoclr_phy_pwd(&self) -> bool
pub const fn enautoclr_phy_pwd(&self) -> bool
PHY PWD Autoclear 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
Sourcepub const fn otg_id_value(&self) -> bool
pub const fn otg_id_value(&self) -> bool
OTG ID Value
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
Sourcepub const fn utmi_suspendm(&self) -> bool
pub const fn utmi_suspendm(&self) -> bool
UTMI Suspend
Sourcepub const fn set_utmi_suspendm(&mut self, val: bool)
pub const fn set_utmi_suspendm(&mut self, val: bool)
UTMI Suspend
Sourcepub const fn set_clkgate(&mut self, val: bool)
pub const fn set_clkgate(&mut self, val: bool)
UTMI Clock Gate
Sourcepub const fn set_sftrst(&mut self, val: bool)
pub const fn set_sftrst(&mut self, val: bool)
Software Reset