|
sub_gpio_write |
Top Previous Next |
| Got to SUB-20 page |
|
Synopsis int sub_gpio_write( sub_handle hndl, int set, int* get, int mask )
Set GPIO output status. For GPIO in output state function will set output driver to drive "1"-high, "0"-low. For GPIO in input state function will "1"-enable, "0"-disable weak pull-up on corresponding GPIO pin. Parameters
Return value On success function returns 0. Otherwise error code. See also |