PX4 Firmware
PX4 Autopilot Software http://px4.io
ADIS16497.cpp File Reference
#include "ADIS16497.hpp"
Include dependency graph for ADIS16497.cpp:

Go to the source code of this file.

Macros

#define DIR_READ   0x00
 
#define DIR_WRITE   0x80
 

Variables

static constexpr uint8_t PAGE_ID = 0x0
 
static constexpr uint8_t SYS_E_FLAG = 0x08
 
static constexpr uint8_t DIAG_STS = 0x0A
 
static constexpr uint8_t BURST_CMD = 0x7C
 
static constexpr uint8_t PROD_ID = 0x7E
 
static constexpr uint8_t GLOB_CMD = 0x02
 
static constexpr uint8_t FNCTIO_CTRL = 0x06
 
static constexpr uint8_t GPIO_CTRL = 0x08
 
static constexpr uint8_t CONFIG = 0x0A
 
static constexpr uint8_t DEC_RATE = 0x0C
 
static constexpr uint8_t NULL_CNFG = 0x0E
 
static constexpr uint8_t SYNC_SCALE = 0x10
 
static constexpr uint8_t RANG_MDL = 0x12
 
static constexpr uint8_t FILTR_BNK_0 = 0x16
 
static constexpr uint8_t FILTR_BNK_1 = 0x18
 
static constexpr uint16_t PROD_ID_ADIS16497 = 0x4071
 
static constexpr uint8_t T_STALL = 2
 
static constexpr uint32_t ADIS16497_DEFAULT_RATE = 1000
 

Macro Definition Documentation

◆ DIR_READ

#define DIR_READ   0x00

Definition at line 36 of file ADIS16497.cpp.

Referenced by ADIS16497::measure(), and ADIS16497::read_reg16().

◆ DIR_WRITE

#define DIR_WRITE   0x80

Definition at line 37 of file ADIS16497.cpp.

Referenced by ADIS16497::write_reg16().

Variable Documentation

◆ ADIS16497_DEFAULT_RATE

constexpr uint32_t ADIS16497_DEFAULT_RATE = 1000
static

Definition at line 65 of file ADIS16497.cpp.

Referenced by ADIS16497::ADIS16497(), and ADIS16497::start().

◆ BURST_CMD

constexpr uint8_t BURST_CMD = 0x7C
static

Definition at line 45 of file ADIS16497.cpp.

Referenced by ADIS16497::measure().

◆ CONFIG

constexpr uint8_t CONFIG = 0x0A
static

Definition at line 52 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ DEC_RATE

constexpr uint8_t DEC_RATE = 0x0C
static

Definition at line 53 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ DIAG_STS

constexpr uint8_t DIAG_STS = 0x0A
static

Definition at line 44 of file ADIS16497.cpp.

Referenced by ADIS16497::self_test().

◆ FILTR_BNK_0

constexpr uint8_t FILTR_BNK_0 = 0x16
static

Definition at line 57 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ FILTR_BNK_1

constexpr uint8_t FILTR_BNK_1 = 0x18
static

Definition at line 58 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ FNCTIO_CTRL

constexpr uint8_t FNCTIO_CTRL = 0x06
static

Definition at line 50 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ GLOB_CMD

constexpr uint8_t GLOB_CMD = 0x02
static

Definition at line 49 of file ADIS16497.cpp.

Referenced by ADIS16497::reset(), and ADIS16497::self_test().

◆ GPIO_CTRL

constexpr uint8_t GPIO_CTRL = 0x08
static

Definition at line 51 of file ADIS16497.cpp.

◆ NULL_CNFG

constexpr uint8_t NULL_CNFG = 0x0E
static

Definition at line 54 of file ADIS16497.cpp.

Referenced by ADIS16497::reset().

◆ PAGE_ID

constexpr uint8_t PAGE_ID = 0x0
static

Definition at line 40 of file ADIS16497.cpp.

Referenced by ADIS16497::probe(), ADIS16497::reset(), and ADIS16497::self_test().

◆ PROD_ID

constexpr uint8_t PROD_ID = 0x7E
static

Definition at line 46 of file ADIS16497.cpp.

Referenced by ADIS16497::probe().

◆ PROD_ID_ADIS16497

constexpr uint16_t PROD_ID_ADIS16497 = 0x4071
static

Definition at line 60 of file ADIS16497.cpp.

Referenced by ADIS16497::probe().

◆ RANG_MDL

constexpr uint8_t RANG_MDL = 0x12
static

Definition at line 56 of file ADIS16497.cpp.

◆ SYNC_SCALE

constexpr uint8_t SYNC_SCALE = 0x10
static

Definition at line 55 of file ADIS16497.cpp.

◆ SYS_E_FLAG

constexpr uint8_t SYS_E_FLAG = 0x08
static

Definition at line 43 of file ADIS16497.cpp.

Referenced by ADIS16497::self_test().

◆ T_STALL

constexpr uint8_t T_STALL = 2
static

Definition at line 63 of file ADIS16497.cpp.

Referenced by ADIS16497::read_reg16(), and ADIS16497::write_reg16().