@@ -121,12 +121,12 @@ def scan(self):
121
121
found .append (address )
122
122
return found
123
123
124
- def writeto (self , address , buffer , * , start = 0 , end = None , stop = True ):
124
+ def writeto (self , address , buffer , * , start = 0 , end = None ):
125
125
"""Write data from the buffer to an address"""
126
126
if end is None :
127
127
end = len (buffer )
128
128
if self ._check_lock ():
129
- self ._write (address , buffer [start :end ], stop )
129
+ self ._write (address , buffer [start :end ], True )
130
130
131
131
def readfrom_into (self , address , buffer , * , start = 0 , end = None ):
132
132
"""Read data from an address and into the buffer"""
@@ -147,8 +147,7 @@ def writeto_then_readfrom(
147
147
out_start = 0 ,
148
148
out_end = None ,
149
149
in_start = 0 ,
150
- in_end = None ,
151
- stop = True
150
+ in_end = None
152
151
):
153
152
"""Write data from buffer_out to an address and then
154
153
read data from an address and into buffer_in
@@ -158,7 +157,7 @@ def writeto_then_readfrom(
158
157
if in_end is None :
159
158
in_end = len (buffer_in )
160
159
if self ._check_lock ():
161
- self .writeto (address , buffer_out , start = out_start , end = out_end , stop = stop )
160
+ self .writeto (address , buffer_out , start = out_start , end = out_end )
162
161
self .readfrom_into (address , buffer_in , start = in_start , end = in_end )
163
162
164
163
def _scl_low (self ):
0 commit comments