To add: From the Lionair accident report. 1.6.5.4
The magnitude of the AND command was based on the AOA and the Mach. After the non-normal maneuver that resulted in the high AOA, and once the AOA fell below a reset threshold, MCAS would move the stabilizer ANU to the original position and reset the system.