Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wuc_ite_it8xxx2.h File Reference
#include <zephyr/device.h>
#include <stdint.h>

Go to the source code of this file.

Functions

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 control of EC.
 
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 pending)
 
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_set_polarity (const struct device *dev, uint8_t mask, uint32_t flags)
 Select the trigger edge mode on the corresponding input.
 

Function Documentation

◆ it8xxx2_wuc_clear_status()

void it8xxx2_wuc_clear_status ( const struct device dev,
uint8_t  mask 
)

Write-1-clear a trigger condition that occurs on the corresponding input.

Parameters
devPointer to the device structure for the driver instance
maskPin mask of WUC group

◆ it8xxx2_wuc_disable()

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 pending)

Parameters
devPointer to the device structure for the driver instance
maskPin mask of WUC group

◆ it8xxx2_wuc_enable()

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 control of EC.

Parameters
devPointer to the device structure for the driver instance
maskPin mask of WUC group

◆ it8xxx2_wuc_set_polarity()

void it8xxx2_wuc_set_polarity ( const struct device dev,
uint8_t  mask,
uint32_t  flags 
)

Select the trigger edge mode on the corresponding input.

Parameters
devPointer to the device structure for the driver instance
maskPin mask of WUC group
flagsSelect the trigger edge mode