The STM32H725/735 HAL function IS_TIM_MASTER_INSTANCE() is missing a check for TIM12, which is a valid master (has MMS bits in CR2).
For example, here is the function definition for the STM32H725:/****** TIM Instances : master mode available (TIMx_CR2.MMS available )********/#define IS_TIM_MASTER_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \ ((INSTANCE) == TIM...