Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
realtek-bee-gpio.h File Reference

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.

Detailed Description

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.

Macro Definition Documentation

◆ BEE_GPIO_INPUT_DEBOUNCE_MS

#define BEE_GPIO_INPUT_DEBOUNCE_MS ( ms)
Value:
#define BEE_GPIO_INPUT_DEBOUNCE_MS_POS
Bit position for debounce time (in milliseconds).
Definition realtek-bee-gpio.h:24

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.

Parameters
msDebounce time in milliseconds (0-255).

◆ BEE_GPIO_INPUT_DEBOUNCE_MS_MASK

#define BEE_GPIO_INPUT_DEBOUNCE_MS_MASK   (0xff << BEE_GPIO_INPUT_DEBOUNCE_MS_POS)

Bit mask for debounce time configuration.

◆ BEE_GPIO_INPUT_DEBOUNCE_MS_POS

#define BEE_GPIO_INPUT_DEBOUNCE_MS_POS   8

Bit position for debounce time (in milliseconds).