Queue Threshold Control Register (DWC_mipi_i3c_HCI_block.QUEUE_THLD_CTRL) – Offset d0
Queue Threshold Control Register is used to control thresholds that are triggering interrupts on specific thresholds of
Command, Response, IBI queues. This register assumes single Command, Response and IBI queues in the Host Controller.
| Bit Range | Default | Access | Field Name and Description |
| 31:24 | 0h | RW | (IBI_STATUS_THLD) IBI Status Threshold Value
This field controls the generation of IBI_STATUS_THLD_STAT interrupt. If this field is programmed to 0, then the IBI_STATUS_THLD_STAT interrupt gets generated when the outstanding IBI status count in the IBI queue reaches 1 or above. If this field is programmed to N, then the IBI_STATUS_THLD_STAT interrupt gets generated when the outstanding IBI status count in the IBI queue reaches N+1 or above. Note : The valid value is only 0 if IBI with payload is selected in the configuration.
Each IBI status entry can represent the complete (IBI payload byte size <= 4*IBI_DATA_THLD) IBI payload or a segment (IBI payload byte size > 4*IBI_DATA_THLD) of the IBI payload. |
| 23:16 | 20h | RW | (IBI_DATA_THLD) IBI Data Threshold Value
This field represents the IBI data segment size in Dwords (4 bytes). The minimum supported segment size is 1 (4 bytes) and the maximum supported size is IC_IBI_DATA_BUF_DEPTH-1. The IBI_DATA_THLD field enables the slicing of the incoming IBI data and generate individual status and thereby promotes the cut-through operation in reading out the IBI data. |
| 15:8 | 0h | RW | (RESP_BUF_THLD) Response Buffer Threshold Value.
Controls the number of entries (or above) in the Response Queue that trigger the RESP_READY_STAT_INTR interrupt.
The valid range is 0 to IC_RESP_BUF_DEPTH-1. The software programs only valid values.
A value of 0 sets the threshold for 1 entry, and a value of N sets the threshold for N+1 entries. |
| 7:0 | 2h | RW | (CMD_EMPTY_BUF_THLD) Command Buffer Empty Threshold Value Controls the number of empty locations (or above) in the Command Queue that trigger CMD_QUEUE_READY_STAT interrupt.
The valid range is 0 to IC_CMD_BUF_DEPTH-1. The software programs only valid values. Value of N ranging from 1 to IC_CMD_BUF_DEPTH-1 sets the threshold to N empty locations and a value of 0 sets the threshold to indicate that the queue is completely empty. |