Trait microbit::hal::gpiote::GpioteOutputPin[][src]

pub trait GpioteOutputPin {
    fn pin(&self) -> u8;
fn port(&self) -> Port; }
Expand description

Trait to represent task output pin.

Required methods

fn pin(&self) -> u8[src]

fn port(&self) -> Port[src]

Implementors

impl GpioteOutputPin for Pin<Output<OpenDrain>>[src]

pub fn pin(&self) -> u8[src]

pub fn port(&self) -> Port[src]

impl GpioteOutputPin for Pin<Output<PushPull>>[src]

pub fn pin(&self) -> u8[src]

pub fn port(&self) -> Port[src]