/* ============================================================================= * watchdog.h - 독립 워치독(IWDG) (systemd 자동재시작 대응) * * 구현(watchdog.c): IWDG 를 timeout_ms 로 설정. 메인 헬스 루프가 주기적으로 * watchdog_refresh() 를 호출하지 못하면 MCU 가 리셋된다. * ===========================================================================*/ #ifndef WATCHDOG_H #define WATCHDOG_H #include void watchdog_init(uint32_t timeout_ms); void watchdog_refresh(void); #endif /* WATCHDOG_H */