Simple I2C slave device implementing both i2c_bus and i2c_slave_v2 interfaces. It can be used for testing.
conf_object, log_object, i2c_device, i2c_slave_v2
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
info
– print information about the object
-
status
– print status of the object
-
address
-
Required attribute;
read/write access; type:
i
Address on the i2c bus.
-
read_value
-
Optional attribute;
read/write access; type:
i
Value to return on reads.
-
written_value
-
Optional attribute;
read/write access; type:
i
Last byte written to this device.
simple-i2c-device