drv_wdt.h 425 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-06-05 Chushicheng the first version
  9. */
  10. #ifndef DRV_WDT_H
  11. #define DRV_WDT_H
  12. #include <rtdevice.h>
  13. /* pico wdt driver class */
  14. struct pico_wdt
  15. {
  16. rt_watchdog_t watchdog;
  17. rt_uint16_t is_start;
  18. };
  19. int rt_hw_wdt_init(void);
  20. #endif /* DRV_WDT_H */