debugfs-moxtet 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. What: /sys/kernel/debug/moxtet/input
  2. Date: March 2019
  3. KernelVersion: 5.3
  4. Contact: Marek Behún <[email protected]>
  5. Description: (Read) Read input from the shift registers, in hexadecimal.
  6. Returns N+1 bytes, where N is the number of Moxtet connected
  7. modules. The first byte is from the CPU board itself.
  8. Example::
  9. 101214
  10. == =======================================
  11. 10 CPU board with SD card
  12. 12 2 = PCIe module, 1 = IRQ not active
  13. 14 4 = Peridot module, 1 = IRQ not active
  14. == =======================================
  15. What: /sys/kernel/debug/moxtet/output
  16. Date: March 2019
  17. KernelVersion: 5.3
  18. Contact: Marek Behún <[email protected]>
  19. Description: (RW) Read last written value to the shift registers, in
  20. hexadecimal, or write values to the shift registers, also
  21. in hexadecimal.
  22. Example::
  23. 0102
  24. == ================================================
  25. 01 01 was last written, or is to be written, to the
  26. first module's shift register
  27. 02 the same for second module
  28. == ================================================