apc1sensor 2.1.0.0
APC1 Sensor Registers Settings

Settings for registers of APC1 Sensor Demo driver. More...

Macros

#define APC1SENSOR_HEADER_0   0x42
 APC1 Sensor header bytes definition.
 
#define APC1SENSOR_HEADER_1   0x4D
 
#define APC1SENSOR_MEASUREMENT_PASSIVE   0x00
 APC1 Sensor measurement mode definition.
 
#define APC1SENSOR_MEASUREMENT_ACTIVE   0x01
 
#define APC1SENSOR_MODE_IDLE   0x00
 APC1 Sensor commands mode definition.
 
#define APC1SENSOR_MODE_MEASUREMENT   0x01
 
#define APC1SENSOR_MODE_RESET   0x0F
 
#define APC1SENSOR_OPMODE_NORMAL   0
 APC1 Sensor operating mode setting.
 
#define APC1SENSOR_OPMODE_DEEP_SLEEP   1
 
#define APC1SENSOR_OPMODE_RESET   2
 
#define APC1SENSOR_TX_DRV_BUFFER_SIZE   100
 APC1 Sensor driver buffer size.
 
#define APC1SENSOR_RX_DRV_BUFFER_SIZE   300
 
#define APC1SENSOR_DEVICE_ADDRESS   0x12
 APC1 Sensor device address setting.
 

Detailed Description

Settings for registers of APC1 Sensor Demo driver.

Macro Definition Documentation

◆ APC1SENSOR_DEVICE_ADDRESS

#define APC1SENSOR_DEVICE_ADDRESS   0x12

APC1 Sensor device address setting.

Specified setting for device slave address selection of APC1 Sensor Demo driver.

◆ APC1SENSOR_HEADER_0

#define APC1SENSOR_HEADER_0   0x42

APC1 Sensor header bytes definition.

Specified header bytes definition of APC1 Sensor Demo driver.

◆ APC1SENSOR_HEADER_1

#define APC1SENSOR_HEADER_1   0x4D

◆ APC1SENSOR_MEASUREMENT_ACTIVE

#define APC1SENSOR_MEASUREMENT_ACTIVE   0x01

◆ APC1SENSOR_MEASUREMENT_PASSIVE

#define APC1SENSOR_MEASUREMENT_PASSIVE   0x00

APC1 Sensor measurement mode definition.

Specified measurement mode definition of APC1 Sensor Demo driver.

◆ APC1SENSOR_MODE_IDLE

#define APC1SENSOR_MODE_IDLE   0x00

APC1 Sensor commands mode definition.

Specified commands mode definition of APC1 Sensor Demo driver.

◆ APC1SENSOR_MODE_MEASUREMENT

#define APC1SENSOR_MODE_MEASUREMENT   0x01

◆ APC1SENSOR_MODE_RESET

#define APC1SENSOR_MODE_RESET   0x0F

◆ APC1SENSOR_OPMODE_DEEP_SLEEP

#define APC1SENSOR_OPMODE_DEEP_SLEEP   1

◆ APC1SENSOR_OPMODE_NORMAL

#define APC1SENSOR_OPMODE_NORMAL   0

APC1 Sensor operating mode setting.

Specified setting for operating mode of APC1 Sensor Demo driver.

◆ APC1SENSOR_OPMODE_RESET

#define APC1SENSOR_OPMODE_RESET   2

◆ APC1SENSOR_RX_DRV_BUFFER_SIZE

#define APC1SENSOR_RX_DRV_BUFFER_SIZE   300

◆ APC1SENSOR_TX_DRV_BUFFER_SIZE

#define APC1SENSOR_TX_DRV_BUFFER_SIZE   100

APC1 Sensor driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.