#[repr(transparent)]pub struct Ctl(pub u8);Expand description
Control.
Tuple Fields§
§0: u8Implementations§
Source§impl Ctl
impl Ctl
Sourcepub const fn usbensofen(&self) -> bool
pub const fn usbensofen(&self) -> bool
USB Enable. Raw bit values: false (0) = DisUsbSof: Disable.; true (1) = EnUsbSof: Enable.
Sourcepub const fn set_usbensofen(&mut self, val: bool)
pub const fn set_usbensofen(&mut self, val: bool)
USB Enable. Raw bit values: false (0) = DisUsbSof: Disable.; true (1) = EnUsbSof: Enable.
Sourcepub const fn set_oddrst(&mut self, val: bool)
pub const fn set_oddrst(&mut self, val: bool)
Odd Reset.
Sourcepub const fn set_resume(&mut self, val: bool)
pub const fn set_resume(&mut self, val: bool)
Resume.
Sourcepub const fn hostmodeen(&self) -> bool
pub const fn hostmodeen(&self) -> bool
Host Mode Enable. Raw bit values: false (0) = EnDeviceMode: USBFS operates in Device mode.; true (1) = EnHostMode: USBFS operates in Host mode. In Host mode, USBFS performs USB transactions under the programmed control of the host processor.
Sourcepub const fn set_hostmodeen(&mut self, val: bool)
pub const fn set_hostmodeen(&mut self, val: bool)
Host Mode Enable. Raw bit values: false (0) = EnDeviceMode: USBFS operates in Device mode.; true (1) = EnHostMode: USBFS operates in Host mode. In Host mode, USBFS performs USB transactions under the programmed control of the host processor.
Sourcepub const fn txsuspendtokenbusy(&self) -> bool
pub const fn txsuspendtokenbusy(&self) -> bool
TXD Suspend And Token Busy.
Sourcepub const fn set_txsuspendtokenbusy(&mut self, val: bool)
pub const fn set_txsuspendtokenbusy(&mut self, val: bool)
TXD Suspend And Token Busy.
Sourcepub const fn set_jstate(&mut self, val: bool)
pub const fn set_jstate(&mut self, val: bool)
Live USB Differential Receiver JSTATE Signal.