Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
PCA-Series GPIO drive strength flags | |
PCA-Series GPIO expander specific flags The driver flags are encoded in the 8 upper bits of gpio_dt_flags_t as follows:
Macros for configuring output drive strength, aligned with enum gpio_pca_series_drive_strength in gpio_pca_series.c. PCA_SERIES_GPIO_DRIVE_STRENGTH_X1 is the lowest strength, PCA_SERIES_GPIO_DRIVE_STRENGTH_X4 is the highest strength. Upon reset, the default drive strength is PCA_SERIES_GPIO_DRIVE_STRENGTH_X4.
| |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_X1 |
Interrupt routed to the WKPU controller. | |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_X2 |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_X3 |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_X4 |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_DEFAULT PCA_SERIES_GPIO_DRIVE_STRENGTH_X4 |
Default drive strength on device reset. | |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_CONFIG(x) |
#define | PCA_SERIES_GPIO_DRIVE_STRENGTH_ENABLE(x) |
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_CONFIG | ( | x | ) |
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_DEFAULT PCA_SERIES_GPIO_DRIVE_STRENGTH_X4 |
Default drive strength on device reset.
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_ENABLE | ( | x | ) |
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_X1 |
Interrupt routed to the WKPU controller.
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_X2 |
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_X3 |
#define PCA_SERIES_GPIO_DRIVE_STRENGTH_X4 |