
Cypress EZ-USB CX3
EZ-USB® CX3 Technical Reference Manual, Doc. No. 001-91492 Rev. *B
26
1.10.11
CX3_BYTE_COUNT (Register Address: 0x0022)
This register configures the byte count per active line for the MIPI CSI-2 block.
This
register
is
set
by
the
API
and
queried
using
the
API.
BIT
15
14
13
12
11
10
9
8
NAME
BYTE COUNT [15:8]
TYPE
R/W
BIT
7
6
5
4
3
2
1
0
NAME
BYTE COUNT [7:0]
TYPE
R/W
Register Field
Bit
Description
BYTE COUNT
[15:0]
Total number of bytes per Line:
Number of bytes per line of input. This is computed as:
Number of Horizontal Pixels (Active Pixels) x Number of Bytes per Pixel.
For example, for a 1920x1080 RGB888 stream this value is computed as
follows:
Active pixels per line: 1920
Bytes per Pixel: 3
BYTE COUNT = 1920x3 = 5760 = 0x1680
BYTE COUNT [15:8] = 0x16
BYTE COUNT [7:0] = 0x80