Struct Int
#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
§impl Int
impl Int
pub fn set_receive0(&mut self, val: bool)
pub fn set_receive0(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[0]
pub fn set_receive1(&mut self, val: bool)
pub fn set_receive1(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[1]
pub fn set_receive2(&mut self, val: bool)
pub fn set_receive2(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[2]
pub fn set_receive3(&mut self, val: bool)
pub fn set_receive3(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[3]
pub fn set_receive4(&mut self, val: bool)
pub fn set_receive4(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[4]
pub fn set_receive5(&mut self, val: bool)
pub fn set_receive5(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[5]
pub fn set_receive6(&mut self, val: bool)
pub fn set_receive6(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[6]
pub fn set_receive7(&mut self, val: bool)
pub fn set_receive7(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[7]
pub fn set_receive8(&mut self, val: bool)
pub fn set_receive8(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[8]
pub fn set_receive9(&mut self, val: bool)
pub fn set_receive9(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[9]
pub fn set_receive10(&mut self, val: bool)
pub fn set_receive10(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[10]
pub fn set_receive11(&mut self, val: bool)
pub fn set_receive11(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[11]
pub fn set_receive12(&mut self, val: bool)
pub fn set_receive12(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[12]
pub fn set_receive13(&mut self, val: bool)
pub fn set_receive13(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[13]
pub fn set_receive14(&mut self, val: bool)
pub fn set_receive14(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[14]
pub fn set_receive15(&mut self, val: bool)
pub fn set_receive15(&mut self, val: bool)
Enable or disable interrupt for event RECEIVE[15]
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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)
clone_to_uninit
)