sgpio_output_set
err = sgpio_output_set(priv, &addr, arg);
return sgpio_output_set(priv, &addr, value);