tree: 4cb90a6b891d53c4aff8576d4be63e2a12e64958 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. spiutil.cc
zircon/system/uapp/spiutil/README.md

SPI bus utility

  1. spiutil DEVICE r LENGTH

    Read LENGTH bytes from the specified devfs node. Output will be on the console in hexdump format.

  2. spiutil DEVICE w BYTES ...

    Write BYTES to the SPI bus represented by the specified devfs node.

  3. spiutil DEVICE x BYTES ...

    Perform a full-duplex SPI exchange on the SPI bus represented by the specified devfs node. Transmitted data as w option above, output as r option.