Searched refs:MY_GPIO (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/ |
D | main.c | 13 #define MY_GPIO DT_NODELABEL(gpioa) macro 15 const struct device *const gpio_dev = DEVICE_DT_GET(MY_GPIO); 23 uint8_t gpcr[DT_REG_SIZE_BY_IDX(MY_GPIO, 4)]; 31 #define TEST_IRQ DT_IRQ_BY_IDX(MY_GPIO, TEST_PIN, irq) 32 #define TEST_MASK DT_PROP_BY_IDX(MY_GPIO, wuc_mask, TEST_PIN) 44 case DT_REG_ADDR_BY_IDX(MY_GPIO, 0): /* GPDR */ in fake_ecreg() 46 case DT_REG_ADDR_BY_IDX(MY_GPIO, 1): /* GPDMR */ in fake_ecreg() 48 case DT_REG_ADDR_BY_IDX(MY_GPIO, 2): /* GPOTR */ in fake_ecreg() 50 case DT_REG_ADDR_BY_IDX(MY_GPIO, 3): /* P18SCR */ in fake_ecreg() 52 case DT_PROP_BY_IDX(MY_GPIO, wuc_base, TEST_PIN): in fake_ecreg() [all …]
|