If your actually building the controller, then an H-bridge does all of the reversing for you. Opto-couplers across the motor depending on how it's arranged can give you feedback of "moving/not moving" or [moving CW/not moving CW or moving CCW/Not moving CCW]
So if you know your suppposedly to be moving CCW but are not (after a small delay), then you have reached a limit.
Some of the H-bridge drivers have current limiting which can be set. When i was doing some research, this driver (Canakit)
https://www.google.com/url?sa=t&rct...=j_h6H_-DFwZoHi-u7NsRGQ&bvm=bv.85464276,d.eXY appealed to me.
Something you haven't considered is if dynamic braking is required. I did this long ago with a relay for a model gantry crane. The over-run was way to great.
For "stupid protection", I used an LM317 and an SCR to reduce the output voltage to 1.2V when the motor stalled. I sort of integrated the current until the SCR latched. Turning power on/off recycled the latch. If I didn't do that the plastic gears on the gearhead would have broke. 6V motors. This was in the 80s.
Aside: I also made a drapery closer with a 24 VAC motor that worked very well. The motor was the key and it incorporated a integral clutch. Limits were easy. Just triangle pieces of aluminum glued to the drapery pulls and an adjustable bracket with a microswitch. The motor was spring loaded and pulled on a ladder chain. If there was a jam, the chain fell off.
So while PWM can be used to control speed and that's usually accomplished with the NOT enable signal, Current sensing for over runs requires you to ignore start up currents.
A lot of the technology didn't exist in the 80's when I did this.
A simple wall timer, an auto/off/manual type switch and an open/close switch worked the buttons. It was way before it;s time. I always wanted to add a single tapping type control.
I did design a filter wheel, which had 4 positions. I used a single microswitch and detent in each position. I could bypass the microswitch until the moving/not moving changed to moving and then wait for it to stop. Another system that was elegantly designed involved a rotary shutter. Limits and a slip clutch.