Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wuc_ite_it8xxx2.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 ITE Corporation. All Rights Reserved
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
8#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
9
10#include <zephyr/device.h>
11#include <stdint.h>
12
20void it8xxx2_wuc_enable(const struct device *dev, uint8_t mask);
21
29void it8xxx2_wuc_disable(const struct device *dev, uint8_t mask);
30
38void it8xxx2_wuc_clear_status(const struct device *dev, uint8_t mask);
39
47void it8xxx2_wuc_set_polarity(const struct device *dev, uint8_t mask,
49
50#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_ */
flags
Definition parser.h:96
__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:403
void it8xxx2_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 it8xxx2_wuc_set_polarity(const struct device *dev, uint8_t mask, uint32_t flags)
Select the trigger edge mode on the corresponding input.
void it8xxx2_wuc_clear_status(const struct device *dev, uint8_t mask)
Write-1-clear a trigger condition that occurs on the corresponding input.
void it8xxx2_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...