The following are the
commands followed by their options (if any) and the Python method for the option (if
any).
plm
- copy-debug-log
-
s.plm_copy_debug_log(0x0)
- set-debug-log
-
s.plm_set_debug_log(0x0, 0x4000)
- set-log-level
-
s.plm_set_log_level(4)
- log
-
s.plm_log(0x0, 0x4000) f = open('tests/data/plm.log', 'w') s.plm_log(0x0, 0x4000, handle=f)
pmc
s.pmc('generic', [0x10241, 0x1c000000], response_size=1)
s.pmc(cmd='generic', data=[0x1030115, 0xffff0000, 0x100], response_size=2)
- -ipi
-
s.pmc(cmd='generic', data=[0x1030115, 0xffff0000, 0x100], ipi=5, response_size=2)