EasyManuals Logo

Texas Instruments CC2541EMK User Manual

Texas Instruments CC2541EMK
370 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #258 background imageLoading...
Page #258 background image
Command Strobe/CSMA-CA Processor
www.ti.com
23.14.9.15 LABEL
Function: Set loop label
Description: Sets next instruction as start of loop. If the current instruction is the last instruction in the
instruction memory, then the current PC is set as start of loop. If several label
instructions are executed, the last label executed is the active label. Earlier labels are
removed, which means that only one level of loops is supported.
Operation: LABEL: = PC + 1
Opcode: 0xBB
7 6 5 4 3 2 1 0
1 0 1 1 1 0 1 1
23.14.9.16 RPT C
Function: Conditional repeat
Description: If condition C is true, then jump to the instruction defined by the last LABEL instruction,
i.e., jump to start of loop. If the condition is false or if a LABEL instruction has not been
executed, then execution continues from next instruction. The condition C may be
negated by setting N = 1 and is described in the following table.
Condition Description Function
Code C
000 CCA is true CCA = 1
001 Synchronization word SFD = 1
received and still receiving
packet or synchronization
word transmitted and still
transmitting packet
010 CPU control true
CSPCTRL.CPU_CTRL = 1
011 Reserved
100 Register X = 0 X = 0
101 Register Y = 0 Y = 0
110 Register Z = 0 Z = 0
111 RSSI is valid
RSSI_VALID = 1
Operation: PC = LABEL when (C XOR N) = true
PC = PC + 1 when (C XOR N) = false or LABEL = not set
Opcode: 0xA0 | N | C (N = 0, 8; C = 07)
7 6 5 4 3 2 1 0
1 0 1 0 N C
23.14.9.17 SKIP S, C
Function: Conditional skip instruction
Description: Skip S instructions on condition C (where condition C may be negated; N = 1). When
condition (C xor N) is true, skip the next S instructions, else execute the next instruction.
If S = 0, re-execute the conditional jump (i.e., busy loop until condition is false). Skipping
past the last instruction in the command buffer results in an implicit STOP command.
258
CC253x Radio SWRU191CApril 2009Revised January 2012
Submit Documentation Feedback
Copyright © 20092012, Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments CC2541EMK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2541EMK and is the answer not in the manual?

Texas Instruments CC2541EMK Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2541EMK
CategoryMicrocontrollers
LanguageEnglish

Related product manuals