Sherman fc3c29df70 Merge remote-tracking branch 'remotes/origin/ra6m4-cpk-3.5.0'
# Conflicts:
#	bsp/ra6m4-cpk/.settings/standalone.prefs
#	bsp/ra6m4-cpk/SConscript
#	bsp/renesas/ra6m4-cpk/ra_gen/vector_data.h
#	bsp/renesas/ra6m4-iot/buildinfo.gpdsc
#	bsp/renesas/ra6m4-iot/project.uvoptx
#	bsp/renesas/ra6m4-iot/project.uvprojx
#	bsp/renesas/ra6m4-iot/ra/fsp/inc/api/r_external_irq_api.h
#	bsp/renesas/ra6m4-iot/ra_gen/SConscript
2022-01-26 17:42:57 +08:00

43 lines
773 B
C

/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-07-29 KyleChan first version
*/
#ifndef __DRV_GPIO_H__
#define __DRV_GPIO_H__
#include <board.h>
#include <rthw.h>
#include <rtdbg.h>
#include <rtthread.h>
#include <rtdevice.h>
#include <drv_common.h>
#include <hal_data.h>
#ifdef __cplusplus
extern "C" {
#endif
#define RA_MIN_PIN_VALUE BSP_IO_PORT_00_PIN_00
#define RA_MAX_PIN_VALUE BSP_IO_PORT_11_PIN_15
#ifdef R_ICU_H
struct ra_pin_irq_map
{
const icu_instance_ctrl_t *irq_ctrl;
const external_irq_cfg_t *irq_cfg;
};
#endif
int rt_hw_pin_init(void);
#ifdef __cplusplus
}
#endif
#endif /* __DRV_GPIO_H__ */