| VIDEO Block RAW_CAPT Module Description | Module Overview: The Raw Capture Module. This module contains configuration registers that control the capture process of raw sensor data from the CCD. |
| RAW_CAPT Module Register Summary | Register Name | Base Address | POR |
| RAW_CAPT_SEQUENCER | 0xFFF80100 | 0x00000000 |
| RAW_CAPT_LINE_INTERRUPT | 0xFFF80104 | 0x00000000 |
| RAW_CAPT_RAW_DECIM | 0xFFF80108 | 0x00000000 |
| RAW_CAPT_OUT_Y | 0xFFF8010C | 0x00000000 |
| RAW_CAPT_BLKPIX_ADJUST | 0xFFF80110 | 0x00000000 |
| RAW_CAPT_BLKPIX_DATA | 0xFFF80114 | 0x00000000 |
| RAW_CAPT_BLKPIX_COUNT | 0xFFF80118 | 0x00000000 |
| RAW_CAPT_SEQUENCER Register: | Mode: Normal | Address: 0xFFF80100 | POR: 0x00000000 | |
| Register Overview: Sets up the raw capture mode sequencing of even/odd lines. | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | PATEV | |||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | PATOD | |||||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31:16 | PATEV | R/W | PAT_EVN | 16 patterns for the even lines of the raw capture (i.e 2nd line, 4th line, 6th line, etc, |
| 15:0 | PATOD | R/W | PAT_ODD | 16 patterns for the odd lines of the raw capture ( i.e the 1st line, 3rd line, 5th line, etc, |
| RAW_CAPT_LINE_INTERRUPT Register: | Mode: Normal | Address: 0xFFF80104 | POR: 0x00000000 | |
| Register Overview: Missing | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | ENDLN | |||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | BKPXS | BKPXE | ||||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31:16 | ENDLN | RO | END_LINE | End of line has been found for the current row specified. |
| 15:8 | BKPXS | RO | BLACK_PIXST | Number of starting black pixles found for the current row. |
| 7:0 | BKPXE | R/W | BLACK_PIXEND | Number of ending black pixels found for the current row. |
| RAW_CAPT_RAW_DECIM Register: | Mode: Normal | Address: 0xFFF80108 | POR: 0x00000000 | |
| Register Overview: Missing | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | ||||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | OFSET | DUCCD | ||||||||||||||
| RAW_CAPT_OUT_Y Register: | Mode: Normal | Address: 0xFFF8010C | POR: 0x00000000 | |
| Register Overview: Configuration register for vertical output. | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | DMAEN | ORST | OFMT | |||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | YSZ | YOFF | ||||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31 | DMAEN | WO | DMA_ENABLE | Invoke DMA for raw output vertically. |
| 30 | ORST | R/W | RESET | Reset DMA fifo read and write pointers. |
| 29:28 | OFMT | R/W | FORMAT |
00= 16-bit for fixed pattern 01= 8-bit [7:0], no shift needed 10= 8-bit [10:3], shift needed 11= 8-bit [12:5], shift needed |
| 27 | RSV | RO | Reserved | Reserved. |
| 26:14 | YSZ | R/W | YSIZE | Y pixel size: 0= no change. Up to 12 bits of pixel value. Only set this when pixel size changes. |
| 13:0 | YOFF | R/W | YOFFSET | Offset vertically of where to start capture. |
| RAW_CAPT_BLKPIX_ADJUST Register: | Mode: Normal | Address: 0xFFF80110 | POR: 0x00000000 | |
| Register Overview: Missing | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | RLSEL | |||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | THRSH | XSZE | OBOFS | |||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31:22 | RSV | RO | Reserved | Reserved. |
| 21 | RLSEL | R/W | RL_SELECT | Describes which side of the capture that is being specified for black pixels: 0= right side, 1= left side |
| 20:13 | THRSH | R/W | THRESHOLD | Threshold value for the maximum value of a black pixel. |
| 12:5 | XSZE | R/W | XSIZE | Maximum number of optical black pixels that can be counted per row. |
| 4:0 | OBOFS | R/W | OFFSET | Maxim number of black pixels that can be ignored per row. |
| RAW_CAPT_BLKPIX_DATA Register: | Mode: Normal | Address: 0xFFF80114 | POR: 0x00000000 | |
| Register Overview: 32 bits of acummulated black pixel data for the raw captured image. | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | ||||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | DT | |||||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31:0 | DT | RO | DT | Accumulated black pixel data. |
| RAW_CAPT_BLKPIX_COUNT Register: | Mode: Normal | Address: 0xFFF80118 | POR: 0x00000000 | |
| Register Overview: 32 bits of the number of black pixels for the raw captured image. | ||||
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Mne | ||||||||||||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Mne | CNT | |||||||||||||||
| Bit(s) | Mne | Access | Name | Field Description |
| 31:0 | CNT | RO | CT | Number of bad pixels. |