Struct esp8266_hal::OutputPin [−][src]
pub struct OutputPin(_);
Methods
impl OutputPin
[src]
impl OutputPin
pub fn new(pin: u8) -> Self
[src]
pub fn new(pin: u8) -> Self
pub fn with_pin_mode_already_set(pin: u8) -> Self
[src]
pub fn with_pin_mode_already_set(pin: u8) -> Self
pub fn to_input(self) -> InputPin
[src]
pub fn to_input(self) -> InputPin
Trait Implementations
impl OutputPin for OutputPin
[src]
impl OutputPin for OutputPin
fn set_low(&mut self)
[src]
fn set_low(&mut self)
Drives the pin low Read more
fn set_high(&mut self)
[src]
fn set_high(&mut self)
Drives the pin high Read more
impl StatefulOutputPin for OutputPin
[src]
impl StatefulOutputPin for OutputPin
fn is_set_low(&self) -> bool
[src]
fn is_set_low(&self) -> bool
Is the pin in drive low mode? Read more
fn is_set_high(&self) -> bool
[src]
fn is_set_high(&self) -> bool
Is the pin in drive high mode? Read more
impl Default for OutputPin
[src]
impl Default for OutputPin