summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/Drivers/drv_wdt.h
blob: d30c75a70832c58110b5cf52c80c27fc22e751a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-06-05     Chushicheng  the first version
 */

#ifndef DRV_WDT_H
#define DRV_WDT_H

#include <rtdevice.h>

/* pico wdt driver class */
struct pico_wdt
{
    rt_watchdog_t watchdog;
    rt_uint16_t is_start;
};

int rt_hw_wdt_init(void);

#endif  /* DRV_WDT_H */