2022-01-07 13:49:06 +08:00
|
|
|
/*
|
2023-03-29 18:31:05 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2022-01-07 13:49:06 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-10-26 bigmagic first version
|
|
|
|
*/
|
|
|
|
#ifndef __DRV_WDT_H__
|
|
|
|
#define __DRV_WDT_H__
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include <rtdevice.h>
|
|
|
|
|
|
|
|
#include "board.h"
|
|
|
|
|
|
|
|
struct raspi_wdt_driver
|
|
|
|
{
|
|
|
|
rt_uint32_t timeout;
|
|
|
|
};
|
|
|
|
|
|
|
|
int rt_hw_wdt_init(void);
|
|
|
|
|
|
|
|
#endif
|