drv_wdt.h 408 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-10-26 bigmagic first version
  9. */
  10. #ifndef __DRV_WDT_H__
  11. #define __DRV_WDT_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include "board.h"
  15. struct raspi_wdt_driver
  16. {
  17. rt_uint32_t timeout;
  18. };
  19. int rt_hw_wdt_init(void);
  20. #endif