Loading...
Searching...
No Matches
paa5100je_constants.h File Reference

Internal addresses, registers and constants. More...

Detailed Description

Internal addresses, registers and constants.

Author
Leonard Herbst leona.nosp@m.rd.h.nosp@m.erbst.nosp@m.@tu-.nosp@m.dresd.nosp@m.en.d.nosp@m.e

Definition in file paa5100je_constants.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Register definitions for the PAA5100JE amd PMW3901 optical flow sensors

#define REG_ID   (0x00)
 Product ID (reset value: 0x49, read-only)
 
#define REG_REV   (0x01)
 Product revision ID (reset value: 0x00, read-only)
 
#define REG_DATA_READY   (0x02)
 Motion data ready flag (bitfield, indicates new data availability, read/write)
 
#define REG_MOTION_BURST   (0x16)
 Motion burst register: block read of motion, delta X/Y, quality, shutter, read-only.
 
#define REG_POWER_UP_RESET   (0x3A)
 Write 0x5A to reset internal registers/state machine (soft reset), write-only.
 
#define REG_ORIENTATION   (0x5B)
 Sensor orientation/mirroring (read/write, flips axes depending on mounting)
 
#define REG_INV_ID   (0x5F)
 Inverse Product ID (reset value: 0xB6, bitwise NOT of REG_ID, read-only)
 
#define REG_LED_BRIGHTNESS   (0x6F)
 Register for controlling the LED brightness (read/write)
 
#define PAA5100JE_LED_OFF_VAL   (0x00)
 Magic value to turn the led off.
 
#define PAA5100JE_LED_MEDIUM_VAL   (0x1C)
 Magic value to set the led to medium brightness.
 
#define PAA5100JE_LED_MAX_VAL   (0xD5)
 Magic value to set the led to maximum brightness.
 

Macro Definition Documentation

◆ PAA5100JE_LED_MAX_VAL

#define PAA5100JE_LED_MAX_VAL   (0xD5)

Magic value to set the led to maximum brightness.

Definition at line 55 of file paa5100je_constants.h.

◆ PAA5100JE_LED_MEDIUM_VAL

#define PAA5100JE_LED_MEDIUM_VAL   (0x1C)

Magic value to set the led to medium brightness.

Definition at line 53 of file paa5100je_constants.h.

◆ PAA5100JE_LED_OFF_VAL

#define PAA5100JE_LED_OFF_VAL   (0x00)

Magic value to turn the led off.

Definition at line 51 of file paa5100je_constants.h.

◆ REG_DATA_READY

#define REG_DATA_READY   (0x02)

Motion data ready flag (bitfield, indicates new data availability, read/write)

Definition at line 33 of file paa5100je_constants.h.

◆ REG_ID

#define REG_ID   (0x00)

Product ID (reset value: 0x49, read-only)

Definition at line 27 of file paa5100je_constants.h.

◆ REG_INV_ID

#define REG_INV_ID   (0x5F)

Inverse Product ID (reset value: 0xB6, bitwise NOT of REG_ID, read-only)

Definition at line 45 of file paa5100je_constants.h.

◆ REG_LED_BRIGHTNESS

#define REG_LED_BRIGHTNESS   (0x6F)

Register for controlling the LED brightness (read/write)

Definition at line 48 of file paa5100je_constants.h.

◆ REG_MOTION_BURST

#define REG_MOTION_BURST   (0x16)

Motion burst register: block read of motion, delta X/Y, quality, shutter, read-only.

Definition at line 36 of file paa5100je_constants.h.

◆ REG_ORIENTATION

#define REG_ORIENTATION   (0x5B)

Sensor orientation/mirroring (read/write, flips axes depending on mounting)

Definition at line 42 of file paa5100je_constants.h.

◆ REG_POWER_UP_RESET

#define REG_POWER_UP_RESET   (0x3A)

Write 0x5A to reset internal registers/state machine (soft reset), write-only.

Definition at line 39 of file paa5100je_constants.h.

◆ REG_REV

#define REG_REV   (0x01)

Product revision ID (reset value: 0x00, read-only)

Definition at line 30 of file paa5100je_constants.h.