FWIW, You just the cranks to spin backwards:
Use the power of your motor to brake and capture the energy to put back into your battery pack. An in-depth look at regenerative braking and how to activate it on your e-bike.
ebikes.ca
"Back pedaling on a PAS sensor:
Quadrature based PAS encoders have the ability to
tell when the cranks are being spun backwards. This is implemented in the Version 3.2 Cycle Analyst firmware."
An in-depth technical look at PAS and Torque sensors. Have a look at our <a href="/getting-started/pas-options.html">PAS Options page</a> for a more simplified overview if you're trying to decide on which to use with your conversion kit.
ebikes.ca
The above link does say that most PAS sensor sold by bikes.ca are quadrature based.
"Finally, most of the PAS sensors offered by Grin use a 2 wire quadrature signal for the cadence sensing, with two signals that toggle up and down out of phase with each other. Pedal direction is then determined by the order sequence of the two pulses. This method is also used in a majority of the bottom bracket sensors. It offers the most versatility for distinguishing forwards and reverse rotation, allowing installation on either side of the bike frame, and allowing backwards pedaling to have a control function (such as activating regen). However, it does require 4 wires in total, 2 signal wires along with Power and Gnd."