Commit e68a008d authored by Matthieu Cattin's avatar Matthieu Cattin

test04: add Si570 registers raw print.

parent b46f534d
......@@ -83,6 +83,12 @@ def main (default_directory='.'):
fmc.print_si570_config()
print ""
raw_cfg = fmc.get_si570_raw_config()
print("Si570 registers\naddr: data")
for i in raw_cfg:
print("0x%02X: 0x%02X"% (i[0], i[1]))
print("")
# Check that HS_DIV is different from 0
# If HS_DIV register value is "100" or "110" (not used) get_si570_config returns 0
if (hs_div == 0):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment