Go to the source code of this file.
◆ WUC_TYPE_EDGE_BOTH
WUC both edge trigger mode.
◆ WUC_TYPE_EDGE_FALLING
| #define WUC_TYPE_EDGE_FALLING BIT(1) |
WUC falling edge trigger mode.
◆ WUC_TYPE_EDGE_RISING
| #define WUC_TYPE_EDGE_RISING BIT(0) |
WUC rising edge trigger mode.
◆ WUC_TYPE_LEVEL_HIGH
| #define WUC_TYPE_LEVEL_HIGH BIT(3) |
WUC level high trigger mode.
◆ WUC_TYPE_LEVEL_LOW
| #define WUC_TYPE_LEVEL_LOW BIT(4) |
WUC level low trigger mode.
◆ WUC_TYPE_LEVEL_TRIG
| #define WUC_TYPE_LEVEL_TRIG BIT(2) |
◆ it51xxx_wuc_clear_status()
| void it51xxx_wuc_clear_status |
( |
const struct device * | dev, |
|
|
uint8_t | mask ) |
Write-1-clear a trigger condition that occurs on the corresponding input.
- Parameters
-
| dev | Pointer to the device structure for the driver instance |
| mask | Pin mask of WUC group |
◆ it51xxx_wuc_disable()
| 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 pending)
- Parameters
-
| dev | Pointer to the device structure for the driver instance |
| mask | Pin mask of WUC group |
◆ it51xxx_wuc_enable()
| 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 control of EC.
- Parameters
-
| dev | Pointer to the device structure for the driver instance |
| mask | Pin mask of WUC group |
◆ it51xxx_wuc_set_polarity()
Select the trigger edge mode on the corresponding input.
- Parameters
-
| dev | Pointer to the device structure for the driver instance |
| mask | Pin mask of WUC group |
| flags | Select the trigger edge mode |