A novel microscopic interferometry with ability of frequency-variation and phase-shifting is proposed for microstructures testing. By using acousto-optic technique, sequential carriers can be generated with different spatial frequencies so that the temporal phase unwrapping method can be applied for decoding the height information. Combined with phase-shifting technique realized by spatial light modulator, this method is especially suitable for interferometric measurement with high precision and large dynamic range.