Function soapysdr_sys::SoapySDRDevice_writeRegister
source · pub unsafe extern "C" fn SoapySDRDevice_writeRegister(
device: *mut SoapySDRDevice,
name: *const c_char,
addr: c_uint,
value: c_uint
) -> c_intExpand description
Write a register on the device given the interface name. This can represent a register on a soft CPU, FPGA, IC; the interpretation is up the implementation to decide. \param device a pointer to a device instance \param name the name of a available register interface \param addr the register address \param value the register value \return 0 for success or error code on failure