Hydrogenic impurity state at an interface