Texas Instruments CC2650DK 사용자 설명서

다운로드
페이지 1570
IEEE 802.15.4
Table 23-82. End of Receive ACK Operation
Condition
Status Code
Result
Requested ACK successfully received with pending data bit
IEEE_DONE_ACK
False
cleared
Requested ACK successfully received with pending data bit set
IEEE_DONE_ACKPEND
True
End trigger occurred
IEEE_DONE_TIMEOUT
False
Received CMD_STOP or CMD_IEEE_STOP_FG
IEEE_DONE_STOPPED
False
Received CMD_ABORT or CMD_IEEE_ABORT_FG
IEEE_DONE_ABORT
Abort
Background operation ended
IEEE_DONE_BGEND
Abort
Observed illegal parameter
IEEE_ERROR_PAR
Abort
23.5.4.6 Abort Background-Level Operation Command
The abort background-level operation command is a foreground-level command that stops the command
running in the background. The abort background-level operation command is defined as a foreground-
operation command so that it has a start time, and so that it can be chained with other foreground-
operation commands. The command is executed with the CMD_IEEE_ABORT_BG command and uses a
command structure with only the minimum set of parameters.
At the start of an abort background-level operation, the radio CPU waits for the start trigger, then aborts
the ongoing background-level receive or energy-detect scan operation.
The operation may be stopped by a command while waiting for the start trigger. The commands that can
stop the operation are CMD_ABORT, CMD_STOP, CMD_IEEE_ABORT_FG, and CMD_IEEE_STOP_FG.
The first two will cause the background-level operation to stop regardless.
An abort background-level operation ends due to one of the causes listed in
The status field
of the command structure after the command has ended indicates the reason why the operation ended. In
all cases, an FG_COMMAND_DONE interrupt is raised. In each case, it is indicated if the result is True,
False, or Abort. This indicates whether to start the next command (if any) in pNextOp, or to return to an
idle state.
Table 23-83. End of Abort Background-Level Operation
Condition
Status Code
Result
Background level aborted
IEEE_DONE_OK
True
Received CMD_STOP or CMD_IEEE_STOP_FG
IEEE_DONE_STOPPED
False
Received CMD_ABORT or CMD_IEEEE_ABORT_FG
IEEE_DONE_ABORT
Abort
23.5.4.7 Update Radio Settings Command
The IEEE update radio settings command is a foreground-level radio operation command that can modify
the settings set with CMD_RADIO_SETUP. The command is started with the CMD_IEEE_SETUP
command, and uses the command structure given in
The pRegOverride pointer points to a structure of the same kind as used for CMD_RADIO_SETUP and
CMD_UPDATE_RADIO_SETUP. This kind of structure contains an override value for certain hardware
registers, radio configuration controlled by the radio CPU, and protocol-related variables.
If a background-level operation is running, only modify parameters and registers that are allowed to
change during operation. CMD_IEEE_SETUP can be used to schedule an update between other
foreground operations. If no background operation is running, CMD_RADIO_SETUP or
CMD_UPDATE_RADIO_SETUP can be used instead, and if an immediate change is needed,
CMD_UPDATE_RADIO_SETUP can be used.
1513
SWCU117A – February 2015 – Revised March 2015
Radio
Copyright © 2015, Texas Instruments Incorporated