Fan YANG 0bd93292b3 [bsp][hpmicro] Update libraries, add new BSPs
- Updated hpm_sdk in libraries
- Updated rt-thread driver adapter
- Updated bsp for hpm6750evkmini
- Updated bsp for hpm6750evk
- Added bsp for hpm6750evk2
- Added bsp for hpm6300evk
- Added bsp for hpm6200evk

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-08-16 13:46:43 +08:00

21 lines
407 B
C

/*
* Copyright (c) 2021 HPMicro
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Change Logs:
* Date Author Notes
* 2022-01-11 HPMICRO First version
* 2022-03-22 zhangjun add GET_PIN
*/
#ifndef DRV_GPIO_H
#define DRV_GPIO_H
#define __HPM_PORT(port) IOC_PAD_P##port##00
#define GET_PIN(PORTx,PIN) (__HPM_PORT(PORTx) + PIN)
int rt_hw_pin_init(void);
#endif /* DRV_GPIO_H */