コード例 #1
0
 def WriteExternal(self, address, data):
     req = WriteRequest(self.BASE_ADDRESS_EXTERNAL + address, data)
     self._iface.send(req)
コード例 #2
0
 def FastBlockWrite(self, data):
     req = WriteRequest(self.BASE_ADDRESS_BLOCK, data)
     self._iface.send(req)
コード例 #3
0
    def write(self, addr, data):
        ad = array.array('B', data)
        req = WriteRequest(addr, ad)

        with self._lock:
            self._iface.send(req)