We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
No response
The text was updated successfully, but these errors were encountered:
#include <air001xx_hal_iwdg.h>
int i = 0; IWDG_HandleTypeDef watchdog;
void setup() { // put your setup code here, to run once: HAL_StatusTypeDef ret;
watchdog.Init.Prescaler = IWDG_PRESCALER_64; watchdog.Init.Reload = 512; watchdog.Instance = IWDG;
Serial.begin(9600); Serial.print("Board Start!\r\n");
ret = HAL_IWDG_Init(&watchdog); Serial.println((int)ret); }
void loop() { // put your main code here, to run repeatedly: delay(1000); i++; Serial.println(i); }
ino文件的同目录建立build_opt.h写入一下内容 -DHAL_IWDG_MODULE_ENABLED
Sorry, something went wrong.
上面的代码 直接编译运行,一直不看门狗复位呢
用起来了,基于上面代码,再增加时钟
No branches or pull requests
您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
描述您想要的解决方案 / Describe the solution you'd like
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
其他备注信息或截图 / Add any other context or screenshots about the feature request here
No response
确认信息
The text was updated successfully, but these errors were encountered: