1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
7<meta http-equiv="Content-Style-Type" content="text/css">
8<link rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>VISetVSyncTimingTest</title>
10</head>
11
12<body>
13
14<h1 align="left">VISetVSyncTimingTest</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/vi.h&gt;
19
20void VISetVSyncTimingTest(void);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<p>None.</p>
28
29<h2>Description</h2>
30<p>This function is primarily used to test whether the switch from interlace to progressive mode occurred correctly. To switch modes, execute this function anytime during interlaced display and then execute <a href="VIGetVSyncTimingTest.html"><code>VIGetVSyncTimingTest</code></a> after the display switches to progressive mode.
31</p>
32
33<p>
34This function checks if the VI retrace interrupt timing is delayed.
35
36If the VI retrace interrupt timing is behind standard timing, the error counter increments by one. The error counter can be obtained using <a href="VIGetVSyncTimingTest.html"><code>VIGetVSyncTimingTest</code></a>. This check is carried out every field until <a href="VIGetVSyncTimingTest.html"><code>VIGetVSyncTimingTest</code></a> executes.
37</p>
38
39<p>
40If VI retrace interrupt timing is delayed when switching from interlace to progressive mode, there is a risk that the switch to progressive mode will not occur correctly. The main factor causing delays in VI retrace interrupt timing is long periods where interrupts are disabled. If the return value of <a href="VIGetVSyncTimingTest.html"><code>VIGetVSyncTimingTest</code></a> is not 0, be sure to check whether a long period where interrupts are disabled was set in the program.
41</p>
42
43<h2>See Also</h2>
44<P class="reference">
45<a href="VIGetVSyncTimingTest.html">VIGetVSyncTimingTest</a>
46</p>
47
48<h2>Revision History</h2>
49<p>
502006/06/06 Initial version.<br>
51</p>
52
53<hr><p>CONFIDENTIAL</p></body>
54</html>
55