[stm32] fix get_timer_frequency

forgot to remove #if ADVANCED_TIMERS which I added when using it in locm3 timer_common_all.c
[adc] remove adc_new_data_trigger and update test_adc