#[repr(transparent)]pub struct UsbAlphaFieldsetMikeAlpha(pub u8);Expand description
USB Transceiver Control 0.
Tuple Fields§
§0: u8Implementations§
Source§impl UsbAlphaFieldsetMikeAlpha
impl UsbAlphaFieldsetMikeAlpha
Sourcepub const fn usb_resume_int(&self) -> bool
pub const fn usb_resume_int(&self) -> bool
USB Asynchronous Interrupt. Raw bit values: false (0) = NoAsyncInt: Not generated.; true (1) = SyncIntGenerated: Generated because of the USB asynchronous interrupt.
Sourcepub const fn set_usb_resume_int(&mut self, val: bool)
pub const fn set_usb_resume_int(&mut self, val: bool)
USB Asynchronous Interrupt. Raw bit values: false (0) = NoAsyncInt: Not generated.; true (1) = SyncIntGenerated: Generated because of the USB asynchronous interrupt.
Sourcepub const fn sync_det(&self) -> bool
pub const fn sync_det(&self) -> bool
Synchronous USB Interrupt Detect. Raw bit values: false (0) = NoSyncInt: Not detected.; true (1) = SyncIntDetected: Detected.
Sourcepub const fn set_sync_det(&mut self, val: bool)
pub const fn set_sync_det(&mut self, val: bool)
Synchronous USB Interrupt Detect. Raw bit values: false (0) = NoSyncInt: Not detected.; true (1) = SyncIntDetected: Detected.
Sourcepub const fn usb_clk_recovery_int(&self) -> bool
pub const fn usb_clk_recovery_int(&self) -> bool
Combined USB Clock Recovery interrupt status.
Sourcepub const fn set_usb_clk_recovery_int(&mut self, val: bool)
pub const fn set_usb_clk_recovery_int(&mut self, val: bool)
Combined USB Clock Recovery interrupt status.
Sourcepub const fn vredg_det(&self) -> bool
pub const fn vredg_det(&self) -> bool
VREGIN Rising Edge Interrupt Detect. Raw bit values: false (0) = NoVregReInt: Not detected.; true (1) = VregReIntDetected: Detected.
Sourcepub const fn set_vredg_det(&mut self, val: bool)
pub const fn set_vredg_det(&mut self, val: bool)
VREGIN Rising Edge Interrupt Detect. Raw bit values: false (0) = NoVregReInt: Not detected.; true (1) = VregReIntDetected: Detected.
Sourcepub const fn vfedg_det(&self) -> bool
pub const fn vfedg_det(&self) -> bool
VREGIN Falling Edge Interrupt Detect. Raw bit values: false (0) = NoVregFeInt: Not detected.; true (1) = VregFeIntDetected: Detected.
Sourcepub const fn set_vfedg_det(&mut self, val: bool)
pub const fn set_vfedg_det(&mut self, val: bool)
VREGIN Falling Edge Interrupt Detect. Raw bit values: false (0) = NoVregFeInt: Not detected.; true (1) = VregFeIntDetected: Detected.
Sourcepub const fn usbresmen(&self) -> bool
pub const fn usbresmen(&self) -> bool
Asynchronous Resume Interrupt Enable. Raw bit values: false (0) = DisAsyncWakeup: Disable.; true (1) = EnAsyncWakeup: Enable.
Sourcepub const fn set_usbresmen(&mut self, val: bool)
pub const fn set_usbresmen(&mut self, val: bool)
Asynchronous Resume Interrupt Enable. Raw bit values: false (0) = DisAsyncWakeup: Disable.; true (1) = EnAsyncWakeup: Enable.
Sourcepub const fn vregin_sts(&self) -> bool
pub const fn vregin_sts(&self) -> bool
VREGIN Status.
Sourcepub const fn set_vregin_sts(&mut self, val: bool)
pub const fn set_vregin_sts(&mut self, val: bool)
VREGIN Status.
Sourcepub const fn usbreset(&self) -> bool
pub const fn usbreset(&self) -> bool
USB Reset. Raw bit values: false (0) = NormalOperation: Normal USBFS operation.; true (1) = ForceHardReset: Returns USBFS to its reset state.
Sourcepub const fn set_usbreset(&mut self, val: bool)
pub const fn set_usbreset(&mut self, val: bool)
USB Reset. Raw bit values: false (0) = NormalOperation: Normal USBFS operation.; true (1) = ForceHardReset: Returns USBFS to its reset state.
Trait Implementations§
Source§impl Clone for UsbAlphaFieldsetMikeAlpha
impl Clone for UsbAlphaFieldsetMikeAlpha
Source§fn clone(&self) -> UsbAlphaFieldsetMikeAlpha
fn clone(&self) -> UsbAlphaFieldsetMikeAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more