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.