Trait r3_support_rza1::gpio::GpioExt
source · pub trait GpioExt {
// Required methods
fn set_alt_mode(&self, pin: Pin, mode: AltMode) -> &Self;
fn set_output(&self, pin: Pin) -> &Self;
fn set_input(&self, pin: Pin) -> &Self;
}
Required Methods§
sourcefn set_alt_mode(&self, pin: Pin, mode: AltMode) -> &Self
fn set_alt_mode(&self, pin: Pin, mode: AltMode) -> &Self
Configure the alternate function mode of the specified pin.
sourcefn set_output(&self, pin: Pin) -> &Self
fn set_output(&self, pin: Pin) -> &Self
Configure the specified pin for output.