From: Jan Michel Date: Fri, 26 Apr 2019 13:23:51 +0000 (+0200) Subject: xml-db: add SPI registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c4632d1bc8bbb70f25295affcbced3d591ed5953;p=daqtools.git xml-db: add SPI registers --- diff --git a/xml-db/database/SPI.xml b/xml-db/database/SPI.xml new file mode 100644 index 0000000..a6555be --- /dev/null +++ b/xml-db/database/SPI.xml @@ -0,0 +1,89 @@ + + + Test + + + + Data to be sent + + + + + Control Chip Select output + + + + + Control optional CLEAR output + + + + + Control SDO output + + Disable automatic control of SDO + + + Invert SDO output + + + + + Control SCK output + + Disable automatic control of SCK, set to '1' + + + Invert SCK output + + + + + Control CS output + + Disable automatic control of CS, set to '1' + + + Invert CS output + + + + + Set the number of bits in each word. Up to 32 + + + + + Period of the SPI clock in units of 20 ns + + + + + Only accesses with 'sudo' bit set are accepted + + + + + + Control registers. Read-only in xml-db because every write to any part triggers sending data. + + Number of words to be sent + + + Toggle CS after each word if enabled + + + Block SPI after sending to read back data + + + Force sending data (when sudo is active) + + + + + +