The ARMv7-M reference manual notes there eight ITM trace enable registers called ITM_TER0 to ITM_TER7. However, core_cm7.h only has one ITM_TER register. Can you clarify? Is it an error in core_cm7.h?
The one is ARMv7-M ( a general architecture), the other is Cortex-M7 (a concrete implementation). If you look into the TRM for Cortex-M7, there is only _one_ TER.