mynewt::hw::hal
pub unsafe extern "C" fn hal_gpio_toggle(pin: c_int) -> c_int
Toggles the specified pin
pin
Return: current gpio state int 0: low, 1: high