#NEWLINE# def writeRegister( self , data ) : #NEWLINE# #INDENT# reg = int ( data . split ( '=' ) [ 0 ] , 16 ) #NEWLINE# val = data . split ( '=' ) [ 1 ] . split ( '#' ) [ 0 ] #NEWLINE# self . target . setRegister ( reg , val ) #NEWLINE# return self . createRSPPacket ( 'OK' )