PreviousNext
Constants
Help > Macros > Constants

Name

Interpretation

Description

TRUE

1

An alternative in C language

FALSE

0

An alternative in C language

TX_POWER_MAX

7

Maximal RF output power level (specified by setRFpower(level))

EEE_BLOCK_SIZE

16

External EEPROM data block size

For setRFmode(mode)

_RX_STD

0x00

RX mode STD

_RX_LP

0x01

RX mode LP

_RX_XLP

0x02

RX mode XLP

_TX_STD

0x00

TX mode STD

_TX_LP

0x10

TX mode LP

_TX_XLP

0x20

TX mode XLP

_STDL

0x80

Prolong preamble for STD TX mode

_RLPMAT

0x04

LP/XLP RX asynchronous termination

_WPE

0x40

Wait Packet End

        Example:    setRFmode(_RX_STD | _TX_STD | _STDL | _WPE);

                     // STD RX, STD TX, preamble ~8 ms selected, Wait Packed End enabled

For setFRCparams(params)

_FRC_RESPONSE_TIME_40_MS        

0b0.000.0000

40 ms

_FRC_RESPONSE_TIME_360_MS

0b0.001.0000

360 ms

_FRC_RESPONSE_TIME_680_MS

0b0.010.0000

680 ms

_FRC_RESPONSE_TIME_1320_MS

0b0.011.0000

1320 ms

_FRC_RESPONSE_TIME_2600_MS

0b0.100.0000

2600 ms

_FRC_RESPONSE_TIME_5160_MS

0b0.101.0000

5160 ms

_FRC_RESPONSE_TIME_10280_MS

0b0.110.0000

10280 ms

_FRC_RESPONSE_TIME_20520_MS

0b0.111.0000

20520 ms

For setupRFPGM(x)

_DUAL_CHANNEL

0x03

RFPGM dual channel receiving

_LP_MODE

0x04

RFPGM low power mode receiving

_ENABLE_ON_RESET

0x10

RFPGM invoking by reset

_TIME_TERMINATE

0x40

RFPGM auto termination after ~1 min

_PIN_TERMINATE

0x80

RFPGM termination by MCU pins