|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Realtek Bee GPIO Controller specific definitions. More...
Go to the source code of this file.
Macros | |
| #define | BEE_GPIO_INPUT_DEBOUNCE_MS(ms) |
| Enable GPIO pin debounce. | |
GPIO Debounce Configuration | |
| #define | BEE_GPIO_INPUT_DEBOUNCE_MS_POS 8 |
| Bit position for debounce time (in milliseconds). | |
| #define | BEE_GPIO_INPUT_DEBOUNCE_MS_MASK (0xff << BEE_GPIO_INPUT_DEBOUNCE_MS_POS) |
| Bit mask for debounce time configuration. | |
Realtek Bee GPIO Controller specific definitions.
This file contains the GPIO configuration flags specific to the Realtek Bee series SoCs, used in Device Tree bindings.
| #define BEE_GPIO_INPUT_DEBOUNCE_MS | ( | ms | ) |
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 Realtek bee SoCs.
| ms | Debounce time in milliseconds (0-255). |
| #define BEE_GPIO_INPUT_DEBOUNCE_MS_MASK (0xff << BEE_GPIO_INPUT_DEBOUNCE_MS_POS) |
Bit mask for debounce time configuration.
| #define BEE_GPIO_INPUT_DEBOUNCE_MS_POS 8 |
Bit position for debounce time (in milliseconds).