PX4 Firmware
PX4 Autopilot Software http://px4.io
PixArt_PAW3902JF Namespace Reference

Classes

struct  BURST_TRANSFER
 

Enumerations

enum  Register : uint8_t {
  Product_ID = 0x00, Revision_ID = 0x01, Motion = 0x02, Delta_X_L = 0x03,
  Delta_X_H = 0x04, Delta_Y_L = 0x05, Delta_Y_H = 0x06, Squal = 0x07,
  RawData_Sum = 0x08, Maximum_RawData = 0x09, Minimum_RawData = 0x0A, Shutter_Lower = 0x0B,
  Shutter_Upper = 0x0C, Observation = 0x15, Motion_Burst = 0x16, Power_Up_Reset = 0x3A,
  Resolution = 0x4E
}
 
enum  Product_ID_Bit : uint8_t { Reset = 0x5A }
 
enum  Mode { Mode::Bright = 0, Mode::LowLight = 1, Mode::SuperLowLight = 2 }
 

Variables

static constexpr uint8_t PRODUCT_ID = 0x49
 
static constexpr uint8_t REVISION_ID = 0x01
 
static constexpr uint32_t SAMPLE_INTERVAL_MODE_0 {1000000 / 126}
 
static constexpr uint32_t SAMPLE_INTERVAL_MODE_1 {1000000 / 126}
 
static constexpr uint32_t SAMPLE_INTERVAL_MODE_2 {1000000 / 50}
 
static constexpr uint64_t T_SWW {11}
 
static constexpr uint64_t T_SRR {2}
 

Enumeration Type Documentation

◆ Mode

Enumerator
Bright 
LowLight 
SuperLowLight 

Definition at line 78 of file PixArt_PAW3902JF_Registers.hpp.

◆ Product_ID_Bit

Enumerator
Reset 

Definition at line 73 of file PixArt_PAW3902JF_Registers.hpp.

◆ Register

Enumerator
Product_ID 
Revision_ID 
Motion 
Delta_X_L 
Delta_X_H 
Delta_Y_L 
Delta_Y_H 
Squal 
RawData_Sum 
Maximum_RawData 
Minimum_RawData 
Shutter_Lower 
Shutter_Upper 
Observation 
Motion_Burst 
Power_Up_Reset 
Resolution 

Definition at line 49 of file PixArt_PAW3902JF_Registers.hpp.

Variable Documentation

◆ PRODUCT_ID

constexpr uint8_t PixArt_PAW3902JF::PRODUCT_ID = 0x49
static

Definition at line 39 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::probe().

◆ REVISION_ID

constexpr uint8_t PixArt_PAW3902JF::REVISION_ID = 0x01
static

Definition at line 40 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::probe().

◆ SAMPLE_INTERVAL_MODE_0

constexpr uint32_t PixArt_PAW3902JF::SAMPLE_INTERVAL_MODE_0 {1000000 / 126}
static

Definition at line 42 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::changeMode().

◆ SAMPLE_INTERVAL_MODE_1

constexpr uint32_t PixArt_PAW3902JF::SAMPLE_INTERVAL_MODE_1 {1000000 / 126}
static

Definition at line 43 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::changeMode(), and PAW3902::start().

◆ SAMPLE_INTERVAL_MODE_2

constexpr uint32_t PixArt_PAW3902JF::SAMPLE_INTERVAL_MODE_2 {1000000 / 50}
static

Definition at line 44 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::changeMode().

◆ T_SRR

constexpr uint64_t PixArt_PAW3902JF::T_SRR {2}
static

Definition at line 47 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::registerRead().

◆ T_SWW

constexpr uint64_t PixArt_PAW3902JF::T_SWW {11}
static

Definition at line 46 of file PixArt_PAW3902JF_Registers.hpp.

Referenced by PAW3902::registerWrite().