pub struct IrqControl { /* private fields */ }
Implementations§
Source§impl IrqControl
impl IrqControl
pub fn clear(&mut self)
pub fn clear_events(&mut self, events: u8)
pub fn get_data(&self) -> u8
pub fn get_mask(&self) -> u8
pub fn get_raw_data(&self) -> u8
pub fn is_triggered(&self) -> bool
pub fn reset(&mut self)
pub fn set_event(&mut self, bit: usize)
pub fn set_mask(&mut self, mask: u8)
pub fn update_mask(&mut self, mask: u8)
Trait Implementations§
Source§impl Default for IrqControl
impl Default for IrqControl
Source§fn default() -> IrqControl
fn default() -> IrqControl
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IrqControl
impl RefUnwindSafe for IrqControl
impl Send for IrqControl
impl Sync for IrqControl
impl Unpin for IrqControl
impl UnwindSafe for IrqControl
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