feat(twai): support twai on esp32h21

This commit is contained in:
Chen Jichang
2025-07-31 10:56:45 +08:00
parent b0f22503b4
commit b670fe9b50
15 changed files with 968 additions and 228 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ static inline void twai_ll_set_clock_source(int group_id, twai_clock_source_t cl
{
(void)group_id;
switch (clk_src) {
case TWAI_CLK_SRC_DEFAULT:
case TWAI_CLK_SRC_XTAL:
PCR.twai0_func_clk_conf.twai0_func_clk_sel = 0;
break;
default: