High-resolution timer (HRTIM) RM0440
946/2126 RM0440 Rev 4
14 interrupts can be generated by each timing unit:
• Delayed protection triggered
• Counter reset or roll-over event
• Output 1 and output 2 reset (transition active to inactive)
• Output 1 and output 2 set (transition inactive to active)
• Capture 1 and 2 events
• Timing unit registers update
• Repetition event
• Compare 1 to 4 event
8 global interrupts are generated for the whole HRTIM:
• System fault and fault 1 to 6 (regardless of the timing unit attribution)
• DLL calibration done
• Burst mode period completed
The interrupt requests are grouped in 8 vectors as follows:
• hrtim_it1: master timer interrupts (master update, sync Input, repetition, MCMP1..4)
and global interrupt except faults (burst mode period and DLL ready interrupts)
• hrtim_it2: TIMA interrupts
• hrtim_it3: TIMB interrupts
• hrtim_it4: TIMC interrupts
• hrtim_it5: TIMD interrupts
• hrtim_it6: TIME interrupts
• hrtim_it7: TIMF interrupts
• hrtim_it8: Dedicated vector all fault interrupts to allow high-priority interrupt handling
Table 239 is a summary of the interrupt requests, their mapping and associated control, and
status bits.
Table 239. HRTIM interrupt summary
Interrupt
vector
Interrupt event Event flag
Enable
control bit
Flag clearing
bit
hrtim_it1
Burst mode period completed BMPER BMPERIE BMPERC
DLL calibration done DLLRDY DLLRDYIE DLLRDYC
Master timer registers update MUPD MUPDIE MUPDC
Synchronization event received SYNC SYNCIE SYNCC
Master timer repetition event MREP MREPIE MREPC
Master compare 1 to 4 event
MCMP1 MCMP1IE MCP1C
MCMP2 MCMP2IE MCP2C
MCMP3 MCMP3IE MCP3C
MCMP4 MCMP4IE MCP4C