#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32
Implementations§
Source§impl Shorts
impl Shorts
Sourcepub const fn ep0datadone_startepin0(&self) -> bool
pub const fn ep0datadone_startepin0(&self) -> bool
Shortcut between event EP0DATADONE and task STARTEPIN[0]
Sourcepub fn set_ep0datadone_startepin0(&mut self, val: bool)
pub fn set_ep0datadone_startepin0(&mut self, val: bool)
Shortcut between event EP0DATADONE and task STARTEPIN[0]
Sourcepub const fn ep0datadone_startepout0(&self) -> bool
pub const fn ep0datadone_startepout0(&self) -> bool
Shortcut between event EP0DATADONE and task STARTEPOUT[0]
Sourcepub fn set_ep0datadone_startepout0(&mut self, val: bool)
pub fn set_ep0datadone_startepout0(&mut self, val: bool)
Shortcut between event EP0DATADONE and task STARTEPOUT[0]
Sourcepub const fn ep0datadone_ep0status(&self) -> bool
pub const fn ep0datadone_ep0status(&self) -> bool
Shortcut between event EP0DATADONE and task EP0STATUS
Sourcepub fn set_ep0datadone_ep0status(&mut self, val: bool)
pub fn set_ep0datadone_ep0status(&mut self, val: bool)
Shortcut between event EP0DATADONE and task EP0STATUS
Sourcepub const fn endepout0_ep0status(&self) -> bool
pub const fn endepout0_ep0status(&self) -> bool
Shortcut between event ENDEPOUT[0] and task EP0STATUS
Sourcepub fn set_endepout0_ep0status(&mut self, val: bool)
pub fn set_endepout0_ep0status(&mut self, val: bool)
Shortcut between event ENDEPOUT[0] and task EP0STATUS
Sourcepub const fn endepout0_ep0rcvout(&self) -> bool
pub const fn endepout0_ep0rcvout(&self) -> bool
Shortcut between event ENDEPOUT[0] and task EP0RCVOUT
Sourcepub fn set_endepout0_ep0rcvout(&mut self, val: bool)
pub fn set_endepout0_ep0rcvout(&mut self, val: bool)
Shortcut between event ENDEPOUT[0] and task EP0RCVOUT
Trait Implementations§
impl Copy for Shorts
impl Eq for Shorts
impl StructuralPartialEq for Shorts
Auto Trait Implementations§
impl Freeze for Shorts
impl RefUnwindSafe for Shorts
impl Send for Shorts
impl Sync for Shorts
impl Unpin for Shorts
impl UnwindSafe for Shorts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)