One-pulse mode
A timer mode in which the counter stops itself after a single period, so the hardware produces exactly one pulse.
A hardware timer normally counts round and round forever. Set the OPM bit on an STM32 timer and it disables itself at the next update event; combine that with a trigger input and a PWM mode and you get a pulse with programmable delay and width after an external event: an edge arrives, the timer waits 40 µs, drives the output high for 10 µs and goes quiet.
It is the digital counterpart of the monostable multivibrator the 555 was built for, and it earns its keep wherever a pulse has to be cycle-exact regardless of what the CPU is busy with — triggering an ultrasonic sensor, firing a flash, gating a thyristor. Doing the same thing in an interrupt handler works right up until a higher-priority handler happens to be running.