aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/ic_reg_maps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-15 16:11:42 -0700
committerJosh Blum <josh@joshknows.com>2010-04-15 16:11:42 -0700
commit0718961ed11dc82b9430d9fa5da985f7ffcd5d2a (patch)
treec1a8ae28418f5a45ae3d9249b767123d59573af2 /host/lib/ic_reg_maps
parent3a196c5d614fbec9b1010b3082245614ba5e0dc9 (diff)
downloaduhd-0718961ed11dc82b9430d9fa5da985f7ffcd5d2a.tar.gz
uhd-0718961ed11dc82b9430d9fa5da985f7ffcd5d2a.tar.bz2
uhd-0718961ed11dc82b9430d9fa5da985f7ffcd5d2a.zip
work on rfx registers
Diffstat (limited to 'host/lib/ic_reg_maps')
-rwxr-xr-xhost/lib/ic_reg_maps/gen_adf4360_regs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/ic_reg_maps/gen_adf4360_regs.py b/host/lib/ic_reg_maps/gen_adf4360_regs.py
index e7c2c9435..bcad1ffd3 100755
--- a/host/lib/ic_reg_maps/gen_adf4360_regs.py
+++ b/host/lib/ic_reg_maps/gen_adf4360_regs.py
@@ -37,14 +37,14 @@ REGS_DATA_TMPL="""\
## address 0
########################################################################
core_power_level 0[2:3] 0 5ma, 10ma, 15ma, 20ma
-counter_reset 0[4] 0 normal, reset
+counter_operation 0[4] 0 normal, reset
muxout_control 0[5:7] 0 3state, dld, ndiv, dvdd, rdiv, nchan_od_ld, sdo, dgnd
phase_detector_polarity 0[8] 0 neg, pos
-cp_three_state 0[9] 0 normal, 3state
+charge_pump_output 0[9] 0 normal, 3state
cp_gain_0 0[10] 0 set1, set2
mute_till_ld 0[11] 0 dis, enb
output_power_level 0[12:13] 0 3_5ma, 5_0ma, 7_5ma, 11_0ma
-#set $current_setting_enums = "0_31, 0_62, 0_93, 1_25, 1_56, 1_87, 2_18, 2_50"
+#set $current_setting_enums = ', '.join(map(lambda x: x+"ma", "0_31 0_62 0_93 1_25 1_56 1_87 2_18 2_50".split()))
current_setting1 0[14:16] 0 $current_setting_enums
current_setting2 0[17:19] 0 $current_setting_enums
power_down 0[20:21] 0 normal_op=0, async_pd=1, sync_pd=3