pub struct LowPowerInput<'d, const PIN: u8> { /* private fields */ }
Available on crate feature
unstable
only.Expand description
A GPIO input pin configured for low power operation
Implementations§
Source§impl<'d, const PIN: u8> LowPowerInput<'d, PIN>
impl<'d, const PIN: u8> LowPowerInput<'d, PIN>
Sourcepub fn pullup_enable(&self, enable: bool)
pub fn pullup_enable(&self, enable: bool)
Sets pull-up enable for the pin
Sourcepub fn pulldown_enable(&self, enable: bool)
pub fn pulldown_enable(&self, enable: bool)
Sets pull-down enable for the pin