Lines Matching +full:wakeup +full:- +full:controller
4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h>
22 /* WUC wakeup edge mode register */
24 /* WUC wakeup edge sense register */
26 /* WUC wakeup enable register */
28 /* WUC wakeup both edge mode register */
34 const struct it8xxx2_wuc_cfg *config = dev->config; in it8xxx2_wuc_enable()
35 volatile uint8_t *reg_wuenr = config->reg_wuenr; in it8xxx2_wuc_enable()
45 /* Enable wakeup interrupt of the pin */ in it8xxx2_wuc_enable()
51 const struct it8xxx2_wuc_cfg *config = dev->config; in it8xxx2_wuc_disable()
52 volatile uint8_t *reg_wuenr = config->reg_wuenr; in it8xxx2_wuc_disable()
62 /* Disable wakeup interrupt of the pin */ in it8xxx2_wuc_disable()
68 const struct it8xxx2_wuc_cfg *config = dev->config; in it8xxx2_wuc_clear_status()
69 volatile uint8_t *reg_wuesr = config->reg_wuesr; in it8xxx2_wuc_clear_status()
75 /* W/C wakeup interrupt status of the pin */ in it8xxx2_wuc_clear_status()
81 const struct it8xxx2_wuc_cfg *config = dev->config; in it8xxx2_wuc_set_polarity()
82 volatile uint8_t *reg_wuemr = config->reg_wuemr; in it8xxx2_wuc_set_polarity()
83 volatile uint8_t *reg_wubemr = config->reg_wubemr; in it8xxx2_wuc_set_polarity()
89 /* Set wakeup interrupt edge trigger mode of the pin */ in it8xxx2_wuc_set_polarity()