The AK8779A is a Hall effect latch which detects both “vertical magnetic field” and “horizontal magnetic field” (perpendicular and parallel to the marked side of the package) at the same time. The pulse output F and the direction output D are switched according to the vertical and horizontal magneti.