pub struct Pint<'a> { /* private fields */ }Implementations§
Source§impl<'a> Pint<'a>
impl<'a> Pint<'a>
pub const fn new() -> Self
pub fn set_client(&self, channel: u8, client: &'a dyn Client)
pub fn configure_interrupt(&self, channel: usize, edge: Edge)
pub fn handle_interrupt(&self)
pub fn disable_interrupt(&self, channel: usize)
pub fn read_interrupt(&self) -> u32
Sourcepub fn is_pending(&self, channel: usize) -> bool
pub fn is_pending(&self, channel: usize) -> bool
Returns true if the given channel has a pending interrupt.
Sourcepub fn clear_pending(&self, channel: usize)
pub fn clear_pending(&self, channel: usize)
Clears the pending interrupt for the given channel.
Auto Trait Implementations§
impl<'a> !Freeze for Pint<'a>
impl<'a> !RefUnwindSafe for Pint<'a>
impl<'a> !Send for Pint<'a>
impl<'a> !Sync for Pint<'a>
impl<'a> Unpin for Pint<'a>
impl<'a> !UnwindSafe for Pint<'a>
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