#[repr(transparent)]pub struct Endptsetupstat(pub u32);Expand description
Endpoint Setup Status. F70RM 44.6.1.35 (text line 115973). Device-mode W1C endpoint setup status mask. The manual explicitly draws 15:0; only endpoints 0..7 are implemented (valid endpoint mask 0x00ff). Bits 15:8 do not imply additional endpoints.
Tuple Fields§
§0: u32Implementations§
Source§impl Endptsetupstat
impl Endptsetupstat
Sourcepub const fn endptsetupstat(&self) -> u16
pub const fn endptsetupstat(&self) -> u16
Endpoint Setup Status Flag. Raw encoding: 0000_0000_0000_0000b - Not received; 0000_0000_0000_0001b - Received; 0000_0000_0000_0000b - No effect; 0000_0000_0000_0001b - Clear the flag.
Sourcepub const fn set_endptsetupstat(&mut self, val: u16)
pub const fn set_endptsetupstat(&mut self, val: u16)
Endpoint Setup Status Flag. Raw encoding: 0000_0000_0000_0000b - Not received; 0000_0000_0000_0001b - Received; 0000_0000_0000_0000b - No effect; 0000_0000_0000_0001b - Clear the flag.
Trait Implementations§
Source§impl Clone for Endptsetupstat
impl Clone for Endptsetupstat
Source§fn clone(&self) -> Endptsetupstat
fn clone(&self) -> Endptsetupstat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Endptsetupstat
impl Debug for Endptsetupstat
Source§impl Default for Endptsetupstat
impl Default for Endptsetupstat
Source§fn default() -> Endptsetupstat
fn default() -> Endptsetupstat
Returns the “default value” for a type. Read more
Source§impl PartialEq for Endptsetupstat
impl PartialEq for Endptsetupstat
impl Copy for Endptsetupstat
impl Eq for Endptsetupstat
impl StructuralPartialEq for Endptsetupstat
Auto Trait Implementations§
impl Freeze for Endptsetupstat
impl RefUnwindSafe for Endptsetupstat
impl Send for Endptsetupstat
impl Sync for Endptsetupstat
impl Unpin for Endptsetupstat
impl UnwindSafe for Endptsetupstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more