parameters: (self, address)
return_statement: return response[0]
docstring: Load data from Control/Status space
          :param address: address to load
docstring_summary: Load data from Control/Status space
          :param address: address to load
docstring_tokens: Load data from Control / Status space : param address : address to load
function: def ldcs(self, address):
          """
          Load data from Control/Status space
          :param address: address to load
          """
          self.logger.info("LDCS from 0x%02X", address)
          self.updi_phy.send([constants.UPDI_PHY_SYNC, constants.UPDI_LDCS | (address & 0x0F)])
          response = self.updi_phy.receive(self.LDCS_RESPONSE_BYTES)
          numbytes_received = len(response)
          if numbytes_received != self.LDCS_RESPONSE_BYTES:
              raise PymcuprogError("Unexpected number of bytes in response: "
                                   "{} byte(s) expected {} byte(s)".format(numbytes_received, self.LDCS_RESPONSE_BYTES))
  
          return response[0]
function_tokens: def ldcs ( self , address ) : self . logger . info ( "LDCS from 0x%02X" , address ) self . updi_phy . send ( [ constants . UPDI_PHY_SYNC , constants . UPDI_LDCS | ( address & 0x0F ) ] ) response = self . updi_phy . receive ( self . LDCS_RESPONSE_BYTES ) numbytes_received = len ( response ) if numbytes_received != self . LDCS_RESPONSE_BYTES : raise PymcuprogError ( "Unexpected number of bytes in response: " "{} byte(s) expected {} byte(s)" . format ( numbytes_received , self . LDCS_RESPONSE_BYTES ) ) return response [ 0 ]