Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
snps-designware-gpio.h File Reference

Go to the source code of this file.

Macros

#define DW_GPIO_DEBOUNCE   (1U << 8)
 Enable GPIO pin debounce.
 
#define DW_GPIO_HW_MODE   (1U << 9)
 Enable hardware control/data source for a pin.
 

Macro Definition Documentation

◆ DW_GPIO_DEBOUNCE

#define DW_GPIO_DEBOUNCE   (1U << 8)

Enable GPIO pin debounce.

The debounce flag is a Zephyr specific extension of the standard GPIO flags specified by the Linux GPIO binding. Only applicable for SNPS DesignWare GPIO controllers.

◆ DW_GPIO_HW_MODE

#define DW_GPIO_HW_MODE   (1U << 9)

Enable hardware control/data source for a pin.

Configures a pin to be controlled by a hardware data source (if supported).