timergroup: move interrupt index into peripheral description file

1. Added timer_group_periph.c file, describing module global signals
   (e.g. interrupt index)
2. Added more caps in soc_caps.h
This commit is contained in:
morris
2020-10-14 11:46:30 +08:00
parent d7b125a87b
commit e4c8ec6174
16 changed files with 142 additions and 59 deletions
+1 -1
View File
@@ -803,7 +803,7 @@ TEST_CASE("Timer interrupt register", "[hw_timer][leaks=200]")
}
}
#ifdef TIMER_GROUP_SUPPORTS_XTAL_CLOCK
#ifdef SOC_TIMER_GROUP_SUPPORT_XTAL
/**
* Timer clock source:
* 1. configure clock source as APB clock, and enable timer interrupt