i2c-bus i2c-link-impl
Simics Reference Manual  /  5 Classes  / 

i2c-link-endpoint

Description

Connects a link with a device

Interfaces Implemented

conf_object, log_object, link_endpoint, link_endpoint_v2, i2c_slave_v2, i2c_master_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

Attributes

id
Required attribute; read/write access; type: i
Endpoint ID. The ID of each endpoint must be unique among the link's endpoints, and it may not be 0 or 0xffffffffffffffff
Required attribute; read/write access; type: o
The link object to which this endpoint belongs.
delivery_queue
Optional attribute; read/write access; type: [[i[o|n[ii]][iii]]*]
The endpoint's queue.
sorting_key
Optional attribute; read/write access; type: [bi]
Internal.
device
Required attribute; read/write access; type: n|o|[os]
The device connected to this endpoint.
indirect_delivery
Optional attribute; read/write access; type: b
If set, deliver link messages to their targets immediately to let them worry about the exact time of delivery. Needed for endpoints attached to follower agents.
current_master
Optional attribute; read/write access; type: i
The endpoint id of current active master, initialized as 0
current_slave
Optional attribute; read/write access; type: i
The endpoint id of current active slave, initialized as 0
state
Optional attribute; read/write access; type: i
The current state of i2c link, initialized as idle(0)
pending_start_responses
Optional attribute; read/write access; type: [i*]
IDs of endpoints from which we are awaiting a start response
pending_slaves
Optional attribute; read/write access; type: i
The number of slaves we are awaiting a start response
slave_list
Optional attribute; read/write access; type: [i*]
IDs of endpoints which acknowledge general call address or 10-bit address
slave_list_counter
Optional attribute; read/write access; type: i
The number of slaves we are awaiting response for general call or 10-bit address
address_pattern
Optional attribute; read/write access; type: i
Save address status for start request

Provided By

i2c-link-v2
i2c-bus i2c-link-impl