/*---------------------------------------------------------------------------------------------------------*/
/*                                                                                                         */
/* SPDX-License-Identifier: Apache-2.0                                                                     */
/* Copyright(c) 2025 Nuvoton Technology Corp. All rights reserved.                                         */
/*                                                                                                         */
/*---------------------------------------------------------------------------------------------------------*/
#define GPIO_MODE_QUASI      0
#define	GPIO_MODE_PUSHPULL   1
#define GPIO_MODE_INPUT      2
#define GPIO_MODE_OPENDRAIN  3

#define  PORT0     0
#define  PORT1     1
#define  PORT2     2
#define  PORT3     3
#define  PORT4     4
#define  PORT5     5


#define  Port0  0
#define  Port1  1
#define  Port2  2
#define  Port3  3
#define  Port4  4
#define  Port5  5

#define  PULLUP     0
#define  PULLDOWN   1
#define  PullUp     0
#define  PullDown   1

#define  Port30     1
#define  Port21     2
#define  Port20     3

void GPIO_SetMode(uint8_t u8Port, uint8_t u8PinMask, uint8_t u8Mode);
void GPIO_Pull_Enable(uint8_t u8Port, uint8_t u8PinMask, uint8_t u8PullMode);
void GPIO_Pull_Disable(uint8_t u8Port, uint8_t u8PinMask, uint8_t u8PullMode);
void GPIO_SchmittTrigger(uint8_t u8Port, uint8_t u8PinMask, uint8_t u8SStauts);
void GPIO_SlewRate(uint8_t u8Port, uint8_t u8PinMask, uint8_t u8SStauts);
