code: async def reset(self):
          
  
          await self._device.emulator.stop_tasks(self.address)
  
          self._handle_reset()
  
          self._logger.info("Tile at address %d has reset itself.", self.address)
  
          self._logger.info("Starting main task for tile at address %d", self.address)
          self._device.emulator.add_task(self.address, self._reset_vector())
docs: Synchronously reset a tile.
  
          This method must be called from the emulation loop and will
          synchronously shut down all background tasks running this tile, clear
          it to reset state and then restart the initialization background task.