![ARTERY AT32F435 Series Скачать руководство пользователя страница 644](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592644.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 644
Rev 2.03
Table 27-3 DVP register configuration and DVP_D pin use
CMOS
video
camera
parallel pin count
8
10
12
14
CMOS
video
camera
parallel data bits
8
8
10
8
10
12
14
CMOS video camera data
alignment
N/A
LSB
MSB
N/A
LSB
MSB
LSB
MSB
N/A
N/A
DVP_D
[13]
Bit 13
[12]
Bit 12
[11]
Bit 7
Bit 9
Bit 11
Bit 11
[10]
Bit 6
Bit 8
Bit 10
Bit 10
[9]
Bit 7
Bit 9
Bit 5
Bit 9
Bit 7
Bit 9
Bit 9
[8]
Bit 6
Bit 8
Bit 4
Bit 8
Bit 6
Bit 8
Bit 8
[7]
Bit 7
Bit 7
Bit 5
Bit 7
Bit 7
Bit 3
Bit 7
Bit 5
Bit 7
Bit 7
[6]
Bit 6
Bit 6
Bit 4
Bit 6
Bit 6
Bit 2
Bit 6
Bit 4
Bit 6
Bit 6
[5]
Bit 5
Bit 5
Bit 3
Bit 5
Bit 5
Bit 1
Bit 5
Bit 3
Bit 5
Bit 5
[4]
Bit 4
Bit 4
Bit 2
Bit 4
Bit 4
Bit 0
Bit 4
Bit 2
Bit 4
Bit 4
[3]
Bit 3
Bit 3
Bit 1
Bit 3
Bit 3
Bit 3
Bit 1
Bit 3
Bit 3
[2]
Bit 2
Bit 2
Bit 0
Bit 2
Bit 2
Bit 2
Bit 0
Bit 2
Bit 2
[1]
Bit 1
Bit 1
Bit 1
Bit 1
Bit 1
Bit 1
Bit 1
[0]
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
Bit 0
IDUN
0
1
1
0
2
2
1
1
0
0
IDUS
0
0
1
0
0
1
0
1
0
0
PDL
0
0
0
1
0
0
1
1
2
3
27.3.4 Single frame and continuous capture modes
The digital video parallel interface (DVP) supports two types of capture: single frame and continuous
capture.
Single frame mode
A single frame mode is selected by setting CFM=1 in the DVP_CTRL register. In this mode, after the
CAP bit is set in the DVP_CTR register, the DVP interface starts sampling data on the next frame start
based on the received synchronization information. At the end of the frame, the DVP interface
automatically resets the CAP bit and stops capturing data.
Figure 27-6 Block diagram in single frame capture mode
DVP_VSYNC
DVP_D
blanking
blanking
Captured frame
blanking
set 1 to CAP
CAP
Continuous capture mode
The continuous capture mode is enabled by setting CFM=0 in the DVP_CTRL register. In this mode,
after the CAP bit is set in the DVP_CTRL register, the DVP interface, based on the received
synchronization information, starts sampling data on the start of the next frame start. This process
continues. When the CAP bit is cleared, the DVP interface keeps the CAP bit in Set state and continues
sampling data until the end of the current frame. At this point, the DVP interface resets the CAP bit and
stops data sampling.