#[repr(transparent)]pub struct UsbAlphaFieldsetLima(pub u8);Expand description
Endpoint Control.
Tuple Fields§
§0: u8Implementations§
Source§impl UsbAlphaFieldsetLima
impl UsbAlphaFieldsetLima
Sourcepub const fn set_ephshk(&mut self, val: bool)
pub const fn set_ephshk(&mut self, val: bool)
Endpoint Handshaking Enable.
Sourcepub const fn set_epstall(&mut self, val: bool)
pub const fn set_epstall(&mut self, val: bool)
Endpoint Stalled.
Sourcepub const fn set_eptxen(&mut self, val: bool)
pub const fn set_eptxen(&mut self, val: bool)
Endpoint for TX transfers enable.
Sourcepub const fn set_eprxen(&mut self, val: bool)
pub const fn set_eprxen(&mut self, val: bool)
Endpoint for RX transfers enable.
Sourcepub const fn epctldis(&self) -> bool
pub const fn epctldis(&self) -> bool
Control Transfer Disable. Raw bit values: false (0) = Enable: Enable.; true (1) = Disable: Disable.
Sourcepub const fn set_epctldis(&mut self, val: bool)
pub const fn set_epctldis(&mut self, val: bool)
Control Transfer Disable. Raw bit values: false (0) = Enable: Enable.; true (1) = Disable: Disable.
Sourcepub const fn retrydis(&self) -> bool
pub const fn retrydis(&self) -> bool
Retry Disable. Raw bit values: false (0) = Retried: Retried NAK’ed transactions in hardware.; true (1) = DoNotRetried: Do not retry NAK’ed transactions. When a transaction is NAK’ed, the BDT PID field is updated with the NAK PID, and the TOKEN_DNE interrupt becomes 1.
Sourcepub const fn set_retrydis(&mut self, val: bool)
pub const fn set_retrydis(&mut self, val: bool)
Retry Disable. Raw bit values: false (0) = Retried: Retried NAK’ed transactions in hardware.; true (1) = DoNotRetried: Do not retry NAK’ed transactions. When a transaction is NAK’ed, the BDT PID field is updated with the NAK PID, and the TOKEN_DNE interrupt becomes 1.
Sourcepub const fn hostwohub(&self) -> bool
pub const fn hostwohub(&self) -> bool
Host Without A Hub. Raw bit values: false (0) = LsThruHub: Connected using a hub (USBFS generates PRE_PID as required).; true (1) = LsDirectConnect: Connected directly to host without a hub, or was used to attach.
Sourcepub const fn set_hostwohub(&mut self, val: bool)
pub const fn set_hostwohub(&mut self, val: bool)
Host Without A Hub. Raw bit values: false (0) = LsThruHub: Connected using a hub (USBFS generates PRE_PID as required).; true (1) = LsDirectConnect: Connected directly to host without a hub, or was used to attach.
Trait Implementations§
Source§impl Clone for UsbAlphaFieldsetLima
impl Clone for UsbAlphaFieldsetLima
Source§fn clone(&self) -> UsbAlphaFieldsetLima
fn clone(&self) -> UsbAlphaFieldsetLima
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more