Point Grey Flea3 USB 3.0 Technical Reference Appendix A: Control and Status Registers
Offset Bit Description
0020h
[0-7] 3Ch
[8-31] vendor_unique_info_0
0024h
[0-7] 3Dh
[8-31] vendor_unique_info_1
0028h
[0-7] 3Eh
[8-31] vendor_unique_info_2
002Ch
[0-7] 3Fh
[8-31] vendor_unique_info_3
A.1.3 Calculating Base Register Addresses using 32-bit Offsets
The addresses for many CSRs, such as those that provide control over absolute values, custom video modes, PIO, SIO
and strobe output, can vary between cameras. In order to provide a common mechanism across camera models for
determining the location of these CSRs relative to the base address, there are fixed locations for inquiry registers that
contain offsets, or pointers, to the actual offsets.
To calculate the base address for an offset CSR:
1. Query the offset inquiry register.
2. Multiple the value by 4. (The value is a 32-bit offset.)
3. Remove the 0xF prefix from the result. (i.e., F70000h becomes 70000h)
For example, the Absolute Value CSRs provide minimum, maximum and current real- world values for camera
properties such as gain, shutter, etc., as described in Absolute Value Registers (on page 148). To determine the
location of the shutter absolute value registers (code snippets use function calls included in the FlyCapture SDK, and
assume a Camera object cam):
1. Read the ABS_CSR_HI_INQ_7 register 71Ch to obtain the 32-bit offset for the absolute value CSR for shutter.
unsigned int ulValue;
cam.ReadRegister(0x71C, &ulValue);
2. The ulValue is a 32-bit offset, so multiply by 4 to get the actual offset.
ulValue = ulValue * 4; // ulValue == 0x3C0244, actual offset == 0xF00910
3. The actual offset 0xF00910 represents the offset from the base address 0xFFFF Fxxx xxxx. Since the PGR
FlyCapture API automatically takes into account the base offset 0xFFFF F0F0 0000, the actual offset in this
example would be 0x910.
ulValue = ulValue & 0xFFFF;
A.2 Inquiry Registers
A.2.1 Basic Functions Inquiry Registers
The following registers show which basic functions are implemented on the camera.
Revised 9/27/2012
Copyright ©2011-2012 Point Grey Research Inc.
133