Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gpio_ite_it8300_emul.h File Reference

Public API for the ITE IT8300 GPIO emulator. More...

#include <stdint.h>
#include <zephyr/drivers/emul.h>

Go to the source code of this file.

Functions

void it8300_emul_reset (const struct emul *target)
 Reset all emulated IT8300 registers.
int it8300_emul_set_reg (const struct emul *target, uint8_t reg, uint8_t value)
 Set an emulated IT8300 register.
int it8300_emul_get_reg (const struct emul *target, uint8_t reg, uint8_t *value)
 Read an emulated IT8300 register.
int it8300_emul_set_input (const struct emul *target, uint8_t group, uint8_t value)
 Set the sampled input value for one GPIO group.

Detailed Description

Public API for the ITE IT8300 GPIO emulator.