IRTIM is the simplest peripheral in STM32 aimed at generating modulation signal for infrared remote controls, which essentially utilize bursts of pulses of various lengths. According to RM, IRTIM the output by simply NAND-ing together TIM16_CH1 and TIM17_CH1 (in some newer models outputs of some UARTs can be combined in, too).
However, this is in fact not how IRTIM works.
Experiments revealed, that the real function of IRTIM is more like this: there is an edge detector at the input from TIM17_CH1. If there's a rising edge at TIM17_CH1 AND the input level of TIM16_CH1 is high at the same time, output goes down; otherwise it stays high. If output is low and there's a falling edge at TIM17_CH1, regardless of TIM16_CH1 state the output goes high.
In other words, a pulse is "copied" (and inverted) from TIM17_CH1 to output, if at TIM17_CH1 rising edge TIM16_CH1 is high.
This scheme anticipates, that TIM17_CH1 is the carrier (i.e. higher-frequency pulse source); and subsequently ensures, that at the output there are always full-length carrier pulses from TIM17_CH1.
If the unwritten "rules" (i.e. that TIM17_CH1 frequency is higher and is an integer multiple of the "envelope" TIM16_CH1 pulse length) are obeyed, this scheme produces the same waveform as the NAND would produce. However, it differs in details, and sometimes details matter. For example, user AJ_1 noticed, that IRTIM output is - unexpectedly for the NAND scheme - high all the time, if TIM17_CH1 output is permanently high (whereas NAND would produce a waveform inverted to TIM16_CH1 output).
ST's explanation in the same thread is, that the waveform from NAND is delayed by half the TIM17 period which is in effect the same description, as delay requires TIM17 to pulse and works out of the TIM17 edges.