Skip to main content

SoapySDRDevice_writeGPIOMasked

Function SoapySDRDevice_writeGPIOMasked 

Source
pub unsafe extern "C" fn SoapySDRDevice_writeGPIOMasked(
    device: *mut SoapySDRDevice,
    bank: *const c_char,
    value: c_uint,
    mask: c_uint,
) -> c_int
Expand description

Write the value of a GPIO bank with modification mask.

\param device a pointer to a device instance \param bank the name of an available bank \param value an integer representing GPIO bits \param mask a modification mask where 1 = modify \return 0 for success or error code on failure