void system_reset(void)
{
ool_write32(PMU_REG_WTD_LEN_0, 1 ); //1us
ool_write(PMU_REG_WTD_CTRL, ool_read(PMU_REG_WTD_CTRL) | PMU_WTD_EN );
}
C
cepoly 发布的帖子
-
RE: 请教,芯片唤醒后,我想重新跑程序(其实是复位重启)
void system_reset(void)
{
ool_write32(PMU_REG_WTD_LEN_0, 1 ); //1us
ool_write(PMU_REG_WTD_CTRL, ool_read(PMU_REG_WTD_CTRL) | PMU_WTD_EN );
}