Struct esp32c6_hal::gpio::lp_gpio::LowPowerPin
source · pub struct LowPowerPin<const PIN: u8> { /* private fields */ }
Implementations§
source§impl<const PIN: u8> LowPowerPin<PIN>
impl<const PIN: u8> LowPowerPin<PIN>
pub fn output_enable(&mut self, enable: bool)
pub fn input_enable(&mut self, enable: bool)
pub fn pullup_enable(&mut self, enable: bool)
pub fn pulldown_enable(&mut self, enable: bool)
pub fn set_level(&mut self, level: bool)
pub fn get_level(&self) -> bool
Auto Trait Implementations§
impl<const PIN: u8> RefUnwindSafe for LowPowerPin<PIN>
impl<const PIN: u8> Send for LowPowerPin<PIN>
impl<const PIN: u8> Sync for LowPowerPin<PIN>
impl<const PIN: u8> Unpin for LowPowerPin<PIN>
impl<const PIN: u8> UnwindSafe for LowPowerPin<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