[−][src]Function mynewt::hw::hal::hal_gpio_toggle
pub unsafe extern "C" fn hal_gpio_toggle(pin: c_int) -> c_int
Toggles the specified pin
pin
: Pin number to toggle
Return: current gpio state int 0: low, 1: high
pub unsafe extern "C" fn hal_gpio_toggle(pin: c_int) -> c_int
Toggles the specified pin
pin
: Pin number to toggleReturn: current gpio state int 0: low, 1: high