Home
last modified time | relevance | path

Searched refs:wakeup_level (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c38 const int wakeup_level = (button.dt_flags & GPIO_ACTIVE_LOW) ? 0 : 1; in main() local
41 wakeup_level == 0 ? GPIO_INTR_LOW_LEVEL : GPIO_INTR_HIGH_LEVEL); in main()
49 if (gpio_pin_get_dt(&button) == wakeup_level) { in main()
53 } while (gpio_pin_get_dt(&button) == wakeup_level); in main()
/Zephyr-latest/soc/nxp/rw/
Dpower.c38 uint8_t level = ~(DT_ENUM_IDX(DT_NODELABEL(pin0), wakeup_level)) & 0x1; in pin0_isr()
50 uint8_t level = ~(DT_ENUM_IDX(DT_NODELABEL(pin1), wakeup_level)) & 0x1; in pin1_isr()
67 POWER_ConfigWakeupPin(kPOWER_WakeupPin0, DT_ENUM_IDX(DT_NODELABEL(pin0), wakeup_level)); in pm_state_set()
76 POWER_ConfigWakeupPin(kPOWER_WakeupPin1, DT_ENUM_IDX(DT_NODELABEL(pin1), wakeup_level)); in pm_state_set()