2020-01-10 10:38:21 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2019, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2019-07-29 zdzn first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_WDT_H__
|
|
|
|
#define __DRV_WDT_H__
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include <rtdevice.h>
|
|
|
|
|
2020-03-01 11:50:22 +08:00
|
|
|
#include "board.h"
|
2020-01-10 10:38:21 +08:00
|
|
|
|
|
|
|
struct raspi_wdt_driver
|
|
|
|
{
|
|
|
|
rt_uint32_t timeout;
|
|
|
|
};
|
|
|
|
|
|
|
|
int rt_hw_wdt_init(void);
|
|
|
|
|
|
|
|
#endif
|