beautypg.com

An269 – Cirrus Logic AN269 User Manual

Page 7

background image

AN269

AN269REV1

7

The Calculations for HClksTotal are

HClksTotal = Number of Horizontal Clocks - 1

= 20 -1

= 19

The Calculations for HSyncStart are

HSyncStart = HClksTotal + Offset of Sync

= 19 + 0

= 19

TheCalculations for HSyncStop are

HSyncStop = HClksTotal - Screen Width + Offset of Sync

= 19 - 16 + 0

= 3

TheCalculations for HActiveStrt are

HActiveStrt = HClksTotal + Offset of HActive

= 19 -1

= 18

The Calculations for HActiveStop are

HActiveStop = HClksTotal - Screen Width + Offset of HActive

= 19 - 16 -1

= 2

The Calculations for HBlankStrt are

HBlankStrt = HClksTotal + Offset of HActive

= 19 -1

= 18

The Calculations for HBlankStop are

HBlankStop = HClksTotal - Screen Width + Offset of HActive

= 19 - 16 -1

= 2