beautypg.com

An269 – Cirrus Logic AN269 User Manual

Page 8

background image

8

AN269REV1

AN269

The Calculations for HClkStrt are

HClkStrt = HClkstotal - Offset of HClk

= 19 - 6

= 13

The Calculations for HClkStop are

HClkStop = HClksTotal - Screen Width + Offset of HClk

= 19 - 16 - 6

= -3

Since -3 is not in the range of 0 and HClksTotal, add the number of Horizontal Clocks.

= -3 + Number of Horizontal Clocks

= -3 + 20

HClkStop = 17

The values for HSyncStart, HSyncStop, HActiveStrt, HActiveStop, HBlankStrt, HBlankStop, HClkStrt and
HClkStop are shown in

Figure 2

.