#[repr(transparent)]pub struct UsbAlphaFieldsetTango(pub u8);Expand description
Keep Alive Mode Control.
Tuple Fields§
§0: u8Implementations§
Source§impl UsbAlphaFieldsetTango
impl UsbAlphaFieldsetTango
Sourcepub const fn keep_alive_en(&self) -> bool
pub const fn keep_alive_en(&self) -> bool
Keep Alive Mode Enable. Raw bit values: false (0) = DeAsserted: Everything remains same as before.; true (1) = Asserted: USB shall enter USB_KEEP_ALIVE mode after asserting ipg_stop.
Sourcepub const fn set_keep_alive_en(&mut self, val: bool)
pub const fn set_keep_alive_en(&mut self, val: bool)
Keep Alive Mode Enable. Raw bit values: false (0) = DeAsserted: Everything remains same as before.; true (1) = Asserted: USB shall enter USB_KEEP_ALIVE mode after asserting ipg_stop.
Sourcepub const fn own_overrd_en(&self) -> bool
pub const fn own_overrd_en(&self) -> bool
OWN Bit Override Enable.
Sourcepub const fn set_own_overrd_en(&mut self, val: bool)
pub const fn set_own_overrd_en(&mut self, val: bool)
OWN Bit Override Enable.
Sourcepub const fn stop_ack_dly_en(&self) -> bool
pub const fn stop_ack_dly_en(&self) -> bool
Stop Acknowledge Delay Enable. Raw bit values: false (0) = EnterKeepAliveOnIdle: Enter KEEP_ALIVE mode immediately when there is no USB AHB transfer.; true (1) = EnterKeepAliveImmediate: Enter KEEP_ALIVE mode until the USB core is idle and there is no USB AHB transfer.
Sourcepub const fn set_stop_ack_dly_en(&mut self, val: bool)
pub const fn set_stop_ack_dly_en(&mut self, val: bool)
Stop Acknowledge Delay Enable. Raw bit values: false (0) = EnterKeepAliveOnIdle: Enter KEEP_ALIVE mode immediately when there is no USB AHB transfer.; true (1) = EnterKeepAliveImmediate: Enter KEEP_ALIVE mode until the USB core is idle and there is no USB AHB transfer.
Sourcepub const fn wake_req_en(&self) -> bool
pub const fn wake_req_en(&self) -> bool
Wakeup Request Enable. Raw bit values: false (0) = DisWakeRequest: Disable.; true (1) = EnWakeRequest: Enable.
Sourcepub const fn set_wake_req_en(&mut self, val: bool)
pub const fn set_wake_req_en(&mut self, val: bool)
Wakeup Request Enable. Raw bit values: false (0) = DisWakeRequest: Disable.; true (1) = EnWakeRequest: Enable.
Sourcepub const fn wake_int_en(&self) -> bool
pub const fn wake_int_en(&self) -> bool
Wakeup Interrupt Enable.
Sourcepub const fn set_wake_int_en(&mut self, val: bool)
pub const fn set_wake_int_en(&mut self, val: bool)
Wakeup Interrupt Enable.
Sourcepub const fn keep_alive_sts(&self) -> bool
pub const fn keep_alive_sts(&self) -> bool
Keep Alive Status. Raw bit values: false (0) = KeepAliveDisStat: Not in Keep Alive mode.; true (1) = KeepAliveEnStat: In Keep Alive mode.
Sourcepub const fn set_keep_alive_sts(&mut self, val: bool)
pub const fn set_keep_alive_sts(&mut self, val: bool)
Keep Alive Status. Raw bit values: false (0) = KeepAliveDisStat: Not in Keep Alive mode.; true (1) = KeepAliveEnStat: In Keep Alive mode.
Sourcepub const fn wake_int_sts(&self) -> bool
pub const fn wake_int_sts(&self) -> bool
Wakeup Interrupt Status Flag. Raw bit values: false (0) = IntNo: Interrupt did not occur.; true (1) = IntYes: Interrupt occurred.
Sourcepub const fn set_wake_int_sts(&mut self, val: bool)
pub const fn set_wake_int_sts(&mut self, val: bool)
Wakeup Interrupt Status Flag. Raw bit values: false (0) = IntNo: Interrupt did not occur.; true (1) = IntYes: Interrupt occurred.
Trait Implementations§
Source§impl Clone for UsbAlphaFieldsetTango
impl Clone for UsbAlphaFieldsetTango
Source§fn clone(&self) -> UsbAlphaFieldsetTango
fn clone(&self) -> UsbAlphaFieldsetTango
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more