logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

pmh7tool - read and write to pmh7 registers

Authors

       coresystems GmbH.
       Man page written by Ahmad Khalifa.

                                                  November 2024                                      PMH7TOOL(8)

Description

       Read and write to pmh7 registers at base address 0x15e0

   Attention!
       Writing  to  PMH7  registers is very dangerous, as you directly manipulate the power rails, enable lines,
       interrupt lines or something else of the device. Proceed with caution.

Name

       pmh7tool - read and write to pmh7 registers

Notes

       <addr> must be in the range of 0-0x1ff
       <data> must be in the range of 0-0xff
       <bit>  must be in the range of 0-7

Options

-h, --help:
              Print this help

       -d, --dump:
              Print registers

       -r, --read <addr>:
              Read from register at <addr>.

       -b, --read-bit <addr> <bit>
              Read bit from register at <addr>

       -w, --write <addr> <data>
              Write <data> to register at <addr>

       -c, --clear-bit <addr> <bit>
              Clear bit from register at <addr>

       -s, --set-bit <addr> <bit>
              Set bit at on register at <addr>

Synopsis

       pmh7tool [-d]
       pmh7tool [-r] <addr>
       pmh7tool [-w] <addr> <data>
       pmh7tool [-b | -c | -s] <addr> <bit>
       pmh7tool [-h]

See Also