code: def get_analog_latch_data(self, pin):
          
          task = asyncio.ensure_future(self.core.get_analog_latch_data(pin))
          l_data = self.loop.run_until_complete(task)
          return l_data
docs: A list is returned containing the latch state for the pin, the
          latched value, and the time stamp
          [pin_num, latch_state, latched_value, time_stamp]
          If the the latch state is LATCH_LATCHED, the table is reset
          (data and timestamp set to zero)
          It is intended to be used for a polling application.
  
          :param pin: Pin number.
  
          :returns:  [latched_state, threshold_type, threshold_value,
                      latched_data, time_stamp]