Line No. | Rev | Author | Line |
---|---|---|---|
1 | 6 | kaklik | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
||
3 | <title>Procyon AVRlib: servo.h File Reference</title> |
||
4 | <link href="dox.css" rel="stylesheet" type="text/css"> |
||
5 | </head><body> |
||
6 | <!-- Generated by Doxygen 1.4.2 --> |
||
7 | <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
||
8 | <h1>servo.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> |
||
9 | |||
10 | <p> |
||
11 | Definition in file <a class="el" href="servo_8h-source.html">servo.h</a>. |
||
12 | <p> |
||
13 | <code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</code><br> |
||
14 | <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br> |
||
15 | <code>#include "<a class="el" href="servoconf_8h-source.html">servoconf.h</a>"</code><br> |
||
16 | |||
17 | <p> |
||
18 | <a href="servo_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
||
19 | <tr><td></td></tr> |
||
20 | <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
||
21 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="servo.h::ServoChannelType"></a> |
||
22 | typedef struct_ServoChannel </td><td class="memItemRight" valign="bottom"><b>ServoChannelType</b></td></tr> |
||
23 | |||
24 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
||
25 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="servo.h::servoInit"></a> |
||
26 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a1">servoInit</a> (void)</td></tr> |
||
27 | |||
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">initializes software PWM system <br></td></tr> |
||
29 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="servo.h::servoOff"></a> |
||
30 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a2">servoOff</a> (void)</td></tr> |
||
31 | |||
32 | <tr><td class="mdescLeft"> </td><td class="mdescRight">turns off software PWM system <br></td></tr> |
||
33 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="servo.h::servoSetChannelIO"></a> |
||
34 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a3">servoSetChannelIO</a> (u08 channel, u08 port, u08 pin)</td></tr> |
||
35 | |||
36 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set port and I/O pin for channel <br></td></tr> |
||
37 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="servo.h::servoSetPosition"></a> |
||
38 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a4">servoSetPosition</a> (u08 channel, u08 position)</td></tr> |
||
39 | |||
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set servo position on channel <br></td></tr> |
||
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="servo.h::servoGetPosition"></a> |
||
42 | u08 </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a5">servoGetPosition</a> (u08 channel)</td></tr> |
||
43 | |||
44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get servo position on channel <br></td></tr> |
||
45 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="servo.h::servoSetPositionRaw"></a> |
||
46 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a6">servoSetPositionRaw</a> (u08 channel, u16 position)</td></tr> |
||
47 | |||
48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set servo position on channel (raw unscaled format) <br></td></tr> |
||
49 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="servo.h::servoGetPositionRaw"></a> |
||
50 | u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="servo_8h.html#a7">servoGetPositionRaw</a> (u08 channel)</td></tr> |
||
51 | |||
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get servo position on channel (raw unscaled format) <br></td></tr> |
||
53 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8" doxytag="servo.h::servoService"></a> |
||
54 | void </td><td class="memItemRight" valign="bottom"><b>servoService</b> (void)</td></tr> |
||
55 | |||
56 | </table> |
||
57 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by |
||
58 | <a href="http://www.doxygen.org/index.html"> |
||
59 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
||
60 | </body> |
||
61 | </html> |
Powered by WebSVN v2.8.3