Struct nrf51_hal::gpio::gpio::PIN
[−]
[src]
pub struct PIN<MODE> { /* fields omitted */ }
Partially erased pin
Methods
impl<TYPE> PIN<TYPE>
[src]
Trait Implementations
impl<MODE> OutputPin for PIN<Output<MODE>>
[src]
fn is_high(&self) -> bool
[src]
Is the output pin high?
fn is_low(&self) -> bool
[src]
Is the output pin low?
fn set_high(&mut self)
[src]
Sets the pin high
fn set_low(&mut self)
[src]
Sets the pin low