duo : wdt : cvi_wdt_top_setting 疑问
Closed this issue · 1 comments
unicornx commented
rt_inline void cvi_wdt_top_setting()
{
uint32_t val;
mmio_write_32(CV_TOP + CV_TOP_WDT_OFFSET, CV_TOP_WDT_VAL); // <------- 这里的设置和手册对不上,感觉是无用的代码
val = mmio_read_32(CV_RST_REG);
mmio_write_32(CV_RST_REG, val & ~CV_RST_WDT);
rt_hw_us_delay(10);
mmio_write_32(CV_RST_REG, val | CV_RST_WDT);
}
unicornx commented
moved to RT-Thread#8931