i2c-echo.c (cad8db986560668afbaed972e162e3e7a2d3a34c) | i2c-echo.c (f912f1bdb6b4237515e01a4ba646b2a7daefebed) |
---|---|
1/* 2 * Example I2C device using asynchronous I2C send. 3 * 4 * Copyright (C) 2023 Samsung Electronics Co., Ltd. All Rights Reserved. 5 * 6 * This work is licensed under the terms of the GNU GPL, version 2. See 7 * the COPYING file in the top-level directory. 8 * 9 */ 10 |
|
1#include "qemu/osdep.h" 2#include "qemu/timer.h" 3#include "qemu/main-loop.h" 4#include "block/aio.h" 5#include "hw/i2c/i2c.h" 6 7#define TYPE_I2C_ECHO "i2c-echo" 8OBJECT_DECLARE_SIMPLE_TYPE(I2CEchoState, I2C_ECHO) --- 148 unchanged lines hidden --- | 11#include "qemu/osdep.h" 12#include "qemu/timer.h" 13#include "qemu/main-loop.h" 14#include "block/aio.h" 15#include "hw/i2c/i2c.h" 16 17#define TYPE_I2C_ECHO "i2c-echo" 18OBJECT_DECLARE_SIMPLE_TYPE(I2CEchoState, I2C_ECHO) --- 148 unchanged lines hidden --- |