SPRUGR9H November 2010 – April 2015 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , 66AK2L06 , AM5K2E02 , AM5K2E04 , SM320C6678-HIREL , TMS320C6652 , TMS320C6654 , TMS320C6655 , TMS320C6657 , TMS320C6670 , TMS320C6671 , TMS320C6672 , TMS320C6674 , TMS320C6678
The Queue N Status and Configuration Register D (Figure 4-18) is used to configure the queue threshold feature. When enabled, the Queue Status RAM is updated with each push and pop. This register is available for all queues. Also, because the accumulation firmware reads the Queue Status RAM, these registers must be programmed for all queues used by the accumulator, with the value 0x81, which will cause the status bit to set on non-zero count, and clear on zero.
NOTE
This register is write protected by MPU2 (Memory Protection Unit). See the Memory Protection Unit (MPU) for KeyStone Devices User Guide (SPRUGW5) for details on how to grant write access.
31 | 8 | 7 | 6 | 4 | 3 | 0 |
Reserved | THRESHOLD_HILO | Reserved | THRESHOLD |
R-0 | R/W-1 | R-0 | R/W-1 |
Legend: R = Read only; R/W = Read/Write; - n = value after reset |
Bit | Field | Description |
---|---|---|
31-8 | Reserved | Reads return 0 and writes have no effect. |
7 | THRESHOLD_HILO | This field indicates whether the number of items in a queue should be greater than, equal to, or less than the threshold before the QUEUE_ECNT_STATUS[queue] bit is asserted. If this field is set, then the status bit is set (1) when the size of the queue is at least as big as the set threshold value. If this bit is cleared, then the status bit is set (1) when the size of the queue is less than the set threshold value. |
6-4 | Reserved | Reads return 0 and writes have no effect. |
3-0 | THRESHOLD | This field indicates the threshold at which the queue threshold bit is set. This field is internally represented as a ten bit number. The threshold is 0 when this field is 0. The threshold is 0x3FF when it is 10 or higher. It is (2threshold - 1) in the internal representation for other values. |