Function libiio_sys::iio_device_reg_read
source · [−]pub unsafe extern "C" fn iio_device_reg_read(
dev: *mut iio_device,
address: u32,
value: *mut u32
) -> c_int
Expand description
@brief Get the value of a hardware register @param dev A pointer to an iio_device structure @param address The address of the register @param value A pointer to the variable where the value will be written @return On success, 0 is returned @return On error, a negative errno code is returned