AT24C04
AT24Cxxx
Simics Reference Manual
/
5 Classes
/
AT24Cxx
Description
The
AT24Cxx
class implements Atmel's AT24C01A/02/04/08/16/32/64/128/256/512/M01 serial EEPROM.
Interfaces Implemented
conf_object, log_object, i2c_device, i2c_slave_v2
Notifiers
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.
Commands for this class
info
– print information about the object
status
– print status of the object
Attributes
current_address
Optional
attribute;
read/write
access; type:
i
The current data address.
current_state
Optional
attribute;
read/write
access; type:
i
The current state of the device.
i2c_address
Required
attribute;
read/write
access; type:
i
I2C address of the device.
i2c_bus
Optional
attribute;
read/write
access; type:
o|[os]|n
The I2C bus to which this device is connected.
Required interfaces:
i2c_bus
.
memory
Required
attribute;
read/write
access; type:
d
The on-chip memory bank.
page_size
Optional
attribute;
read/write
access; type:
i
The size of the page.
Provided By
AT24Cxx
AT24C04
AT24Cxxx