#NEWLINE# def writeDP( self , addr , data ) : #NEWLINE# #INDENT# if ( addr == DP_REG [ 'SELECT' ] ) : #NEWLINE# #INDENT# if ( data == self . _dp_select ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . _dp_select = data #NEWLINE# #UNINDENT# self . _write ( ( ( WRITE | DP_ACC ) | ( addr & A32 ) ) , data )