RM0440 Rev 4 883/2126
RM0440 High-resolution timer (HRTIM)
1083
Note: For events where both reset and roll-over are considered (IRQ/DMA and TxRSTU), the
ROM[1:0] only influences the roll-over generation. The reset event is always taken into
account whatever the ROM[1:0] value.
The roll-over event generation is defined as per following xxROM[1:0] bitfield setting:
• xxROM[1:0] = 00: event generated when both conditions are met (either 0 or
HRTIM_PERxR value)
• xxROM[1:0] = 01: event generated when the counter is equal to 0 (“valley” mode) or
when the counter is reset
• xxROM[1:0] = 10: event generated when the counter reaches the period value set in
the HRTIM_PERxR (“crest” mode)
Figure 213 here-below shows a push-pull up-down mode with set on period event and
OUTROM[1:0] =10.
Figure 213. Up-down mode with output set on period event, for OUTROM[1:0]=10
MSv50807V1
HRTIM_CHx2
Set on CMP1
HRTIM_CHx1
Reset on CMP2
Set on Period