7#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT51XXX_WUC_H_
8#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT51XXX_WUC_H_
17#define WUC_TYPE_EDGE_RISING BIT(0)
19#define WUC_TYPE_EDGE_FALLING BIT(1)
21#define WUC_TYPE_EDGE_BOTH (WUC_TYPE_EDGE_RISING | WUC_TYPE_EDGE_FALLING)
23#define WUC_TYPE_LEVEL_TRIG BIT(2)
25#define WUC_TYPE_LEVEL_HIGH BIT(3)
27#define WUC_TYPE_LEVEL_LOW BIT(4)
flags
Definition parser.h:97
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:504
void it51xxx_wuc_set_polarity(const struct device *dev, uint8_t mask, uint32_t flags)
Select the trigger edge mode on the corresponding input.
void it51xxx_wuc_enable(const struct device *dev, uint8_t mask)
A trigger condition on the corresponding input generates a wake-up signal to the power management con...
void it51xxx_wuc_clear_status(const struct device *dev, uint8_t mask)
Write-1-clear a trigger condition that occurs on the corresponding input.
void it51xxx_wuc_disable(const struct device *dev, uint8_t mask)
A trigger condition on the corresponding input doesn't assert the wake-up signal (canceled not pendin...