0e76df5c97
This patch solves the register readback issue with the bit shift. When the
dac resolution was lower than the register size (ex. 12 bits out of 16
bits) the readback value was not shifted with the difference in bits and
the value was higher. Also a mask is applied on the read value in order to
get the value relative to the actual bit size.
Fixes:
|
||
---|---|---|
.. | ||
ad5064.c | ||
ad5360.c | ||
ad5380.c | ||
ad5421.c | ||
ad5446.c | ||
ad5449.c | ||
ad5504.c | ||
ad5592r-base.c | ||
ad5592r-base.h | ||
ad5592r.c | ||
ad5593r.c | ||
ad5624r_spi.c | ||
ad5624r.h | ||
ad5686-spi.c | ||
ad5686.c | ||
ad5686.h | ||
ad5696-i2c.c | ||
ad5755.c | ||
ad5758.c | ||
ad5761.c | ||
ad5764.c | ||
ad5791.c | ||
ad7303.c | ||
ad8801.c | ||
cio-dac.c | ||
dpot-dac.c | ||
ds4424.c | ||
Kconfig | ||
lpc18xx_dac.c | ||
ltc1660.c | ||
ltc2632.c | ||
m62332.c | ||
Makefile | ||
max517.c | ||
max5821.c | ||
mcp4725.c | ||
mcp4922.c | ||
stm32-dac-core.c | ||
stm32-dac-core.h | ||
stm32-dac.c | ||
ti-dac082s085.c | ||
ti-dac5571.c | ||
ti-dac7311.c | ||
vf610_dac.c |