SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
Command ID number: 0x0005
CMD_ADD_DATA_ENTRY is an immediate command that takes the parameters listed in Table 26-53.
Byte Index | Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
0–1 | commandNo | W | The command ID number | ||
2–3 | Reserved | ||||
4–7 | pQueue | W | Pointer to the queue structure to which the entry is added | ||
8–11 | pEntry | W | Pointer to the entry |
On reception, the radio CPU appends the provided data entry to the queue indicated. The radio CPU performs the following operations:
Set pQueue-> pLastEntry-> pNextEntry = pEntry
Set pQueue-> pLastEntry = pEntry
If either of the pointers pQueue or pEntry are invalid (that is, in an address range that is not memory or without 32-bit word alignment), the command fails, and the radio CPU sets the result byte of CMDSTA to ParError. If the queue specified in pQueue is set up not to allow entries to be appended (see Section 26.3.2.7.1), the command fails, and the radio CPU sets the result byte of CMDSTA to QueueError.