| Reg. | Def. | 00 | FF | Remark |
| 00 | 00 | 00 | 00 | Identification register for the PAS106B |
| 01 | 70 | 70 | 70 |
| 02 | 06 | 02 | 7F |
Pixel clock divider.
The pixel clock is equal to the sensor clock from the camera controller divided by this value.
|
| 03 | 13 | 12 | FF |
Frame time, in units of lines.
Reg 0x03 [7..0] provides most significant bits.
Reg 0x04 [3..0] provides least significant bits.
Value must be at least 304 (approx.) in order to avoid incomplete frames.
|
| 04 | 06 | 00 | 0F |
| 05 | 65 | 00 | FF |
Shutter time line offset.
Determines at which line number the shutter is opened (stays open until end of frame).
Each step in this value is equal to 2 lines.
|
| 06 | b1 | 00 | FF |
Shutter time pixel offset.
Determines at which pixel number the shutter is opened
(after the appropriate line number has been reached).
One step of this value is equal to 2 pixels.
This value must always be less than 222 (444 pixels), otherwise the image becomes black.
|
| 07 | c1 | 00 | C1 |
Black level subtract (the DAC value in the datasheet), sign bit in bit [0]
(0 means add, 1 means subtract).
The highest two bits of register 0x07 seem to be writeable too, not sure what they contain. |
| 08 | 06 | 00 | FF |
Black level subtract (the DAC value in the datasheet), magnitude in bits [4..0].
This is equivalent to brightness.
|
| 09 | 01 | 00 | 1F | Color gain B pixel (X4 in datasheet), between 0 and 0x1F |
| 0A | 01 | 00 | 1F | Color gain G1 pixel (X4 in datasheet), between 0 and 0x1F |
| 0B | 01 | 00 | 1F | Color gain G2 pixel (X4 in datasheet), between 0 and 0x1F |
| 0C | 01 | 00 | 1F | Color gain R pixel (X4 in datasheet), between 0 and 0x1F |
| 0D | 00 | 00 | 1F | Has no effect. Must be enabled by a bit in another register? |
| 0E | 04 | 00 | 1F | Global gain (X5 in datasheet), between 0 and 0x1F |
| 0F | 00 | 00 | 07 | ??? If bit 3 = 1, then bit 0 - 2 determine some kind of brightness |
| 10 | 06 | 00 | 1F |
??? if bit 0 = 0, image is shifted. bit 1: select bayer pattern?,
|
| 11 | 06 | 00 | 3F |
??? bit 3 = half brightness, bit 4 = 1 causes white image, bit 5 = 1 causes black image |
| 12 | 00 | 00 | 1F | ??? never used??? has little effect |
| 13 | -- | 00 | 01 | Validate settings. Other settings do not seem to be taken over unless this register is written with 0x01 |
| 14 | 02 | 00 | FF | ??? |