SIM_INTERFACE(i3c_daa_snoop) { void (*assigned_address)(conf_object_t *obj, uint64 id, uint8 bcr, uint8 dcr, uint8 address); }; #define I3C_DAA_SNOOP_INTERFACE "i3c_daa_snoop"
During DAA process, the assigned address information will be monitored
to devices who implement the interface i3c_daa_snoop
.
Whenever an address is assigned to a slave, the method
assigned_address is called in all devices that implement the
interface. The parameter id, bcr and
dcr in method assigned_address is slave specific
daa data which indicates who gets the assigned address. Parameter
address stores the assigned address. The 7-bit address
is represented as 8-bit number with the highest bit set to 0.
Interface i3c_daa_snoop
is mainly implemented by slave who
may become secondary master later and needs to know the information about
slave addresses.