| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros | Functions
gpio.h File Reference

M480 series GPIO driver header file. More...

Go to the source code of this file.

## Macros
#define | GPIO_PIN_MAX
#define | GPIO_MODE_INPUT
#define | GPIO_MODE_OUTPUT
#define | GPIO_MODE_OPEN_DRAIN
#define | GPIO_MODE_QUASI
#define | GPIO_INT_RISING
#define | GPIO_INT_FALLING
#define | GPIO_INT_BOTH_EDGE
#define | GPIO_INT_HIGH
#define | GPIO_INT_LOW
#define | GPIO_INTTYPE_EDGE
#define | GPIO_INTTYPE_LEVEL
#define | GPIO_SLEWCTL_NORMAL
#define | GPIO_SLEWCTL_HIGH
#define | GPIO_SLEWCTL_FAST
#define | GPIO_PUSEL_DISABLE
#define | GPIO_PUSEL_PULL_UP
#define | GPIO_PUSEL_PULL_DOWN
#define | GPIO_DBCTL_ICLK_ON
#define | GPIO_DBCTL_ICLK_OFF
#define | GPIO_DBCTL_DBCLKSRC_LIRC
#define | GPIO_DBCTL_DBCLKSRC_HCLK
#define | GPIO_DBCTL_DBCLKSEL_1
#define | GPIO_DBCTL_DBCLKSEL_2
#define | GPIO_DBCTL_DBCLKSEL_4
#define | GPIO_DBCTL_DBCLKSEL_8
#define | GPIO_DBCTL_DBCLKSEL_16
#define | GPIO_DBCTL_DBCLKSEL_32
#define | GPIO_DBCTL_DBCLKSEL_64
#define | GPIO_DBCTL_DBCLKSEL_128
#define | GPIO_DBCTL_DBCLKSEL_256
#define | GPIO_DBCTL_DBCLKSEL_512
#define | GPIO_DBCTL_DBCLKSEL_1024
#define | GPIO_DBCTL_DBCLKSEL_2048
#define | GPIO_DBCTL_DBCLKSEL_4096
#define | GPIO_DBCTL_DBCLKSEL_8192
#define | GPIO_DBCTL_DBCLKSEL_16384
#define | GPIO_DBCTL_DBCLKSEL_32768
#define | GPIO_PIN_DATA(port, pin)
#define | PA0
#define | PA1
#define | PA2
#define | PA3
#define | PA4
#define | PA5
#define | PA6
#define | PA7
#define | PA8
#define | PA9
#define | PA10
#define | PA11
#define | PA12
#define | PA13
#define | PA14
#define | PA15
#define | PB0
#define | PB1
#define | PB2
#define | PB3
#define | PB4
#define | PB5
#define | PB6
#define | PB7
#define | PB8
#define | PB9
#define | PB10
#define | PB11
#define | PB12
#define | PB13
#define | PB14
#define | PB15
#define | PC0
#define | PC1
#define | PC2
#define | PC3
#define | PC4
#define | PC5
#define | PC6
#define | PC7
#define | PC8
#define | PC9
#define | PC10
#define | PC11
#define | PC12
#define | PC13
#define | PC14
#define | PD0
#define | PD1
#define | PD2
#define | PD3
#define | PD4
#define | PD5
#define | PD6
#define | PD7
#define | PD8
#define | PD9
#define | PD10
#define | PD11
#define | PD12
#define | PD13
#define | PD14
#define | PE0
#define | PE1
#define | PE2
#define | PE3
#define | PE4
#define | PE5
#define | PE6
#define | PE7
#define | PE8
#define | PE9
#define | PE10
#define | PE11
#define | PE12
#define | PE13
#define | PE14
#define | PE15
#define | PF0
#define | PF1
#define | PF2
#define | PF3
#define | PF4
#define | PF5
#define | PF6
#define | PF7
#define | PF8
#define | PF9
#define | PF10
#define | PF11
#define | PG0
#define | PG1
#define | PG2
#define | PG3
#define | PG4
#define | PG5
#define | PG6
#define | PG7
#define | PG8
#define | PG9
#define | PG10
#define | PG11
#define | PG12
#define | PG13
#define | PG14
#define | PG15
#define | PH0
#define | PH1
#define | PH2
#define | PH3
#define | PH4
#define | PH5
#define | PH6
#define | PH7
#define | PH8
#define | PH9
#define | PH10
#define | PH11
#define | GPIO_CLR_INT_FLAG(port, u32PinMask)
| Clear GPIO Pin Interrupt Flag. More...
#define | GPIO_DISABLE_DEBOUNCE(port, u32PinMask)
| Disable Pin De-bounce Function. More...
#define | GPIO_ENABLE_DEBOUNCE(port, u32PinMask)
| Enable Pin De-bounce Function. More...
#define | GPIO_DISABLE_DIGITAL_PATH(port, u32PinMask)
| Disable I/O Digital Input Path. More...
#define | GPIO_ENABLE_DIGITAL_PATH(port, u32PinMask)
| Enable I/O Digital Input Path. More...
#define | GPIO_DISABLE_DOUT_MASK(port, u32PinMask)
| Disable I/O DOUT mask. More...
#define | GPIO_ENABLE_DOUT_MASK(port, u32PinMask)
| Enable I/O DOUT mask. More...
#define | GPIO_GET_INT_FLAG(port, u32PinMask)
| Get GPIO Pin Interrupt Flag. More...
#define | GPIO_SET_DEBOUNCE_TIME(u32ClkSrc, u32ClkSel)
| Set De-bounce Sampling Cycle Time. More...
#define | GPIO_GET_IN_DATA(port)
| Get GPIO Port IN Data. More...
#define | GPIO_SET_OUT_DATA(port, u32Data)
| Set GPIO Port OUT Data. More...
#define | GPIO_TOGGLE(u32Pin)
| Toggle Specified GPIO pin. More...
#define | GPIO_EnableEINT
| Enable External GPIO interrupt. More...
#define | GPIO_DisableEINT
| Disable External GPIO interrupt. More...

## Functions
void | GPIO_SetMode (GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode)
| Set GPIO operation mode. More...
void | GPIO_EnableInt (GPIO_T *port, uint32_t u32Pin, uint32_t u32IntAttribs)
| Enable GPIO interrupt. More...
void | GPIO_DisableInt (GPIO_T *port, uint32_t u32Pin)
| Disable GPIO interrupt. More...
void | GPIO_SetSlewCtl (GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode)
| Set GPIO slew rate control. More...
void | GPIO_SetPullCtl (GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode)
| Set GPIO Pull-up and Pull-down control. More...

## Detailed Description

M480 series GPIO driver header file.

Version
  V3.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file gpio.h.