pub struct PININT<State> {
pub interrupts: Interrupts<State>,
/* private fields */
}Expand description
Entry point to the PININT API
Fields§
§interrupts: Interrupts<State>Provides access to the pin interrupts
Implementations§
Source§impl<State> PININT<State>
impl<State> PININT<State>
Sourcepub fn free(self) -> PINT
pub fn free(self) -> PINT
Return the raw peripheral
This method serves as an escape hatch from the HAL API. It returns the raw peripheral, allowing you to do whatever you want with it, without limitations imposed by the API.
If you are using this method because a feature you need is missing from the HAL API, please open an issue or, if an issue for your feature request already exists, comment on the existing issue, so we can prioritize it accordingly.
Auto Trait Implementations§
impl<State> Freeze for PININT<State>
impl<State> RefUnwindSafe for PININT<State>where
State: RefUnwindSafe,
impl<State> Send for PININT<State>where
State: Send,
impl<State> !Sync for PININT<State>
impl<State> Unpin for PININT<State>where
State: Unpin,
impl<State> UnwindSafe for PININT<State>where
State: UnwindSafe,
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