Skip to content

Directly Get the PID, BCR and DCR

User not only can get the PID, BCR and DCR by commands, but also directly from the controller. For instance,

entdaa = i3c_controller.state.entdaa_id_list[target_addr]
pid = (entdaa >> 16) & 0xFFFFFFFFFFFF
bcr = (entdaa >> 8) & 0xFF
dcr = entdaa & 0xFF