pub struct LowPowerOutputOpenDrain<'d, const PIN: u8> { /* private fields */ }
Available on crate feature
unstable
only.Expand description
A GPIO open-drain output pin configured for low power operation
Implementations§
Source§impl<'d, const PIN: u8> LowPowerOutputOpenDrain<'d, PIN>
impl<'d, const PIN: u8> LowPowerOutputOpenDrain<'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