2 isi control 2 register – Rainbow Electronics AT91CAP9S250A User Manual

Page 924

Advertising
background image

924

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

45.4.2

ISI Control 2 Register

Register Name: ISI_CR2

Access Type: Read/Write

Reset Value: 0x0

• IM_VSIZE: Vertical size of the Image sensor [0..2047]

Vertical size = IM_VSIZE + 1

• GS_MODE

0: 2 pixels per word

1: 1 pixel per word

• RGB_MODE: RGB input mode

0: RGB 8:8:8 24 bits

1: RGB 5:6:5 16 bits

• GRAYSCALE

0: Grayscale mode is disabled

1: Input image is assumed to be grayscale coded

• RGB_SWAP

0: D7 -> R7

1: D0 -> R7

The RGB_SWAP has no effect when the grayscale mode is enabled.

• COL_SPACE: Color space for the image data

0: YCbCr

1: RGB

• IM_HSIZE: Horizontal size of the Image sensor [0..2047]

Horizontal size = IM_HSIZE + 1

31

30

29

28

27

26

25

24

RGB_CFG

YCC_SWAP

-

IM_HSIZE

23

22

21

20

19

18

17

16

IM_HSIZE

15

14

13

12

11

10

9

8

COL_SPACE

RGB_SWAP

GRAYSCALE

RGB_MODE

GS_MODE

IM_VSIZE

7

6

5

4

3

2

1

0

IM_VSIZE

Advertising