Loading...
Searching...
No Matches
CC2538 RF core interface

Detailed Description

Files

file  cc2538_rfcore.h
 CC2538 RF core interface.
 

Data Structures

struct  cc2538_rfcore_t
 RF Core component registers. More...
 

Macros

#define RFCORE   ( (cc2538_rfcore_t*)0x40088580 )
 RF Core instance.
 

Enumerations

enum  {
  DECZ = 0xc5 , DECY = 0xc4 , DECX = 0xc3 , INCZ = 0xc2 ,
  INCY = 0xc1 , INCX = 0xc0 , INCMAXY = 0xc8 , RANDXY = 0xbd ,
  INT = 0xba , WAITX = 0xbc , SETCMP1 = 0xbe , WAIT_W = 0x80 ,
  WEVENT1 = 0xb8 , WEVENT2 = 0xb9 , LABEL = 0xbb , RPT_C = 0xa0 ,
  SKIP_S_C = 0x00 , STOP = 0xd2 , SNOP = 0xd0 , SRXON = 0xd3 ,
  STXON = 0xd9 , STXONCCA = 0xda , SSAMPLECCA = 0xdb , SRFOFF = 0xdf ,
  SFLUSHRX = 0xdd , SFLUSHTX = 0xde , SACK = 0xd6 , SACKPEND = 0xd7 ,
  SNACK = 0xd8 , SRXMASKBITSET = 0xd4 , SRXMASKBITCLR = 0xd5 , ISSTOP = 0xe2 ,
  ISSTART = 0xe1 , ISRXON = 0xe3 , ISRXMASKBITSET = 0xe4 , ISRXMASKBITCLR = 0xe5 ,
  ISTXON = 0xe9 , ISTXONCCA = 0xea , ISSAMPLECCA = 0xeb , ISRFOFF = 0xef ,
  ISFLUSHRX = 0xed , ISFLUSHTX = 0xee , ISACK = 0xe6 , ISACKPEND = 0xe7 ,
  ISNACK = 0xe8 , ISCLEAR = 0xff
}
 RF Core opcodes. More...
 

Macro Definition Documentation

◆ RFCORE

#define RFCORE   ( (cc2538_rfcore_t*)0x40088580 )

RF Core instance.

Definition at line 222 of file cc2538_rfcore.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

RF Core opcodes.

Enumerator
DECZ 

Decrement Z.

DECY 

Decrement Y.

DECX 

Decrement X.

INCZ 

Increment Z.

INCY 

Increment Y.

INCX 

Increment X.

INCMAXY 

Increment Y not greater than M.

| M (M = 0-7)

RANDXY 

Load random value into X.

INT 

Interrupt.

WAITX 

Wait for X MAC timer overflows.

SETCMP1 

Set the compare value of the MAC timer to the current timer value.

WAIT_W 

Wait for W MAC timer overflows | W (W = 0-31)

WEVENT1 

Wait until MAC timer event 1.

WEVENT2 

Wait until MAC timer event 2.

LABEL 

Set loop label.

RPT_C 

Conditional repeat | N | C (N = 0, 8; C = 0-7)

SKIP_S_C 

Conditional skip instruction | S | N | C.

STOP 

Stop program execution.

SNOP 

No operation.

SRXON 

Enable and calibrate frequency synthesizer for RX.

STXON 

Enable TX after calibration.

STXONCCA 

Enable calibration and TX if CCA indicates a clear channel.

SSAMPLECCA 

Sample the current CCA value to SAMPLED_CCA.

SRFOFF 

Disable RX or TX and frequency synthesizer.

SFLUSHRX 

Flush RX FIFO buffer and reset demodulator.

SFLUSHTX 

Flush TX FIFO buffer.

SACK 

Send acknowledge frame with pending field cleared.

SACKPEND 

Send acknowledge frame with the pending field set.

SNACK 

Abort sending of acknowledge frame.

SRXMASKBITSET 

Set bit in RXENABLE register.

SRXMASKBITCLR 

Clear bit in RXENABLE register.

ISSTOP 

Stop program execution.

ISSTART 

Start program execution.

ISRXON 

Enable and calibrate frequency synthesizer for RX.

ISRXMASKBITSET 

Set bit in RXENABLE.

ISRXMASKBITCLR 

Clear bit in RXENABLE.

ISTXON 

Enable TX after calibration.

ISTXONCCA 

Enable calibration and TX if CCA indicates a clear channel.

ISSAMPLECCA 

Sample the current CCA value to SAMPLED_CCA.

ISRFOFF 

Disable RX or TX, and the frequency synthesizer.

ISFLUSHRX 

Flush RX FIFO buffer and reset demodulator.

ISFLUSHTX 

Flush TX FIFO buffer.

ISACK 

Send acknowledge frame with the pending field cleared.

ISACKPEND 

Send acknowledge frame with the pending field set.

ISNACK 

Abort sending of acknowledge frame.

ISCLEAR 

Clear CSP program memory, reset program counter.

Definition at line 225 of file cc2538_rfcore.h.