radar 2.0.0.0
Radar Device Settings

Settings for registers of Radar Click driver. More...

Macros

#define RADAR_CMD_HEADER   0xD9
 Radar control commands.
 
#define RADAR_CMD_ID_VERSION   0x00
 
#define RADAR_CMD_ID_ACK   0x02
 
#define RADAR_CMD_ID_MAX_DETECT_RANGE   0x03
 
#define RADAR_CMD_ID_SENSITIVITY   0x04
 
#define RADAR_CMD_ID_DETECT_OUT   0x05
 
#define RADAR_CMD_ID_DETECT_IN_EVT   0x06
 
#define RADAR_CMD_ID_DETECT_OUT_EVT   0x07
 
#define RADAR_CMD_ID_RESET_CONFIG   0x08
 
#define RADAR_CMD_ID_GET_DETECT_STATUS   0x09
 
#define RADAR_CMD_ID_DETECT_ENABLE   0x0A
 
#define RADAR_CMD_ID_RFCW_MODE   0x0B
 
#define RADAR_CMD_ID_CHIP_TEMPERATURE   0x0D
 
#define RADAR_CMD_ID_SLEEP_MODE   0x0E
 
#define RADAR_CMD_ID_CALIB_MODE   0x0F
 
#define RADAR_CMD_ID_CALIB_MSG   0x10
 
#define RADAR_CMD_ID_CALIB_MSG_RATE   0x11
 
#define RADAR_CMD_ID_MIN_DETECT_RANGE   0x30
 
#define RADAR_CMD_ID_MACRO_THRESHOLD   0x31
 
#define RADAR_CMD_ID_MICRO_THRESHOLD   0x32
 
#define RADAR_CMD_ID_MACRO_VALID   0x33
 
#define RADAR_CMD_ID_MICRO_VALID   0x34
 
#define RADAR_CMD_ID_DETECT_MODE   0x35
 
#define RADAR_CMD_ID_MACRO_DETECT_RANGE   0x36
 
#define RADAR_CMD_ID_MACRO_DETECT_DELAY   0x37
 
#define RADAR_CMD_ID_CHIRP_PER_FRAME   0x38
 
#define RADAR_CMD_ID_UNIQUE_ID   0xF7
 
#define RADAR_SET_CMD_FAIL   0x00
 Radar set command results.
 
#define RADAR_SET_CMD_SUCCESS   0x01
 
#define RADAR_TIMEOUT   1000
 Radar response timeout value.
 
#define RADAR_DEFAULT_MIN_RANGE   0.0
 Radar detection range values.
 
#define RADAR_DEFAULT_MAX_RANGE   3.0
 
#define DRV_BUFFER_SIZE   256
 Radar driver buffer size.
 

Detailed Description

Settings for registers of Radar Click driver.

Macro Definition Documentation

◆ DRV_BUFFER_SIZE

#define DRV_BUFFER_SIZE   256

Radar driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ RADAR_CMD_HEADER

#define RADAR_CMD_HEADER   0xD9

Radar control commands.

Specified setting for control commands of Radar Click driver.

◆ RADAR_CMD_ID_ACK

#define RADAR_CMD_ID_ACK   0x02

◆ RADAR_CMD_ID_CALIB_MODE

#define RADAR_CMD_ID_CALIB_MODE   0x0F

◆ RADAR_CMD_ID_CALIB_MSG

#define RADAR_CMD_ID_CALIB_MSG   0x10

◆ RADAR_CMD_ID_CALIB_MSG_RATE

#define RADAR_CMD_ID_CALIB_MSG_RATE   0x11

◆ RADAR_CMD_ID_CHIP_TEMPERATURE

#define RADAR_CMD_ID_CHIP_TEMPERATURE   0x0D

◆ RADAR_CMD_ID_CHIRP_PER_FRAME

#define RADAR_CMD_ID_CHIRP_PER_FRAME   0x38

◆ RADAR_CMD_ID_DETECT_ENABLE

#define RADAR_CMD_ID_DETECT_ENABLE   0x0A

◆ RADAR_CMD_ID_DETECT_IN_EVT

#define RADAR_CMD_ID_DETECT_IN_EVT   0x06

◆ RADAR_CMD_ID_DETECT_MODE

#define RADAR_CMD_ID_DETECT_MODE   0x35

◆ RADAR_CMD_ID_DETECT_OUT

#define RADAR_CMD_ID_DETECT_OUT   0x05

◆ RADAR_CMD_ID_DETECT_OUT_EVT

#define RADAR_CMD_ID_DETECT_OUT_EVT   0x07

◆ RADAR_CMD_ID_GET_DETECT_STATUS

#define RADAR_CMD_ID_GET_DETECT_STATUS   0x09

◆ RADAR_CMD_ID_MACRO_DETECT_DELAY

#define RADAR_CMD_ID_MACRO_DETECT_DELAY   0x37

◆ RADAR_CMD_ID_MACRO_DETECT_RANGE

#define RADAR_CMD_ID_MACRO_DETECT_RANGE   0x36

◆ RADAR_CMD_ID_MACRO_THRESHOLD

#define RADAR_CMD_ID_MACRO_THRESHOLD   0x31

◆ RADAR_CMD_ID_MACRO_VALID

#define RADAR_CMD_ID_MACRO_VALID   0x33

◆ RADAR_CMD_ID_MAX_DETECT_RANGE

#define RADAR_CMD_ID_MAX_DETECT_RANGE   0x03

◆ RADAR_CMD_ID_MICRO_THRESHOLD

#define RADAR_CMD_ID_MICRO_THRESHOLD   0x32

◆ RADAR_CMD_ID_MICRO_VALID

#define RADAR_CMD_ID_MICRO_VALID   0x34

◆ RADAR_CMD_ID_MIN_DETECT_RANGE

#define RADAR_CMD_ID_MIN_DETECT_RANGE   0x30

◆ RADAR_CMD_ID_RESET_CONFIG

#define RADAR_CMD_ID_RESET_CONFIG   0x08

◆ RADAR_CMD_ID_RFCW_MODE

#define RADAR_CMD_ID_RFCW_MODE   0x0B

◆ RADAR_CMD_ID_SENSITIVITY

#define RADAR_CMD_ID_SENSITIVITY   0x04

◆ RADAR_CMD_ID_SLEEP_MODE

#define RADAR_CMD_ID_SLEEP_MODE   0x0E

◆ RADAR_CMD_ID_UNIQUE_ID

#define RADAR_CMD_ID_UNIQUE_ID   0xF7

◆ RADAR_CMD_ID_VERSION

#define RADAR_CMD_ID_VERSION   0x00

◆ RADAR_DEFAULT_MAX_RANGE

#define RADAR_DEFAULT_MAX_RANGE   3.0

◆ RADAR_DEFAULT_MIN_RANGE

#define RADAR_DEFAULT_MIN_RANGE   0.0

Radar detection range values.

Specified detection range values of Radar Click driver.

◆ RADAR_SET_CMD_FAIL

#define RADAR_SET_CMD_FAIL   0x00

Radar set command results.

Specified set command results of Radar Click driver.

◆ RADAR_SET_CMD_SUCCESS

#define RADAR_SET_CMD_SUCCESS   0x01

◆ RADAR_TIMEOUT

#define RADAR_TIMEOUT   1000

Radar response timeout value.

Specified response timeout value in milliseconds of Radar Click driver.