![Texas Instruments CC2533 User Manual Download Page 256](http://html.mh-extra.com/html/texas-instruments/cc2533/cc2533_user-manual_1094592256.webp)
Command Strobe/CSMA-CA Processor
Opcode: 0xC8 | M (M = 0
–
7)
7
6
5
4
3
2
1
0
1
1
0
0
1
M
23.14.9.8 RANDXY
Function:
Load random value into X.
Description:
The [Y] LSBs of the X register are loaded with a random value. Note that if a second
RANDXY instruction is issued immediately (within 13 clock cycles) after the first, the
same random value is used in both cases. If Y equals zero or is greater than 7, then an
8-bit random value is loaded into X.
Operation:
X[(Y
–
1):0]: = RNG_DOUT[(Y
–
1):0], X[7:Y]: = 0
Opcode: 0xBD
7
6
5
4
3
2
1
0
1
0
1
1
1
1
0
1
23.14.9.9 INT
Function:
Interrupt
Description:
The interrupt IRQ_CSP_INT is asserted when this instruction is executed.
Operation:
IRQ_CSP_INT = 1
Opcode: 0xBA
7
6
5
4
3
2
1
0
1
0
1
1
1
0
1
0
23.14.9.10 WAITX
Function:
Wait for X MAC Timer overflows
Description:
Wait for MAC Timer to overflow [X] times, where [X] is the value of register X. Each time
a MAC Timer overflow is detected, the value in register X is decremented. Program
execution continues as soon as X = 0. (If X = 0 when instruction is run, no wait is
performed and execution continues directly.) An IRQ_CSP_WAIT interrupt request is
generated when execution continues. Note: The difference compared to WAIT W is that
W is a fixed value, whereas X is a register value (which could potentially be changed,
such that the number of overflows actually does not correspond to the value of X at the
time WAITX instruction is run).
Operation:
X = X
–
1 when MAC Timer overflow = true
PC = PC while X
>
0
PC = PC + 1 when X = 0
Opcode: 0xBC
7
6
5
4
3
2
1
0
1
0
1
1
1
1
0
0
23.14.9.11 SETCMP1
256
CC253x Radio
SWRU191C
–
April 2009
–
Revised January 2012
Copyright
©
2009
–
2012, Texas Instruments Incorporated