Function bl602_sdk::gpio::enable_output[][src]

pub fn enable_output(pin: u8, pullup: u8, pulldown: u8) -> BlResult<()>
Expand description

Configure a GPIO Pin for Output Mode. See bl_gpio_enable_output in “Enable GPIO” https://lupyuen.github.io/articles/led#enable-gpio