13#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_ITE_IT8300_EMUL_H_
14#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_ITE_IT8300_EMUL_H_
Public APIs for the device emulation framework.
int it8300_emul_set_input(const struct emul *target, uint8_t group, uint8_t value)
Set the sampled input value for one GPIO group.
void it8300_emul_reset(const struct emul *target)
Reset all emulated IT8300 registers.
int it8300_emul_get_reg(const struct emul *target, uint8_t reg, uint8_t *value)
Read an emulated IT8300 register.
int it8300_emul_set_reg(const struct emul *target, uint8_t reg, uint8_t value)
Set an emulated IT8300 register.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
An emulator instance - represents the target emulated device/peripheral that is interacted with throu...
Definition emul.h:88
Group structure.
Definition grp.h:18