ccrf3 2.0.0.0
ccRF 3 Registers Settings

Settings for registers of ccRF 3 Click driver. More...

Macros

#define CCRF3_STATUS_CHIP_RDYN_BM   0x80
 ccRF 3 description setting.
 
#define CCRF3_STATUS_STATE_BM   0x70
 
#define CCRF3_STATUS_FIFO_BYTES_AVA_BM   0x0F
 
#define CCRF3_STATUS_ERROR   0x00
 
#define CCRF3_STATUS_OK   0x01
 
#define CCRF3_IDLE_MODE   0x01
 
#define CCRF3_TX_MODE   0x02
 
#define CCRF3_RX_MODE   0x03
 
#define CCRF3_SINGLE_TXFIFO   0x003F
 ccRF 3 DATA FIFO access.
 
#define CCRF3_BURST_TXFIFO   0x007F
 
#define CCRF3_SINGLE_RXFIFO   0x00BF
 
#define CCRF3_BURST_RXFIFO   0x00FF
 
#define CCRF3_LQI_CRC_OK_BM   0x80
 
#define CCRF3_LQI_EST_BM   0x7F
 
#define CCRF3_SRES   0x30
 ccRF 3 Command strobe registers.
 
#define CCRF3_SFSTXON   0x31
 
#define CCRF3_SXOFF   0x32
 
#define CCRF3_SCAL   0x33
 
#define CCRF3_SRX   0x34
 
#define CCRF3_STX   0x35
 
#define CCRF3_SIDLE   0x36
 
#define CCRF3_SWOR   0x38
 
#define CCRF3_SPWD   0x39
 
#define CCRF3_SFRX   0x3A
 
#define CCRF3_SFTX   0x3B
 
#define CCRF3_SWORRST   0x3C
 
#define CCRF3_SNOP   0x3D
 
#define CCRF3_AFC   0x37
 
#define CCRF3_STATE_IDLE   0x00
 ccRF 3 Chip states returned in status byte.
 
#define CCRF3_STATE_RX   0x10
 
#define CCRF3_STATE_TX   0x20
 
#define CCRF3_STATE_FSTXON   0x30
 
#define CCRF3_STATE_CALIBRATE   0x40
 
#define CCRF3_STATE_SETTLING   0x50
 
#define CCRF3_STATE_RXFIFO_ERROR   0x60
 
#define CCRF3_STATE_TXFIFO_ERROR   0x70
 
#define CCRF3_RADIO_BURST_ACCESS   0x40
 
#define CCRF3_RADIO_SINGLE_ACCESS   0x00
 
#define CCRF3_RADIO_READ_ACCESS   0x80
 
#define CCRF3_RADIO_WRITE_ACCESS   0x00
 
#define CCRF3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define CCRF3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of ccRF 3 Click driver.

Macro Definition Documentation

◆ CCRF3_AFC

#define CCRF3_AFC   0x37

◆ CCRF3_BURST_RXFIFO

#define CCRF3_BURST_RXFIFO   0x00FF

◆ CCRF3_BURST_TXFIFO

#define CCRF3_BURST_TXFIFO   0x007F

◆ CCRF3_IDLE_MODE

#define CCRF3_IDLE_MODE   0x01

◆ CCRF3_LQI_CRC_OK_BM

#define CCRF3_LQI_CRC_OK_BM   0x80

◆ CCRF3_LQI_EST_BM

#define CCRF3_LQI_EST_BM   0x7F

◆ CCRF3_RADIO_BURST_ACCESS

#define CCRF3_RADIO_BURST_ACCESS   0x40

◆ CCRF3_RADIO_READ_ACCESS

#define CCRF3_RADIO_READ_ACCESS   0x80

◆ CCRF3_RADIO_SINGLE_ACCESS

#define CCRF3_RADIO_SINGLE_ACCESS   0x00

◆ CCRF3_RADIO_WRITE_ACCESS

#define CCRF3_RADIO_WRITE_ACCESS   0x00

◆ CCRF3_RX_MODE

#define CCRF3_RX_MODE   0x03

◆ CCRF3_SCAL

#define CCRF3_SCAL   0x33

◆ CCRF3_SET_DATA_SAMPLE_EDGE

#define CCRF3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with ccrf3_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ CCRF3_SET_DATA_SAMPLE_MIDDLE

#define CCRF3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ CCRF3_SFRX

#define CCRF3_SFRX   0x3A

◆ CCRF3_SFSTXON

#define CCRF3_SFSTXON   0x31

◆ CCRF3_SFTX

#define CCRF3_SFTX   0x3B

◆ CCRF3_SIDLE

#define CCRF3_SIDLE   0x36

◆ CCRF3_SINGLE_RXFIFO

#define CCRF3_SINGLE_RXFIFO   0x00BF

◆ CCRF3_SINGLE_TXFIFO

#define CCRF3_SINGLE_TXFIFO   0x003F

ccRF 3 DATA FIFO access.

Specified DATA FIFO access for description of ccRF 3 Click driver.

◆ CCRF3_SNOP

#define CCRF3_SNOP   0x3D

◆ CCRF3_SPWD

#define CCRF3_SPWD   0x39

◆ CCRF3_SRES

#define CCRF3_SRES   0x30

ccRF 3 Command strobe registers.

Specified Command strobe registers for description of ccRF 3 Click driver.

◆ CCRF3_SRX

#define CCRF3_SRX   0x34

◆ CCRF3_STATE_CALIBRATE

#define CCRF3_STATE_CALIBRATE   0x40

◆ CCRF3_STATE_FSTXON

#define CCRF3_STATE_FSTXON   0x30

◆ CCRF3_STATE_IDLE

#define CCRF3_STATE_IDLE   0x00

ccRF 3 Chip states returned in status byte.

Specified Chip states returned in status byte for description of ccRF 3 Click driver.

◆ CCRF3_STATE_RX

#define CCRF3_STATE_RX   0x10

◆ CCRF3_STATE_RXFIFO_ERROR

#define CCRF3_STATE_RXFIFO_ERROR   0x60

◆ CCRF3_STATE_SETTLING

#define CCRF3_STATE_SETTLING   0x50

◆ CCRF3_STATE_TX

#define CCRF3_STATE_TX   0x20

◆ CCRF3_STATE_TXFIFO_ERROR

#define CCRF3_STATE_TXFIFO_ERROR   0x70

◆ CCRF3_STATUS_CHIP_RDYN_BM

#define CCRF3_STATUS_CHIP_RDYN_BM   0x80

ccRF 3 description setting.

Specified setting for description of ccRF 3 Click driver.

◆ CCRF3_STATUS_ERROR

#define CCRF3_STATUS_ERROR   0x00

◆ CCRF3_STATUS_FIFO_BYTES_AVA_BM

#define CCRF3_STATUS_FIFO_BYTES_AVA_BM   0x0F

◆ CCRF3_STATUS_OK

#define CCRF3_STATUS_OK   0x01

◆ CCRF3_STATUS_STATE_BM

#define CCRF3_STATUS_STATE_BM   0x70

◆ CCRF3_STX

#define CCRF3_STX   0x35

◆ CCRF3_SWOR

#define CCRF3_SWOR   0x38

◆ CCRF3_SWORRST

#define CCRF3_SWORRST   0x3C

◆ CCRF3_SXOFF

#define CCRF3_SXOFF   0x32

◆ CCRF3_TX_MODE

#define CCRF3_TX_MODE   0x02