A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 378 / 812
Register Name: CSI0_C2_BUF_CTL_REG
4.1.5.38. CSI CHANNEL_2 STATUS REGISTER
Register Name: CSI0_C2_BUF_STA_REG
LUM_STATIS
luminance statistical value
When frame done interrupt flag come, value is ready and will
last until next frame done.
For raw data, value = (G>>1+R+G)>>8
For yuv422, value = Y>>8
VCAP_STA
Video capture in progress
Indicates the CSI is capturing video image data (multiple
frames). The bit is set at the start of the first frame after
enabling video capture. When software disables video capture,
it clears itself after the last pixel of the current frame is captured.
SCAP_STA
Still capture in progress
Indicates the CSI is capturing still image data (single frame).
The bit is set at the start of the first frame after enabling still
frame capture. It clears itself after the last pixel of the first frame
is captured.
For CCIR656 interface, if the output format is frame planar
YCbCr 420 mode, the frame end means the field2 end, the
other frame end means filed end.
4.1.5.39. CSI CHANNEL_2 INTERRUPT ENABLE REGISTER
Register Name: CSI0_C2_INT_EN_REG