2023-01-07 15:03:21 +08:00
|
|
|
/*
|
2023-01-08 15:26:31 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2023-01-07 15:03:21 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2023-03-19 14:41:18 +08:00
|
|
|
* 2023/01/5 chushicheng first version
|
|
|
|
*
|
2023-01-07 15:03:21 +08:00
|
|
|
*/
|
|
|
|
|
2023-03-19 14:41:18 +08:00
|
|
|
#ifndef __DRV_GPIO_H__
|
|
|
|
#define __DRV_GPIO_H__
|
2023-01-07 15:03:21 +08:00
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include "rtdevice.h"
|
|
|
|
#include <rthw.h>
|
2023-03-19 14:41:18 +08:00
|
|
|
#include "bflb_gpio.h"
|
2023-01-07 15:03:21 +08:00
|
|
|
|
2023-03-19 14:41:18 +08:00
|
|
|
#define GPIO_MAX (GPIO_PIN_45 + 1)
|
|
|
|
int rt_hw_pin_init(void);
|
2023-01-07 15:03:21 +08:00
|
|
|
|
2023-03-19 14:41:18 +08:00
|
|
|
#endif /* __DRV_GPIO_H__ */
|