Interferometer with a driven trapped ion