blob: e9a3364d8165fa1c7744140a6dd6e48ff62d97b2 (
plain)
1
2
3
4
5
6
7
|
import pcipywrap
import os
def read_from_register():
reg1_val = pcipywrap.read_register('reg1');
test_prop1_val = pcipywrap.read_register('test_prop3');
return test_prop1_val - reg1_val;
|