DS3231 ISA
Simics Reference Manual  /  5 Classes  / 

DS323x

Description

DS1213 I2C Real-Time Clock.

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.

Port Objects

bank.regs
DS323x.regs

Commands for this class

Attributes

addr_ptr
Optional attribute; read/write access; type: i
Address pointer. Points the internal addressaffected on next data access.
address
Optional attribute; read/write access; type: i
Address on the i2c bus.
address_mode
Optional attribute; read/write access; type: b
Address mode. Internal state that decides if the RTC should treat data as address or value
address_range
Optional attribute; read/write access; type: i
Specifies the accessible address range. For DS3231, 0x13 is the recommended value. For DS3232, 0x100 is recommended. The default is 0x12 (making the model behave as a DS3231).
base_rtc_time
Optional attribute; read/write access; type: i
The real-time clock time when the oscillator was enabled, in seconds since 1970-01-01 00:00:00.
base_time
Optional attribute; read/write access; type: f
The simulated time when the oscillator was enabled, in seconds since the start of the simulation.
current_rtc_time
Pseudo attribute; read-only access; type: i
The real-time clock time, in seconds since 1970-01-01 00:00:00.
enabled
Optional attribute; read/write access; type: b
tells if the real-time clock is enabled or not

Provided By

DS323x

DS323x.regs

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, int_register, io_memory, register_view

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 interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

Attributes

control
Optional attribute; read/write access; type: i
Control Register.
month
Optional attribute; read/write access; type: i
Month register. In binary format in the range 1-12, regardless of the current register mode.
DS3231 ISA