Function soapysdr_sys::SoapySDRDevice_writeGPIODir
source · pub unsafe extern "C" fn SoapySDRDevice_writeGPIODir(
device: *mut SoapySDRDevice,
bank: *const c_char,
dir: c_uint
) -> c_int
Expand description
Write the data direction of a GPIO bank. 1 bits represent outputs, 0 bits represent inputs. \param device a pointer to a device instance \param bank the name of an available bank \param dir an integer representing data direction bits \return 0 for success or error code on failure