Function bl602_sdk::gpio::enable_input [−][src]
pub fn enable_input(pin: u8, pullup: u8, pulldown: u8) -> BlResult<()>
Expand description
Configure a GPIO Pin for Input Mode. See bl_gpio_enable_input
in “Enable GPIO” https://lupyuen.github.io/articles/led#enable-gpio