Function soapysdr_sys::SoapySDRDevice_writeGPIODirMasked
source · pub unsafe extern "C" fn SoapySDRDevice_writeGPIODirMasked(
device: *mut SoapySDRDevice,
bank: *const c_char,
dir: c_uint,
mask: c_uint
) -> c_int
Expand description
Write the data direction of a GPIO bank with modification mask. 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 \param mask a modification mask where 1 = modify \return 0 for success or error code on failure