📄 vt100_8c.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Procyon AVRlib: vt100.c File Reference</title><link href="dox.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><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><h1>vt100.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2><p>Definition in file <a class="el" href="vt100_8c-source.html">vt100.c</a>.<p><code>#include <avr/io.h></code><br><code>#include <avr/interrupt.h></code><br><code>#include <avr/pgmspace.h></code><br><code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</code><br><code>#include "<a class="el" href="rprintf_8h-source.html">rprintf.h</a>"</code><br><code>#include "<a class="el" href="vt100_8h-source.html">vt100.h</a>"</code><br><p><a href="vt100_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vt100_8c.html#a0">vt100Init</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="vt100.c::vt100ClearScreen"></a>void </td><td class="memItemRight" valign="bottom"><a class="el" href="vt100_8c.html#a1">vt100ClearScreen</a> (void)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="vt100_8c.html#a1">vt100ClearScreen()</a> clears the terminal screen <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vt100_8c.html#a2">vt100SetAttr</a> (u08 attr)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="vt100.c::vt100SetCursorMode"></a>void </td><td class="memItemRight" valign="bottom"><a class="el" href="vt100_8c.html#a3">vt100SetCursorMode</a> (u08 visible)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="vt100_8c.html#a3">vt100SetCursorMode()</a> sets the cursor to visible or invisible <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vt100_8c.html#a4">vt100SetCursorPos</a> (u08 line, u08 col)</td></tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a0" doxytag="vt100.c::vt100Init"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vt100Init </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="vt100_8c.html#a0">vt100Init()</a> initializes terminal and vt100 library Run this init routine once before using any other vt100 function. <p>Definition at line <a class="el" href="vt100_8c-source.html#l00035">35</a> of file <a class="el" href="vt100_8c-source.html">vt100.c</a>. </td> </tr></table><a class="anchor" name="a2" doxytag="vt100.c::vt100SetAttr"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vt100SetAttr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">u08 </td> <td class="mdname1" valign="top" nowrap> <em>attr</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="vt100_8c.html#a2">vt100SetAttr()</a> sets the text attributes like BOLD or REVERSE Text written to the terminal after this function is called will have the desired attribuutes. <p>Definition at line <a class="el" href="vt100_8c-source.html#l00048">48</a> of file <a class="el" href="vt100_8c-source.html">vt100.c</a>. </td> </tr></table><a class="anchor" name="a4" doxytag="vt100.c::vt100SetCursorPos"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void vt100SetCursorPos </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">u08 </td> <td class="mdname" nowrap> <em>line</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>u08 </td> <td class="mdname" nowrap> <em>col</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="vt100_8c.html#a4">vt100SetCursorPos()</a> sets the cursor position All text which is written to the terminal after a SetCursorPos command will begin at the new location of the cursor. <p>Definition at line <a class="el" href="vt100_8c-source.html#l00064">64</a> of file <a class="el" href="vt100_8c-source.html">vt100.c</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:09 2006 for Procyon AVRlib by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -