Generally hall sensors is connected near field of rotor magnets with 60 degree and 120 degre angular positions. HALL_PHASE_SHIFT defines this siituation. both for cw or ccw for the same motor type only one type of HALL_PHASE_SHIFT definition is true.