Debian Codegraph @

docs/kxlresettimer.html

raw symbols SCIP
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
5 <meta name="GENERATOR" content="emacs">
6 <meta name="Author" content="kacchan">
7 <title>KXL_ResetTimer</title>
8 </head>
9 <body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000">
10
11 <a href="kxlgettimer.html">Prev</a>
12 <a href="KXL.html">Top</a>
13 <hr>
14
15 <b>Name</b><br><br>
16 <font size=+2>KXL_ResetTimer</font><br><br>
17
18 <b>Synopsis</b><br>
19 <pre>KXL_ResetTimer -- Timer interruption is reset.
20 </pre><br>
21
22 <b>Description</b><br>
23 <pre>void KXL_ResetTimer(void);</pre><br>
24
25 <b>Arguments</b><br><br>
26 Nothing.
27 <br><br><br>
28
29 <b>Return Value</b><br><br>
30 Nothing.
31 <br><br><br>
32
33 <b>Exsample</b><br>
34 <pre>
35 #include &lt;KXL.h&gt;
36
37 int main(void)
38 {
39 Uint16 count = 0;
40 Uint8 buff[64];
41
42 KXL_CreateWindow(100, 100, "kxl.org", 0);
43
44 KXL_Timer(1); // 1 interruption per second
45
46 while (count <= 10) {
47 KXL_ClearFrameImm(0, 0, 100, 100);
48 sprintf(buff, "%2d second", count ++);
49 KXL_PutText(8, 50, buff);
50 KXL_UpDateImm(0, 0, 100, 100);
51 while (KXL_GetTimer() == False);
52 <b>KXL_ResetTimer();</b>
53 }
54 KXL_DeleteWindow();
55 return 0;
56 }
57 </pre>
58
59 </body>
60 </html>