https://github.com/analogdevicesinc/pyadi-iio/blob/56230aa83519c7250c69dcb04165d555baaf4e09/adi/ad7746.py#L37