beautypg.com

An269 – Cirrus Logic AN269 User Manual

Page 45

background image

AN269

AN269REV1

45

Here is the Red grayscale LUT, in the order as would be seen in the EP93xx User’s Guide table “Grayscale
Look-Up Table (GrySclLUT)”
. Note that the upper-order bits D[18:16] are set in all registers, but only the
settings in base+0x0 through base+0x1C are used by the grayscale generator to determine if 3- or 4-count
entries are used.

Frame

Ctr

Vert

Ctr

Horz

Ctr

VCNT

(Lines)

11

11

11

11

10

10

10

10

01

01

01

01

00

00

00

00

GrySclLUT
Address *4

HCNT

(Pixels)

11

10

01

00

11

10

01

00

11

10

01

00

11

10

01

00

Frame

Pixel

Value

1

1

1

base+0x00

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

00

000

1

1

1

base+0x04

0

0

0

1

1

0

0

0

0

1

0

0

0

0

1

0

00

001

1

1

1

base+0x08

0

0

0

1

1

0

0

0

0

1

0

0

0

0

1

0

00

010

1

1

1

base+0x0C

0

1

0

1

1

1

0

0

0

1

0

1

0

0

1

1

00

011

1

1

1

base+0x10

0

1

0

1

1

1

0

0

0

1

0

1

0

0

1

1

00

100

1

1

1

base+0x14

1

1

1

0

0

1

1

1

1

0

1

1

1

1

0

1

00

101

1

1

1

base+0x18

1

1

1

0

0

1

1

1

1

0

1

1

1

1

0

1

00

110

1

1

1

base+0x1C

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

00

111

1

1

1

base+0x20

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

01

000

1

1

1

base+0x24

0

1

0

0

0

0

1

0

0

0

0

1

1

0

0

0

01

001

1

1

1

base+0x28

0

1

0

0

0

0

1

0

0

0

0

1

1

0

0

0

01

010

1

1

1

base+0x2C

1

0

1

0

0

0

1

1

1

0

1

0

1

1

0

0

01

011

1

1

1

base+0x30

1

0

1

0

0

0

1

1

1

0

1

0

1

1

0

0

01

100

1

1

1

base+0x34

1

0

1

1

1

1

0

1

1

1

1

0

0

1

1

1

01

101

1

1

1

base+0x38

1

0

1

1

1

1

0

1

1

1

1

0

0

1

1

1

01

110

1

1

1

base+0x3C

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

01

111

1

1

1

base+0x40

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

10

000

1

1

1

base+0x44

1

0

0

0

0

0

0

1

0

0

1

0

0

1

0

0

10

001

1

1

1

base+0x48

1

0

0

0

0

0

0

1

0

0

1

0

0

1

0

0

10

010

1

1

1

base+0x4C

1

1

0

0

0

1

0

1

0

0

1

1

0

1

0

1

10

011

1

1

1

base+0x50

1

1

0

0

0

1

0

1

0

0

1

1

0

1

0

1

10

100

1

1

1

base+0x54

0

1

1

1

1

1

1

0

1

1

0

1

1

0

1

1

10

101

1

1

1

base+0x58

0

1

1

1

1

1

1

0

1

1

0

1

1

0

1

1

10

110

1

1

1

base+0x5C

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

10

111

1

1

1

base+0x60

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

11

000

1

1

1

base+0x64

0

0

1

0

0

1

0

0

1

0

0

0

0

0

0

1

11

001

1

1

1

base+0x68

0

0

1

0

0

1

0

0

1

0

0

0

0

0

0

1

11

010

1

1

1

base+0x6C

0

0

1

1

1

0

1

0

1

1

0

0

1

0

1

0

11

011

1

1

1

base+0x70

0

0

1

1

1

0

1

0

1

1

0

0

1

0

1

0

11

100

1

1

1

base+0x74

1

1

0

1

1

0

1

1

0

1

1

1

1

1

1

0

11

101

1

1

1

base+0x78

1

1

0

1

1

0

1

1

0

1

1

1

1

1

1

0

11

110

1

1

1

base+0x7C

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

11

111