#[repr(transparent)]pub struct Endptnak(pub u32);Expand description
Endpoint NAK. F70RM 44.6.1.29 (text line 114882). Device-mode RX/TX bit masks for endpoints 0..7, W1C. Write only the intended acknowledgement mask; no two-state enum.
Tuple Fields§
§0: u32Implementations§
Source§impl Endptnak
impl Endptnak
Sourcepub const fn eprn(&self) -> u8
pub const fn eprn(&self) -> u8
RX Endpoint NAK Flag. Raw encoding: 0000_0000b - No NACK; 0000_0001b - NACK; 0000_0000b - No effect; 0000_0001b - Clear the flag.
Sourcepub const fn set_eprn(&mut self, val: u8)
pub const fn set_eprn(&mut self, val: u8)
RX Endpoint NAK Flag. Raw encoding: 0000_0000b - No NACK; 0000_0001b - NACK; 0000_0000b - No effect; 0000_0001b - Clear the flag.
Trait Implementations§
impl Copy for Endptnak
impl Eq for Endptnak
impl StructuralPartialEq for Endptnak
Auto Trait Implementations§
impl Freeze for Endptnak
impl RefUnwindSafe for Endptnak
impl Send for Endptnak
impl Sync for Endptnak
impl Unpin for Endptnak
impl UnwindSafe for Endptnak
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