From 81743dc1458f5ba6161a9c6161884aa9df021a71 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Sun, 31 Jan 2010 23:05:55 +0100 Subject: Document FPGA data writing Signed-off-by: Michael Buesch --- toprammer | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toprammer') diff --git a/toprammer b/toprammer index 6abc912..518d303 100755 --- a/toprammer +++ b/toprammer @@ -243,6 +243,10 @@ class TOP: """Read a byte from the FPGA data line into the status register.""" self.send("\x01") + def cmdFPGAWriteByte(self, byte): + """Write a byte to the FPGA data line.""" + self.send("\x10" + chr(byte)) + def cmdSetGNDPin(self, zifPin): """Assign GND to a ZIF socket pin. 0=none""" valid = (0, 5, 14, 15, 16, 17, 18, 19, 20, 24, 26, 27, -- cgit v1.2.3