aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/ic_reg_maps/gen_ad9862_regs.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-07 01:02:20 +0000
committerJosh Blum <josh@joshknows.com>2010-05-07 01:02:20 +0000
commit272b08ce9a66b3ba1b9dc91922afff410145231f (patch)
treef89480f2ea7afffaede95d8455eafbb035df0113 /host/lib/ic_reg_maps/gen_ad9862_regs.py
parent06bcfc6b872d8efcb94b312b963f18678a862b93 (diff)
downloaduhd-272b08ce9a66b3ba1b9dc91922afff410145231f.tar.gz
uhd-272b08ce9a66b3ba1b9dc91922afff410145231f.tar.bz2
uhd-272b08ce9a66b3ba1b9dc91922afff410145231f.zip
work on codec control, writing aux dacs, read aux adc
Diffstat (limited to 'host/lib/ic_reg_maps/gen_ad9862_regs.py')
-rwxr-xr-xhost/lib/ic_reg_maps/gen_ad9862_regs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/ic_reg_maps/gen_ad9862_regs.py b/host/lib/ic_reg_maps/gen_ad9862_regs.py
index 2094f5e4b..4444c6240 100755
--- a/host/lib/ic_reg_maps/gen_ad9862_regs.py
+++ b/host/lib/ic_reg_maps/gen_ad9862_regs.py
@@ -233,7 +233,7 @@ boost::uint16_t get_write_reg(boost::uint8_t addr){
}
boost::uint16_t get_read_reg(boost::uint8_t addr){
- return (boost::uint16_t(addr) << 8) | (1 << 7);
+ return (boost::uint16_t(addr) << 8) | (1 << 15);
}
"""