pub struct LowPowerOutput<'d, const PIN: u8> { /* private fields */ }Available on crate feature
unstable only.Expand description
A GPIO output pin configured for low-power operation.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
Source§impl<'d, const PIN: u8> LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> LowPowerOutput<'d, PIN>
Sourcepub fn new<P>(pin: P) -> Selfwhere
P: LowPowerPin<PIN> + OutputPin + 'd,
pub fn new<P>(pin: P) -> Selfwhere
P: LowPowerPin<PIN> + OutputPin + 'd,
Creates a new output pin for use by the low-power core.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Auto Trait Implementations§
impl<'d, const PIN: u8> !UnwindSafe for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> Freeze for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> RefUnwindSafe for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> Send for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> Sync for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> Unpin for LowPowerOutput<'d, PIN>
impl<'d, const PIN: u8> UnsafeUnpin for LowPowerOutput<'d, PIN>
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