summaryrefslogtreecommitdiff
path: root/bsp/bouffalo_lab/libraries/rt_drivers/drv_gpio.h
blob: fda320a2217ddd82d882f70ee3fa55f4c301772e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023/01/5      chushicheng  first version
 *
 */

#ifndef __DRV_GPIO_H__
#define __DRV_GPIO_H__

#include <rtthread.h>
#include "rtdevice.h"
#include <rthw.h>
#include "bflb_gpio.h"

#define GPIO_MAX            (GPIO_PIN_45 + 1)
int rt_hw_pin_init(void);

#endif /* __DRV_GPIO_H__ */