Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
MAX32 GPIO drive flags | |
MAX32 GPIO drive flags The drive flags are encoded in the 8 upper bits of gpio_dt_flags_t as follows:
| |
#define | MAX32_GPIO_VSEL_POS (8U) |
GPIO Voltage Select. | |
#define | MAX32_GPIO_VSEL_MASK (0x01U << MAX32_GPIO_VSEL_POS) |
#define | MAX32_GPIO_VSEL_VDDIO (0U << MAX32_GPIO_VSEL_POS) |
#define | MAX32_GPIO_VSEL_VDDIOH (1U << MAX32_GPIO_VSEL_POS) |
#define | MAX32_GPIO_DRV_STRENGTH_POS (9U) |
GPIO Drive Strength Select. | |
#define | MAX32_GPIO_DRV_STRENGTH_MASK (0x03U << MAX32_GPIO_DRV_STRENGTH_POS) |
#define | MAX32_GPIO_DRV_STRENGTH_0 (0U << MAX32_GPIO_DRV_STRENGTH_POS) |
#define | MAX32_GPIO_DRV_STRENGTH_1 (1U << MAX32_GPIO_DRV_STRENGTH_POS) |
#define | MAX32_GPIO_DRV_STRENGTH_2 (2U << MAX32_GPIO_DRV_STRENGTH_POS) |
#define | MAX32_GPIO_DRV_STRENGTH_3 (3U << MAX32_GPIO_DRV_STRENGTH_POS) |
#define | MAX32_GPIO_WEAK_PULL_UP_POS (10U) |
GPIO bias weak pull up selection, to VDDIO (1MOhm) | |
#define | MAX32_GPIO_WEAK_PULL_UP (1U << MAX32_GPIO_WEAK_PULL_UP_POS) |
#define | MAX32_GPIO_WEAK_PULL_DOWN_POS (11U) |
GPIO bias weak pull down selection, to VDDIOH (1MOhm) | |
#define | MAX32_GPIO_WEAK_PULL_DOWN (1U << MAX32_GPIO_WEAK_PULL_DOWN_POS) |