RM0090
15.8.9
DCMI crop window start (DCMI_CWSTRT)
Address offset: 0x20
Reset value: 0x0000 0x0000
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Reserved
rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:16 VST[12:0]: Vertical start line count
Bits 15:14 Reserved, must be kept at reset value.
15.8.10
DCMI crop window size (DCMI_CWSIZE)
Address offset: 0x24
Reset value: 0x0000 0x0000
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:30 Reserved, must be kept at reset value.
Bitst 29:16 VLINE[13:0]: Vertical line count
Bits 15:14 Reserved, must be kept at reset value.
VST[12:0
The image capture starts with this line number. Previous line data are ignored.
0x0000 => line 1
0x0001 => line 2
0x0002 => line 3
....
Bit 13:0 HOFFCNT[13:0]: Horizontal offset count
This value gives the number of pixel clocks to count before starting a capture.
VLINE13:0]
This value gives the number of lines to be captured from the starting point.
0x0000 => 1 line
0x0001 => 2 lines
0x0002 => 3 lines
....
Bits 13:0 CAPCNT[13:0]: Capture count
This value gives the number of pixel clocks to be captured from the starting
point on the same line. It value should corresponds to word-aligned data for
different widths of parallel interfaces.
0x0000 => 1 pixel
0x0001 => 2 pixels
0x0002 => 3 pixels
....
DocID018909 Rev 11
Digital camera interface (DCMI)
9
Reserv
ed
rw rw rw rw rw rw rw rw rw rw rw rw rw rw
9
rw rw rw rw rw rw rw rw rw rw rw rw rw rw
8
7
6
5
4
3
2
HOFFCNT[13:0]
8
7
6
5
4
3
2
CAPCNT[13:0]
477/1731
1
0
1
0
479
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?