Skip to main content

SoapySDRDevice_writeGPIO

Function SoapySDRDevice_writeGPIO 

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

Write the value of a GPIO bank.

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