1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

- XMODEM and term code moved from main.c to common.c

- added full term support to the i386 platform (I was bored with all the docs ... :) )
- documentation updated
This commit is contained in:
Bogdan Marinescu 2009-03-23 21:07:49 +00:00
parent 94438ff64b
commit 9c15d2e4fc
17 changed files with 937 additions and 842 deletions

View File

@ -103,7 +103,7 @@ file_list = { 'SAM7-EX256' : [ 'bisect', 'hangman' , 'led', 'piano', 'hello', 'i
'EK-LM3S8962' : [ 'bisect', 'hangman', 'lhttpd', 'pong', 'led', 'piano', 'pwmled', 'tvbgone', 'hello', 'info', 'morse', 'adcscope','adcpoll' ],
'EK-LM3S6965' : [ 'bisect', 'hangman', 'lhttpd', 'pong', 'led', 'piano', 'pwmled', 'tvbgone', 'hello', 'info', 'morse', 'adcscope','adcpoll' ],
'STR9-COMSTICK' : [ 'bisect', 'hangman', 'led', 'hello', 'info' ],
'PC' : [ 'bisect', 'hello', 'info', 'life' ],
'PC' : [ 'bisect', 'hello', 'info', 'life', 'hangman' ],
'LPC-H2888' : [ 'bisect', 'hangman', 'led', 'hello', 'info' ],
'MOD711' : [ 'bisect', 'hangman', 'led', 'hello', 'info', 'dualpwm' ],
'STM3210E-EVAL' : [ 'bisect', 'hello', 'info' ],

View File

@ -1,127 +1,128 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Language" content="en-us"><title>Product</title>
<meta http-equiv="Content-Language" content="en-us"><title>eLua examples</title>
<link rel="stylesheet" type="text/css" href="../style.css"></head>
<body style="background-color: rgb(255, 255, 255);">
<h3>Lua Code Examples</h3>eLua distros come bundled with nice and fun
(yes! we have games too! :) Lua programs examples in the File System.
They are also included in the eLua
source code distribution, under the /romfs subdirectory. <br>Lua example programs for eLua are also presented and commented here. <br>As previously explained, you can run them directly from eLua's file
<h3>Lua Code Examples</h3>
<p><b>eLua</b> distros come bundled with nice and fun
(yes! we have games too! :) Lua programs examples in the File System. They are also included in the <b>eLua</b>
source code distribution, under the <i>/romfs</i> subdirectory. As previously explained, you can run them directly from <b>eLua</b>'s file
system or you can use the eLua shell and send them via XMODEM, as
described <a href="using.html#shell">here</a>.<br><br>
described <a href="using.html#shell">here</a>.</p>
<h3><a name="hello"></a>hello.lua: the ubiquitous "Hello, World!"</h3>
<p><strong>Runs on:&nbsp;</strong><br>All Targets</p><p><strong></strong>
<strong>Description:<br></strong>To call this a "program" is a gross overstatement, but it's a
<h3>hello.lua: the ubiquitous "Hello, World!"</h3>
<p><strong>Runs on: </strong>all targets</p>
<p><strong>Description: </strong>to call this a "program" is a gross overstatement, but it's a
tradition, so we respect it :) It just prints "Hello, World!" on the terminal and
returns to the shell. Download it only if you feel too lazy to fire up
the lua interpreter inside eLua and write it yourself :)</p><p><strong>Commented Source Code:</strong><br></p><p>print("Hello World")</p>
returns to the shell. Run it from the file system only if you feel too lazy to fire up
the lua interpreter inside eLua and write it yourself :)</p>
<h2><br></h2><h3><a name="info"></a>info.lua: getting the platform data</h3>
<p><strong>Runs on:&nbsp;</strong><br>All targets except i386</p><p><strong>Description:<br></strong>
This isn't really more advanced than "Hello, World!", but it does show
an eLua specific module: the platform data module (pd). You can read
more about the platform modules in the eLua source distribution
(docs/platform_modules.txt). The program will display the platform
<h3>info.lua: getting the platform data</h3>
<p><strong>Runs on: </strong>all targets</p>
<p><strong>Description: </strong>this isn't really more advanced than "Hello, World!", but it does show
an <b>eLua</b> specific module: the platform data module (<b>pd</b>). You can read
more about the platform modules <a href="">##here</a>. The program will display the platform
name, the CPU name, the board name and the CPU clock and then will exit
to the shell.</p><p><strong>Commented Source Code:</strong></p><p><span style="font-family: Courier New;">-- Uses module pd to access platform data and print it on the Terminal</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">print( "I'm running on platform " .. pd.platform() ) &nbsp;</span><br style="font-family: Courier New;"><span style="font-family: Courier New;">print( "The CPU is a " .. pd.cpu() )</span><br style="font-family: Courier New;"><span style="font-family: Courier New;"><span>print( "The board name is " .. pd.board(</span>) )</span><br></p><p></p>
to the shell.</p>
<h3>led.lua: the old LED blinker, the new eLua way</h3>
<h3><a name="led"></a>led.lua: the old LED blinker, the new eLua way</h3>
<p><strong>Runs on: </strong><br>All targets except i386</p><p><strong>Description:<br></strong><strong></strong>
Now we get to do something "more embedded": blink a LED. The code ilustrates a few interesting eLua features:</p>
<ul><li><p>cross platform code: the code assigns a different pin
<p><strong>Runs on: </strong> all targets except i386</p>
<p><strong>Description: </strong> now we get to do something "more embedded": blink a LED. The code illustrates a few interesting <b>eLua</b> features:
<ul><li><b>cross platform code</b>: the code assigns a different pin
to the LED starting from the board name. You can see how the platform
data module makes it very easy to write such portable code.</p></li><li><p>uart, pio, tmr, pd modules: they are all used here.</p></li></ul>
data module makes it very easy to write such portable code.</li>
<li><b>uart, pio, tmr, pd modules</b>: they are all used here.</li></ul></p>
<p>Watch it blink, then press any key to return to the eLua shell.</p>
<p>Watch it blink, then press any key to return to the eLua shell.</p><p><strong>Commented Source Code:</strong></p>
<h3><a name="hangman"></a>hangman.lua: taking advantage of your terminal</h3>
<p><strong>Runs on:&nbsp;</strong><br>All Targets except i386</p><strong></strong>
<strong></strong><p><strong>Description:<br></strong>By far the geekiest example from the eLua distribution (or would it be morse.lua? :), it makes use of
the term module (docs/terminal_support.txt) to let the user play a
BSD-like "hangman" directly in his terminal emulator. Run the example
<h3>hangman.lua: taking advantage of your terminal</h3>
<p><strong>Runs on: </strong>all targets</p>
<p><strong>Description: </strong>the geekiest example from the <b>eLua</b> distribution (or would it be morse.lua? :), it makes use of
the <a href="">##term module</a> to let the user play a BSD-like "hangman" directly in his terminal emulator. Run the example
and enjoy. Currently it has a very small list of words, as this was
written mainly as a proof of eLua's capabilities, but it's very easy to
add new words/replace the existing ones. A screenshot can be seen <a href="http://elua.berlios.de/other/elua_hangman.png">here</a>.</p><p></p>
add new words/replace the existing ones. A screenshot can be seen <a href="">##here</a>.</p>
<h3><a name="pwmled"></a>pwmled.lua: LED blinker, advanced class</h3><p><strong>Runs on:&nbsp;</strong><br>EK-LM3S8962,&nbsp;EK-LM3S6965</p><strong></strong>
<strong></strong><p><strong>Description:<br></strong>
This uses the PWM module to fade the on-board LED in and out, in an
<h3>pwmled.lua: LED blinker, advanced class</h3>
<p><strong>Runs on: </strong>EK-LM3S8962, EK-LM3S6965</p>
<p><strong>Description: </strong>this uses the PWM module to fade the on-board LED in and out, in an
infinite loop. Not much to say here, the code is very simple, yet the
results are quite spectacular. Press any key to end the sample and
return to the shell.</p><p></p>
return to the shell.</p>
<h3><a name="tvbgone"></a>tvbgone.lua: yes, eLua can do real time!</h3>
<h3>dualpwm.lua: because a single LED is just not enough</h3>
<p><strong>Runs on: </strong>MOD711</p>
<p><strong>Description: </strong>My <a target="_blank" href="http://www.sctec.com.br/content/view/101/30/">MOD711 board</a> needed a
"motherboard" for a few components (mainly the RS232-TTL level converter and a reset button) so I also added two LEDs to it, connected
to two different PWM channels. With this program, the two LEDs fade at the same type, but in different directions.</p>
<p><strong>Runs on:&nbsp;</strong><br>EK-LM3S8962,&nbsp;EK-LM3S6965</p><strong></strong>
<h3>pong.lua: eLua meets a classic</h3>
<p><strong>Runs on: </strong>EK-LM3S8962, EK-LM3S6965</p>
<p><strong>Description: </strong>a very simple, incomplete implementation of the famous <a target="_blank" href="http://en.wikipedia.org/wiki/Pong">pong</a>
game. It uses the display and keys on the EK-LM3S8962 or EK-LM3S6965 boards. It uses a platform dependent module (<b>disp</b>) and also shows how
<b>require</b> can be used from <b>eLua</b>.You can set different game speeds. Enjoy! :)</p>
<strong></strong><p><strong>Description:<br></strong>This is more complex, but also very important for eLua, because it
<h3>tvbgone.lua: yes, eLua can do real time!</h3>
<p><strong>Runs on: </strong>EK-LM3S8962, EK-LM3S6965</p>
<p><strong>Description: </strong>this is more complex, but also very important for <b>eLua</b>, because it
proves that real time applications (with relatively strict timing
requirements) can run from eLua directly. It's the famous TV-B-Gone
project adapted from <a href="http://www.ladyada.net/make/tvbgone/">LadyAda's kit</a>.
requirements) can run from <b>eLua</b> directly. It's the famous TV-B-Gone
project adapted from <a target="_blank" href="http://www.ladyada.net/make/tvbgone/">LadyAda's kit</a>.
If you're not familiar with TV-B-Gone, it knows how to do one thing
very well: power off your TV :) Basically it contains a lot of remote
control codes (for a lot of TVs) that are continously sent via an IR
LED. This code uses the PWM module (new in eLua 0.4) and it also does
LED. This code uses the PWM module (new in <b>eLua</b> 0.4) and it also does
file I/O from Lua, since the remote control codes are kept in a
separate file (which is also part of the ROM file system). To read the
binary file, the "pack" module (also new in 0.4) is used. To ensure
that we don't get any unexpected delays, the Lua garbage collector is
turned off. Take a look at this sample, it's both a very good proof of
the capabilities of eLua and a good learning resource. To use it on any
of the Cortex boards (EK-LM3S8962 or EK-LM3S6965) connect an IR LED
the capabilities of eLua and a good learning resource.<br>
To use it on EK-LM3S8962 or EK-LM3S6965 connect an IR LED
with a resistor between the "PWM2" and "GND" pins of the extension
connector. Get close to your TV and press the "select" button on your
board to start sending the IR codes. The on-board LED stays lit while
the codes are transmitted and shuts off afterwards. Press the "down"
button on your board to exit the application and return to the shell.</p><p></p>
button on your board to exit the application and return to the shell.</p>
<h3><a name="piano"></a>piano.lua: because PWM is great</h3><p><strong>Runs on:&nbsp;</strong><br>EK-LM3S8962,&nbsp;EK-LM3S6965, SAM7-EX256</p><strong></strong>
<strong></strong><p><strong>Description:<br></strong>
Yet another use for the PWM module, this sample can be used to "play"
<h3>piano.lua: because PWM is great</h3>
<p><strong>Runs on: </strong>EK-LM3S8962, EK-LM3S6965, SAM7-EX256</p>
<p><strong>Description: </strong>yet another use for the PWM module, this sample can be used to "play"
notes via the on-board speaker using the PC keyboard. The on-screen
keyboard shows what keys you must press for different notes, and you
can set your octave and inter-note delay. Press ESC to end your eLua
musical session :) A screenshot can be seen <a href="http://elua.berlios.de/other/elua_piano.png">here</a>.</p><p></p>
can set your octave and inter-note delay. Press ESC to end your <b>eLua</b>
musical session :) A screenshot can be seen <a href="##">here</a>.</p>
<h3><a name="bisect"></a>bisect.lua: floating point at its best</h3>
<p><strong>Runs on:&nbsp;</strong><br>All Targets</p><strong></strong>
<strong></strong><p><strong>Description:<br></strong>This is taken directly from the official Lua distribution, and it's
here to show that eLua can do floating point just like on a desktop
<h3>bisect.lua: floating point at its best</h3>
<p><strong>Runs on: </strong>all targets</p>
<p><strong>Description: </strong>this is taken directly from the official Lua distribution, and it's
here to show that <b>eLua</b> can do floating point just like on a desktop
machine, albeit slower. Run it on your target, then run it again, but
this time on the PC, and compare the results. Yes, they are identical.</p><p></p>
this time on the PC, and compare the results. Yes, they are identical.</p>
<h3><a name="morse"></a>morse.lua: because PWM is great, part II</h3>
<h3>life.lua: the game of life</h3>
<p><strong>Runs on: </strong>i386</p>
<p><strong>Description: </strong>another example taken directly from the Lua distribution, this time
the well known <a target="_blank" href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">game of life</a>.
Start it and enjoy. Only included on i386 by default because it's faster on i386, but it can run on other
platform too (although it requires quite a bit of memory, which is not a problem for boards with external
memory). </p>
<p><strong>Runs on:&nbsp;</strong><br>EK-LM3S8962,&nbsp;EK-LM3S6965, SAM7-EX256</p><strong></strong>
<strong></strong><p><strong>Description:<br></strong>This uses the same PWM module for Morse code generation. Just enter a
<h3>morse.lua: because PWM is great, part II</h3>
<p><strong>Runs on: </strong> EK-LM3S8962, EK-LM3S6965, SAM7-EX256</p>
<p><strong>Description: </strong>this uses the same PWM module for Morse code generation. Just enter a
text, and listen to it getting Morsed on your board's speaker and on a blinking Led. The
letters and Morse codes are also shown on the terminal. Use '+' and
'-'' to change the frequency, up and down arrows to change the speed,
's' to mute/unmute, and ESC to exit.</p><p></p>
's' to mute/unmute, and ESC to exit.</p>
<h3><a name="lhttpd"></a>lhttpd.lua: only with (e)Lua ...</h3>
<p><strong>Runs on:&nbsp;</strong><br>EK-LM3S8962,&nbsp;EK-LM3S6965<strong></strong>
<strong></strong><br></p><p><strong>Description:<br></strong>This is one of those things that can show the real potential of a
language (and hopefully the real potential of eLua in this case). As
<h3>lhttpd.lua: only with (e)Lua ...</h3>
<p><strong>Runs on: </strong>EK-LM3S8962, EK-LM3S6965</p>
<p><strong>Description: </strong>this is one of those things that can show the real potential of a
language (and hopefully the real potential of <b>eLua</b> in this case). As
you have probably guessed by now, it's a web server&nbsp;written in Lua.
Except that it is much more than this: it's a scripting web server! That's
Except that it is much more than this: it's a <b>scripting web server!</b> That's
right, you can embed parts of Lua code into your pages, and the server
will parse them and replace the Lua code with its output. To output
something from Lua code embedded in a web page, simply use "print" in
@ -139,6 +140,18 @@ and replace the Lua code with its output</li><li>if a file with
it and sends its output (via "print" statements)</li></ul>
<p>This is still work in progress, but it already works quite well.
Take a look at romfs/index.pht and romfs/test.lua from the source
Take a look at <i>romfs/index.pht</i> and <i>romfs/test.lua</i> from the source
distribution for an example of how to include Lua code in your HTML
files.</p><p></p><p></p><p></p></body></html>
files.</p>
<h3>adcscope.lua: ADCs and eLua, part I</h3>
<p><b>Runs on: </b>##TODO</p>
<p><b>Description: </b>##TODO
</p>
<h3>adcpoll.lua: ADCs and eLua, part II</h3>
<p><b>Runs on: </b>##TODO</p>
<p><b>Description: </b>##TODO
</p>
</body></html>

View File

@ -1,9 +1,90 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Language" content="en-us"><title>Product</title>
<meta http-equiv="Content-Language" content="en-us"><title>eLua version history</title>
<link rel="stylesheet" type="text/css" href="../style.css"></head>
<body style="background-color: rgb(255, 255, 255);"><h3><a name="title" href="http://www.eluaproject.net/en/Using_OpenOCD" class="local"></a>eLua Version's History</h3>
<div class="content"><span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span><br></div></body></html>
<body style="background-color: rgb(255, 255, 255);">
<h3>eLua version history</h3>
<p>The table below presents the history of all official <b>eLua</b> releases (in reversed order, newest to oldest).</p>
</p><table style="text-align: left" class="table_center">
<tbody>
<tr>
<th style="text-align: left;">Version</th>
<th style="text-align: center;">Release date</th>
<th style="text-align: center;">Description</th>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.5</td>
<td align="center">01.11.2008</td>
<td><ul>
<li>Added support for STR7 CPUs from ST</li>
<li>Added TCP/IP support using the uIP stack</li>
<li>Added support for console and shell over TCP/IP besides the previous serial link</li>
<li>Added the "net" module (eLua's interface to TCP/IP functions)</li>
<li>Added the "cpu" module (eLua's interface to the target CPU)</li>
<li>New samples: morse.lua (Morse code encoder), lhttpd.lua (Lua scripting HTTP server)</li>
<li>Added support for cross-compiling Lua code (compile on PC, run on target)</li>
<li>XMODEM can now receive Lua bytecode in addition to Lua source code</li>
<li>The XMODEM buffer is now dynamic (grows as needed) instead of fixed size</li>
<li>Project documentation updated</li>
</ul></td>
</tr>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.4.1</td>
<td align="center">10.09.2008</td>
<td><ul>
<li>changed from Lua version 5.1.3 to Lua version 5.1.4</li>
<li>Changed the file system structure; now you can build both Lua versions (floating point and int only) from the same directory</li>
<li>Made the math library configurable using the existent 'platform libraries' mechanism</li>
<li>The "os" and "package" modules are no longer loaded by Lua, since they can't be used anyway. Because of this, the code size of eLua was reduced.</li>
<li>Project documentation updated</li>
</ul></td>
</tr>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.4</td>
<td align="center">02.09.2008</td>
<td><ul>
<li>Added support for LPC2888 (preliminary)</li>
<li>Added PWM module</li>
<li>New samples: TV-B-Gone (power off your TV), piano (play piano from your PC keyboard), pwmled (fade led on/off), all based on the new PWM module</li>
<li>Added support for multiple memory spaces (this can be used to take advantage of both the internal CPU RAM and external RAM chips on boards that have external RAM)</li>
<li>Autorun: if "autorun.lua" is found in the filesystem, it is executed before starting the shell</li>
<li>Added "pack" (binary data packing/unpacking) and "bit" (binary operations) modules</li>
<li>Build system updated, easier to use, now it knows how to handle "boards" as well as CPUs</li>
<li>Modified the existing platform modules to take less RAM and to report an error when an unavailable resource is requested</li>
<li>Project documentation updated</li>
</ul></td>
</tr>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.3</td>
<td align="center">09.08.2008</td>
<td><ul>
<li>Now you can play hangman directly from <b>eLua</b> :), thanks to the new "term" module that handles ANSI escape sequences</li>
<li>Added support for ST STR912FAW44</li>
<li>Added support for Cortex LM3S6965</li>
<li>More intuitive and flexible build system (new syntax, component selection at build time)</li>
<li>eLua examples are now part of the repository</li>
<li>Project documentation updated</li>
</ul></td>
</tr>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.2</td>
<td align="center">27.08.2008</td>
<td><ul>
<li>Added support for Cortex LM3S8962</li>
<li>New platform modules (UART, SPI, Timer, platform data)</li>
<li>First release of the shell</li>
<li>Lua source files can now be sent to target with XMODEM</li>
<li>You can download binary file images from the "files" section, so you don't need to compile <b>eLua</b> yourself</li>
</ul></td>
</tr>
</tr>
<tr>
<td align="center" style="color: rgb(255, 102, 0);">0.1</td>
<td align="center">11.08.2008</td>
<td><ul><li>Initial release, had support for i386 and AT91SAM7X platform</li></ul></td>
</tr>
</tbody>
</table>
</body></html>

View File

@ -26,7 +26,7 @@ table {
margin-left: 1em;
}
pre {
border: 1px solid #62a0ff;
border: 1px dashed #62a0ff;
padding: 4px;
background-color: #cee7ff;
font-family: 'Monotype.com',"Courier New",Courier,monospace;

View File

@ -85,6 +85,68 @@ wb_usr.tree =
},
},
},
{
name = { en = "Downloads", pt = "Downloads" },
link = "dl_binaries.html",
folder =
{
{
name = { en = "Binaries", pt = "Binaries" },
link = "dl_binaries.html",
--[[
folder =
{
{
name = { en = "Atmel", pt = "Atmel" },
link = "lm_bin.html",
},
{
name = { en = "Luminary Micro", pt = "Luminary Micro" },
link = "lm_bin.html",
},
{
name = { en = "PC i386", pt = "PC i386" },
link = "lm_bin.html",
},
{
name = { en = "Phillips", pt = "Phillips" },
link = "lm_bin.html",
},
{
name = { en = "ST Micro", pt = "ST Micro" },
link = "lm_bin.html",
},
},
--]]
},
{
name = { en = "Source Code", pt = "Fontes" },
link = "dl_sources.html",
folder =
{
{
name = { en = "Official Releases", pt = "Versões Oficiais[B" },
link = "dl_sources.html"
},
{
name = { en = "SVN Public", pt = "SVN Público" },
link = "dl_sources.html#svnpublic"
},
{
name = { en = "Developers", pt = "Desenvolvedores" },
link = "dl_sources.html#svndev"
},
},
},
{
name = { en = "Old Versions", pt = "Versões Anteriores" },
link = "dl_old.html"
},
},
},
{
name = {en = "Community", pt = "Comunidade" },
link = "comunity.html",
@ -250,39 +312,6 @@ wb_usr.tree =
{
name = { en = "Examples", pt = "Exemplos" },
link = "examples.html",
folder =
{
{ name = { en = "hello.lua", pt = "hello.lua" },
link = "examples.html#hello",
},
{ name = { en = "info.lua", pt = "info.lua" },
link = "examples.html#info",
},
{ name = { en = "led.lua", pt = "led.lua" },
link = "examples.html#led",
},
{ name = { en = "hangman.lua", pt = "hangman.lua" },
link = "examples.html#hangman",
},
{ name = { en = "pwmled.lua", pt = "pwmled.lua" },
link = "examples.html#pwmled",
},
{ name = { en = "tvbgone.lua", pt = "tvbgone.lua" },
link = "examples.html#tvbgone",
},
{ name = { en = "piano.lua", pt = "piano.lua" },
link = "examples.html#piano",
},
{ name = { en = "bisect.lua", pt = "bisect.lua" },
link = "examples.html#bisect",
},
{ name = { en = "morse.lua", pt = "morse.lua" },
link = "examples.html#morse",
},
{ name = { en = "lhttpd.lua", pt = "lhttpd.lua" },
link = "examples.html#lhttpd",
},
},
},
{
name = { en = "Tutorials", pt = "Tutoriais" },
@ -318,18 +347,6 @@ wb_usr.tree =
{
name = {en = "Version History", pt = "Histórico de Versões" },
link = "versionhistory.html",
folder =
{
{ name = { en = "v 0.4", pt = "v 0.4" },
link = "versionhistory.html#04",
},
{ name = { en = "v 0.5", pt = "v 0.5" },
link = "versionhistory.html#05",
},
{ name = { en = "v 0.6", pt = "v 0.6" },
link = "versionhistory.html#06",
},
},
},
},
},
@ -760,69 +777,5 @@ wb_usr.tree =
},
},
},
{
name = { en = "", pt = "" }, -- Horizontal Separator
link = ""
},
{
name = { en = "Downloads", pt = "Downloads" },
link = "dl_binaries.html",
folder =
{
{
name = { en = "Binaries", pt = "Binaries" },
link = "dl_binaries.html",
--[[
folder =
{
{
name = { en = "Atmel", pt = "Atmel" },
link = "lm_bin.html",
},
{
name = { en = "Luminary Micro", pt = "Luminary Micro" },
link = "lm_bin.html",
},
{
name = { en = "PC i386", pt = "PC i386" },
link = "lm_bin.html",
},
{
name = { en = "Phillips", pt = "Phillips" },
link = "lm_bin.html",
},
{
name = { en = "ST Micro", pt = "ST Micro" },
link = "lm_bin.html",
},
},
--]]
},
{
name = { en = "Source Code", pt = "Fontes" },
link = "dl_sources.html",
folder =
{
{
name = { en = "Official Releases", pt = "Versões Oficiais[B" },
link = "dl_sources.html"
},
{
name = { en = "SVN Public", pt = "SVN Público" },
link = "dl_sources.html#svnpublic"
},
{
name = { en = "Developers", pt = "Desenvolvedores" },
link = "dl_sources.html#svndev"
},
},
},
{
name = { en = "Old Versions", pt = "Versões Anteriores" },
link = "dl_old.html"
},
},
},
},
}

View File

@ -18,16 +18,16 @@ en/tutorials.html
en/arch_coding.html
en/tut_openocd.html
en/refman.html
en/arch_newport.html
en/arch_romfs.html
en/net_ref.html
en/tchainbuild.html
en/arch_romfs.html
en/arch_newport.html
en/tc_arm.html
en/arch_ltr.html
en/installing_avr32.html
en/installing_str7.html
en/installing_at91sam7x.html
en/installing.html
en/tc_arm.html
en/tchainbuild.html
en/using.html
en/versionhistory.html
en/toolchains.html

View File

@ -18,16 +18,16 @@ pt/tutorials.html
pt/arch_coding.html
pt/tut_openocd.html
pt/refman.html
pt/arch_newport.html
pt/arch_romfs.html
pt/net_ref.html
pt/tchainbuild.html
pt/arch_romfs.html
pt/arch_newport.html
pt/tc_arm.html
pt/arch_ltr.html
pt/installing_avr32.html
pt/installing_str7.html
pt/installing_at91sam7x.html
pt/installing.html
pt/tc_arm.html
pt/tchainbuild.html
pt/using.html
pt/versionhistory.html
pt/toolchains.html

View File

@ -228,231 +228,213 @@
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link6folder.1" href="en/overview.html#contacts">Contacts</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link7folder.1" href="en/overview.html#license">License</a></p>
</div>
<p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link8folder.2" class="el" href="en/comunity.html">Community</a></p>
<p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link8folder.2" class="el" href="en/dl_binaries.html">Downloads</a></p>
<div id="folder.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link9folder.2" href="en/comunity.html#lists">Lists</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link10folder.2" href="en/comunity.html#forums">Forums</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link11folder.2" href="en/comunity.html#credits">Credits</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link9folder.2" href="en/dl_binaries.html">Binaries</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2.1')"><a name="link10folder.2.1" class="el" href="en/dl_sources.html">Source Code</a></p>
<div id="folder.2.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link11folder.2.1" href="en/dl_sources.html">Official Releases</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link12folder.2.1" href="en/dl_sources.html#svnpublic">SVN Public</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link13folder.2.1" href="en/dl_sources.html#svndev">Developers</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link14folder.2" href="en/dl_old.html">Old Versions</a></p>
</div>
<p><img src="wb_img/node.png"><a class="el" name="link12folder" href="en/news.html">News</a></p>
<p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link13folder.3" class="el" href="en/status.html">Status</a></p>
<p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link15folder.3" class="el" href="en/comunity.html">Community</a></p>
<div id="folder.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link14folder.3" href="en/status.html#platforms">Platforms Supported</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link15folder.3" href="en/status.html#roadmap">Roadmap</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link16folder.3" href="en/comunity.html#lists">Lists</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link17folder.3" href="en/comunity.html#forums">Forums</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link18folder.3" href="en/comunity.html#credits">Credits</a></p>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link16folder.4" class="el" href="en/doc.html">Documentation</a></p>
<p><img src="wb_img/node.png"><a class="el" name="link19folder" href="en/news.html">News</a></p>
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link20folder.4" class="el" href="en/status.html">Status</a></p>
<div id="folder.4">
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.1')"><a name="link17folder.4.1" class="el" href="en/building.html">Building</a></p>
<div id="folder.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link18folder.4.1" href="en/toolchains.html">Toolchains</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2')"><a name="link19folder.4.2" class="el" href="en/installing.html">Installing</a></p>
<div id="folder.4.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link20folder.4.2" href="en/installing_at91sam7x.html">AT91SAM7X</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link21folder.4.2" href="en/installing_lm3s.html">LM3S</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link22folder.4.2" href="en/installing_avr32.html">AVR32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link23folder.4.2" href="en/installing_lpc2888.html">LPC288x</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link24folder.4.2" href="en/installing_str7.html">STR7</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link25folder.4.2" href="en/installing_str9.html">STR9</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link26folder.4.2" href="en/installing_stm32.html">STM32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link27folder.4.2" href="en/installing_i386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.3')"><a name="link28folder.4.3" class="el" href="en/using.html">Using</a></p>
<div id="folder.4.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link29folder.4.3" href="en/using.html#uart">Over UART</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link30folder.4.3" href="en/using.html#tcpip">Over TCP/IP</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link31folder.4.3" href="en/using.html#shell">The shell</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link32folder.4.3" href="en/using.html#cross">Cross-compiling</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link33folder.4" href="en/faq.html">FAQ</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4')"><a name="link34folder.4.4" class="el" href="en/arch.html">Architecture</a></p>
<div id="folder.4.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4.1')"><a name="link35folder.4.4.1" class="el" href="en/arch_overview.html">Overview</a></p>
<div id="folder.4.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link36folder.4.4.1" href="en/arch_overview.html#structure">Structure</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link37folder.4.4.1" href="en/arch_overview.html#common">Common code</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link38folder.4.4.1" href="en/arch_overview.html#platform">Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link39folder.4.4.1" href="en/arch_overview.html#platforms">Platforms/ports</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link40folder.4.4.1" href="en/arch_overview.html#boot">Booting eLua</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link41folder.4.4" href="en/arch_platform.html">Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link42folder.4.4" href="en/arch_romfs.html">ROM file system</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link43folder.4.4" href="en/arch_newport.html">Adding a new port</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link44folder.4.4" href="en/arch_ltr.html">Modules and LTR</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link45folder.4.4" href="en/arch_con_term.html">Consoles and terminals</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link46folder.4.4" href="en/arch_tcpip.html">TCP/IP in eLua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link47folder.4.4" href="en/arch_coding.html">eLua coding style</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.5')"><a name="link48folder.4.5" class="el" href="en/examples.html">Examples</a></p>
<div id="folder.4.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link49folder.4.5" href="en/examples.html#hello">hello.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link50folder.4.5" href="en/examples.html#info">info.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link51folder.4.5" href="en/examples.html#led">led.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link52folder.4.5" href="en/examples.html#hangman">hangman.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link53folder.4.5" href="en/examples.html#pwmled">pwmled.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link54folder.4.5" href="en/examples.html#tvbgone">tvbgone.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link55folder.4.5" href="en/examples.html#piano">piano.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link56folder.4.5" href="en/examples.html#bisect">bisect.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link57folder.4.5" href="en/examples.html#morse">morse.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link58folder.4.5" href="en/examples.html#lhttpd">lhttpd.lua</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6')"><a name="link59folder.4.6" class="el" href="en/tutorials.html">Tutorials</a></p>
<div id="folder.4.6">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link60folder.4.6" href="en/tut_bootpc.html">Booting on a PC</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link61folder.4.6" href="en/tut_bootstick.html">Booting from a Pendrive</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6.1')"><a name="link62folder.4.6.1" class="el" href="en/tchainbuild.html">Toolchain Building</a></p>
<div id="folder.4.6.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link63folder.4.6.1" href="en/tc_arm.html">ARM7 & ARM9 Toolchains</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link64folder.4.6.1" href="en/tc_cortex.html">ARM Cortex-M3</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link65folder.4.6.1" href="en/tc_386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link66folder.4.6" href="en/tut_openocd.html">Using OpenOCD</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.7" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.7')"><a name="link67folder.4.7" class="el" href="en/versionhistory.html">Version History</a></p>
<div id="folder.4.7">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link68folder.4.7" href="en/versionhistory.html#04">v 0.4</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link69folder.4.7" href="en/versionhistory.html#05">v 0.5</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link70folder.4.7" href="en/versionhistory.html#06">v 0.6</a></p>
</div>
</div>
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link71folder.5" class="el" href="en/refman.html#genericmodules">Reference Manual</a></p>
<div id="folder.5">
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link72folder.5.1" class="el" href="en/refman.html#genericmodules">Generic Modules</a></p>
<div id="folder.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.1')"><a name="link73folder.5.1.1" class="el" href="en/refman.html#bitmodule">bit</a></p>
<div id="folder.5.1.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link74folder.5.1.1" href="en/refman.html#bit_bnot">bnot</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link75folder.5.1.1" href="en/refman.html#bit_band">band</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link76folder.5.1.1" href="en/refman.html#bit_bor">bor</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link77folder.5.1.1" href="en/refman.html#bit_bxor">bxor</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link78folder.5.1.1" href="en/refman.html#bit_lshift">lshift</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link79folder.5.1.1" href="en/refman.html#bit_rshift">rshift</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link80folder.5.1.1" href="en/refman.html#bit_bit">bit</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link81folder.5.1.1" href="en/refman.html#bit_set">set</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link82folder.5.1.1" href="en/refman.html#bit_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link83folder.5.1.1" href="en/refman.html#bit_isset">isset</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link84folder.5.1.1" href="en/refman.html#bit_isclear">isclear</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.2')"><a name="link85folder.5.1.2" class="el" href="en/refman.html#cpumodule">cpu</a></p>
<div id="folder.5.1.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link86folder.5.1.2" href="en/refman.html#cpu_write32">write32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link87folder.5.1.2" href="en/refman.html#cpu_write16">write16</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link88folder.5.1.2" href="en/refman.html#cpu_write8">write8</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link89folder.5.1.2" href="en/refman.html#cpu_read32">reat32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link90folder.5.1.2" href="en/refman.html#cpu_read16">read16</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link91folder.5.1.2" href="en/refman.html#cpu_read8">read8</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link92folder.5.1.2" href="en/refman.html#cpu_disableinterrupts">disableinterrupts</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link93folder.5.1.2" href="en/refman.html#cpu_enableinterrupts">enableinterrupts</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link94folder.5.1.2" href="en/refman.html#cpu_clockfrequency">clockfrequency</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.3')"><a name="link95folder.5.1.3" class="el" href="en/refman.html#gpiomodule">gpio</a></p>
<div id="folder.5.1.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link96folder.5.1.3" href="en/refman.html#gpio_configpin">configpin</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link97folder.5.1.3" href="en/refman.html#gpio_setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link98folder.5.1.3" href="en/refman.html#gpio_getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link99folder.5.1.3" href="en/refman.html#gpio_setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link100folder.5.1.3" href="en/refman.html#gpio_setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.4')"><a name="link101folder.5.1.4" class="el" href="en/refman.html#netmodule">net</a></p>
<div id="folder.5.1.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link102folder.5.1.4" href="en/net_ref.html#net_setup">to be added ...</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.5')"><a name="link103folder.5.1.5" class="el" href="en/refman.html#pwmmodule">pwm</a></p>
<div id="folder.5.1.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link104folder.5.1.5" href="en/refman.html#pwm_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link105folder.5.1.5" href="en/refman.html#pwm_setcycle">setcycle</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link106folder.5.1.5" href="en/refman.html#pwm_start">start</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link107folder.5.1.5" href="en/refman.html#pwm_stop">stop</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link108folder.5.1.5" href="en/refman.html#pwm_setclock">setclock</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link109folder.5.1.5" href="en/refman.html#pwm_getclock">getclock</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.6')"><a name="link110folder.5.1.6" class="el" href="en/refman.html#spimodules">spi</a></p>
<div id="folder.5.1.6">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link111folder.5.1.6" href="en/refman.html#spi_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link112folder.5.1.6" href="en/refman.html#spi_select">select</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link113folder.5.1.6" href="en/refman.html#spi_unselect">unselect</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link114folder.5.1.6" href="en/refman.html#spi_send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link115folder.5.1.6" href="en/refman.html#spi_sendrecv">sendrecv</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.7" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.7')"><a name="link116folder.5.1.7" class="el" href="en/refman.html#sysmodule">sys</a></p>
<div id="folder.5.1.7">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link117folder.5.1.7" href="en/refman.html#sys_platforms">platform</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link118folder.5.1.7" href="en/refman.html#sys_mcu">mcu</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link119folder.5.1.7" href="en/refman.html#sys_cpu">cpu</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link120folder.5.1.7" href="en/refman.html#sys_board">board</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.8" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.8')"><a name="link121folder.5.1.8" class="el" href="en/refman.html#termmodule">term</a></p>
<div id="folder.5.1.8">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link122folder.5.1.8" href="en/refman.html#term_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link123folder.5.1.8" href="en/refman.html#term_cleareol">cleareol</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link124folder.5.1.8" href="en/refman.html#term_moveto">moveto</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link125folder.5.1.8" href="en/refman.html#term_moveup">moveup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link126folder.5.1.8" href="en/refman.html#term_movedown">movedown</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link127folder.5.1.8" href="en/refman.html#term_moveleft">moveleft</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link128folder.5.1.8" href="en/refman.html#term_moveright">moveright</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link129folder.5.1.8" href="en/refman.html#term_getlinecount">getlinecount</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link130folder.5.1.8" href="en/refman.html#term_getcolcount">getcolcount</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link131folder.5.1.8" href="en/refman.html#term_printstr">printstr</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link132folder.5.1.8" href="en/refman.html#term_getx">getx</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link133folder.5.1.8" href="en/refman.html#term_gety">gety</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link134folder.5.1.8" href="en/refman.html#term_inputchar">inputchar</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.9" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.9')"><a name="link135folder.5.1.9" class="el" href="en/refman.html#tmrmodule">tmr</a></p>
<div id="folder.5.1.9">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link136folder.5.1.9" href="en/refman.html#tmr_delay">delay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link137folder.5.1.9" href="en/refman.html#tmr_read">read</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link138folder.5.1.9" href="en/refman.html#tmr_start">start</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link139folder.5.1.9" href="en/refman.html#tmr_diff">diff</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link140folder.5.1.9" href="en/refman.html#tmr_mindelay">mindelay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link141folder.5.1.9" href="en/refman.html#tmr_maxdelay">maxdelay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link142folder.5.1.9" href="en/refman.html#tmr_setclock">setclock</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.10" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.1.10')"><a name="link143folder.5.1.10" class="el" href="en/refman.html#uartmodule">uart</a></p>
<div id="folder.5.1.10">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link144folder.5.1.10" href="en/refman.html#uart_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link145folder.5.1.10" href="en/refman.html#uart_send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link146folder.5.1.10" href="en/refman.html#uart_recv">recv</a></p>
</div>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.2')"><a name="link147folder.5.2" class="el" href="en/refman.html#platdepmodules">Platform Dependent Modules</a></p>
<div id="folder.5.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.5.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.2.1')"><a name="link148folder.5.2.1" class="el" href="en/refman.html#adcmodule">adc</a></p>
<div id="folder.5.2.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link149folder.5.2.1" href="en/refman.html#adc_sample">sample</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.5.2.1" href="en/refman.html#adc_getsamples">getsamples</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link151folder.5.2.1" href="en/refman.html#adc_maxval">maxval</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link152folder.5.2.1" href="en/refman.html#adc_samplesready">samplesready</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link153folder.5.2.1" href="en/refman.html#adc_dataready">dataready</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link154folder.5.2.1" href="en/refman.html#adc_setmode">setmode</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link155folder.5.2.1" href="en/refman.html#adc_setsmoothing">setsmoothing</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link156folder.5.2.1" href="en/refman.html#adc_getsmoothing">getsmoothing</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link157folder.5.2.1" href="en/refman.html#adc_burst">burst</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.5.2.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.2.2')"><a name="link158folder.5.2.2" class="el" href="en/refman.html#dispmodule">disp</a></p>
<div id="folder.5.2.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link159folder.5.2.2" href="en/refman.html#disp_init">init</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link160folder.5.2.2" href="en/refman.html#disp_enable">enable</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link161folder.5.2.2" href="en/refman.html#disp_disable">disable</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link162folder.5.2.2" href="en/refman.html#disp_on">on</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link163folder.5.2.2" href="en/refman.html#disp_off">off</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link164folder.5.2.2" href="en/refman.html#disp_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link165folder.5.2.2" href="en/refman.html#disp_print">print</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link166folder.5.2.2" href="en/refman.html#disp_draw">draw</a></p>
</div>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link21folder.4" href="en/status.html#platforms">Platforms Supported</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link22folder.4" href="en/status.html#roadmap">Roadmap</a></p>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
<p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link167folder.6" class="el" href="en/dl_binaries.html">Downloads</a></p>
<div id="folder.6">
<p><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link168folder.6" href="en/dl_binaries.html">Binaries</a></p>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1')"><a name="link169folder.6.1" class="el" href="en/dl_sources.html">Source Code</a></p>
<div id="folder.6.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link170folder.6.1" href="en/dl_sources.html">Official Releases</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link171folder.6.1" href="en/dl_sources.html#svnpublic">SVN Public</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link172folder.6.1" href="en/dl_sources.html#svndev">Developers</a></p>
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link23folder.5" class="el" href="en/doc.html">Documentation</a></p>
<div id="folder.5">
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link24folder.5.1" class="el" href="en/building.html">Building</a></p>
<div id="folder.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link25folder.5.1" href="en/toolchains.html">Toolchains</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.2')"><a name="link26folder.5.2" class="el" href="en/installing.html">Installing</a></p>
<div id="folder.5.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link27folder.5.2" href="en/installing_at91sam7x.html">AT91SAM7X</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link28folder.5.2" href="en/installing_lm3s.html">LM3S</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link29folder.5.2" href="en/installing_avr32.html">AVR32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link30folder.5.2" href="en/installing_lpc2888.html">LPC288x</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link31folder.5.2" href="en/installing_str7.html">STR7</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link32folder.5.2" href="en/installing_str9.html">STR9</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link33folder.5.2" href="en/installing_stm32.html">STM32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link34folder.5.2" href="en/installing_i386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.3')"><a name="link35folder.5.3" class="el" href="en/using.html">Using</a></p>
<div id="folder.5.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link36folder.5.3" href="en/using.html#uart">Over UART</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link37folder.5.3" href="en/using.html#tcpip">Over TCP/IP</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link38folder.5.3" href="en/using.html#shell">The shell</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link39folder.5.3" href="en/using.html#cross">Cross-compiling</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link40folder.5" href="en/faq.html">FAQ</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.4')"><a name="link41folder.5.4" class="el" href="en/arch.html">Architecture</a></p>
<div id="folder.5.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.4.1')"><a name="link42folder.5.4.1" class="el" href="en/arch_overview.html">Overview</a></p>
<div id="folder.5.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link43folder.5.4.1" href="en/arch_overview.html#structure">Structure</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link44folder.5.4.1" href="en/arch_overview.html#common">Common code</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link45folder.5.4.1" href="en/arch_overview.html#platform">Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link46folder.5.4.1" href="en/arch_overview.html#platforms">Platforms/ports</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link47folder.5.4.1" href="en/arch_overview.html#boot">Booting eLua</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link48folder.5.4" href="en/arch_platform.html">Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link49folder.5.4" href="en/arch_romfs.html">ROM file system</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link50folder.5.4" href="en/arch_newport.html">Adding a new port</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link51folder.5.4" href="en/arch_ltr.html">Modules and LTR</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link52folder.5.4" href="en/arch_con_term.html">Consoles and terminals</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link53folder.5.4" href="en/arch_tcpip.html">TCP/IP in eLua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link54folder.5.4" href="en/arch_coding.html">eLua coding style</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link55folder.5" href="en/examples.html">Examples</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.5')"><a name="link56folder.5.5" class="el" href="en/tutorials.html">Tutorials</a></p>
<div id="folder.5.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link57folder.5.5" href="en/tut_bootpc.html">Booting on a PC</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link58folder.5.5" href="en/tut_bootstick.html">Booting from a Pendrive</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.5.1')"><a name="link59folder.5.5.1" class="el" href="en/tchainbuild.html">Toolchain Building</a></p>
<div id="folder.5.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link60folder.5.5.1" href="en/tc_arm.html">ARM7 & ARM9 Toolchains</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link61folder.5.5.1" href="en/tc_cortex.html">ARM Cortex-M3</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link62folder.5.5.1" href="en/tc_386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link63folder.5.5" href="en/tut_openocd.html">Using OpenOCD</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link64folder.5" href="en/versionhistory.html">Version History</a></p>
</div>
<p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link65folder.6" class="el" href="en/refman.html#genericmodules">Reference Manual</a></p>
<div id="folder.6">
<p><img src="wb_img/blank.png"><img name="imgfolder.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1')"><a name="link66folder.6.1" class="el" href="en/refman.html#genericmodules">Generic Modules</a></p>
<div id="folder.6.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.1')"><a name="link67folder.6.1.1" class="el" href="en/refman.html#bitmodule">bit</a></p>
<div id="folder.6.1.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link68folder.6.1.1" href="en/refman.html#bit_bnot">bnot</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link69folder.6.1.1" href="en/refman.html#bit_band">band</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link70folder.6.1.1" href="en/refman.html#bit_bor">bor</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link71folder.6.1.1" href="en/refman.html#bit_bxor">bxor</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link72folder.6.1.1" href="en/refman.html#bit_lshift">lshift</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link73folder.6.1.1" href="en/refman.html#bit_rshift">rshift</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link74folder.6.1.1" href="en/refman.html#bit_bit">bit</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link75folder.6.1.1" href="en/refman.html#bit_set">set</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link76folder.6.1.1" href="en/refman.html#bit_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link77folder.6.1.1" href="en/refman.html#bit_isset">isset</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link78folder.6.1.1" href="en/refman.html#bit_isclear">isclear</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.2')"><a name="link79folder.6.1.2" class="el" href="en/refman.html#cpumodule">cpu</a></p>
<div id="folder.6.1.2">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link80folder.6.1.2" href="en/refman.html#cpu_write32">write32</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link81folder.6.1.2" href="en/refman.html#cpu_write16">write16</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link82folder.6.1.2" href="en/refman.html#cpu_write8">write8</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link83folder.6.1.2" href="en/refman.html#cpu_read32">reat32</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link84folder.6.1.2" href="en/refman.html#cpu_read16">read16</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link85folder.6.1.2" href="en/refman.html#cpu_read8">read8</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link86folder.6.1.2" href="en/refman.html#cpu_disableinterrupts">disableinterrupts</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link87folder.6.1.2" href="en/refman.html#cpu_enableinterrupts">enableinterrupts</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link88folder.6.1.2" href="en/refman.html#cpu_clockfrequency">clockfrequency</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.3')"><a name="link89folder.6.1.3" class="el" href="en/refman.html#gpiomodule">gpio</a></p>
<div id="folder.6.1.3">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link90folder.6.1.3" href="en/refman.html#gpio_configpin">configpin</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link91folder.6.1.3" href="en/refman.html#gpio_setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link92folder.6.1.3" href="en/refman.html#gpio_getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link93folder.6.1.3" href="en/refman.html#gpio_setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link94folder.6.1.3" href="en/refman.html#gpio_setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.4')"><a name="link95folder.6.1.4" class="el" href="en/refman.html#netmodule">net</a></p>
<div id="folder.6.1.4">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link96folder.6.1.4" href="en/net_ref.html#net_setup">to be added ...</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.5')"><a name="link97folder.6.1.5" class="el" href="en/refman.html#pwmmodule">pwm</a></p>
<div id="folder.6.1.5">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link98folder.6.1.5" href="en/refman.html#pwm_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link99folder.6.1.5" href="en/refman.html#pwm_setcycle">setcycle</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link100folder.6.1.5" href="en/refman.html#pwm_start">start</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link101folder.6.1.5" href="en/refman.html#pwm_stop">stop</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link102folder.6.1.5" href="en/refman.html#pwm_setclock">setclock</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link103folder.6.1.5" href="en/refman.html#pwm_getclock">getclock</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.6')"><a name="link104folder.6.1.6" class="el" href="en/refman.html#spimodules">spi</a></p>
<div id="folder.6.1.6">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link105folder.6.1.6" href="en/refman.html#spi_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link106folder.6.1.6" href="en/refman.html#spi_select">select</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link107folder.6.1.6" href="en/refman.html#spi_unselect">unselect</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link108folder.6.1.6" href="en/refman.html#spi_send">send</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link109folder.6.1.6" href="en/refman.html#spi_sendrecv">sendrecv</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.7" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.7')"><a name="link110folder.6.1.7" class="el" href="en/refman.html#sysmodule">sys</a></p>
<div id="folder.6.1.7">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link111folder.6.1.7" href="en/refman.html#sys_platforms">platform</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link112folder.6.1.7" href="en/refman.html#sys_mcu">mcu</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link113folder.6.1.7" href="en/refman.html#sys_cpu">cpu</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link114folder.6.1.7" href="en/refman.html#sys_board">board</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.8" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.8')"><a name="link115folder.6.1.8" class="el" href="en/refman.html#termmodule">term</a></p>
<div id="folder.6.1.8">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link116folder.6.1.8" href="en/refman.html#term_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link117folder.6.1.8" href="en/refman.html#term_cleareol">cleareol</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link118folder.6.1.8" href="en/refman.html#term_moveto">moveto</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link119folder.6.1.8" href="en/refman.html#term_moveup">moveup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link120folder.6.1.8" href="en/refman.html#term_movedown">movedown</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link121folder.6.1.8" href="en/refman.html#term_moveleft">moveleft</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link122folder.6.1.8" href="en/refman.html#term_moveright">moveright</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link123folder.6.1.8" href="en/refman.html#term_getlinecount">getlinecount</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link124folder.6.1.8" href="en/refman.html#term_getcolcount">getcolcount</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link125folder.6.1.8" href="en/refman.html#term_printstr">printstr</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link126folder.6.1.8" href="en/refman.html#term_getx">getx</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link127folder.6.1.8" href="en/refman.html#term_gety">gety</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link128folder.6.1.8" href="en/refman.html#term_inputchar">inputchar</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.9" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.9')"><a name="link129folder.6.1.9" class="el" href="en/refman.html#tmrmodule">tmr</a></p>
<div id="folder.6.1.9">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link130folder.6.1.9" href="en/refman.html#tmr_delay">delay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link131folder.6.1.9" href="en/refman.html#tmr_read">read</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link132folder.6.1.9" href="en/refman.html#tmr_start">start</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link133folder.6.1.9" href="en/refman.html#tmr_diff">diff</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link134folder.6.1.9" href="en/refman.html#tmr_mindelay">mindelay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link135folder.6.1.9" href="en/refman.html#tmr_maxdelay">maxdelay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link136folder.6.1.9" href="en/refman.html#tmr_setclock">setclock</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.10" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.1.10')"><a name="link137folder.6.1.10" class="el" href="en/refman.html#uartmodule">uart</a></p>
<div id="folder.6.1.10">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link138folder.6.1.10" href="en/refman.html#uart_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link139folder.6.1.10" href="en/refman.html#uart_send">send</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link140folder.6.1.10" href="en/refman.html#uart_recv">recv</a></p>
</div>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.2')"><a name="link141folder.6.2" class="el" href="en/refman.html#platdepmodules">Platform Dependent Modules</a></p>
<div id="folder.6.2">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img name="imgfolder.6.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.2.1')"><a name="link142folder.6.2.1" class="el" href="en/refman.html#adcmodule">adc</a></p>
<div id="folder.6.2.1">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link143folder.6.2.1" href="en/refman.html#adc_sample">sample</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link144folder.6.2.1" href="en/refman.html#adc_getsamples">getsamples</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link145folder.6.2.1" href="en/refman.html#adc_maxval">maxval</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link146folder.6.2.1" href="en/refman.html#adc_samplesready">samplesready</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link147folder.6.2.1" href="en/refman.html#adc_dataready">dataready</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link148folder.6.2.1" href="en/refman.html#adc_setmode">setmode</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link149folder.6.2.1" href="en/refman.html#adc_setsmoothing">setsmoothing</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.6.2.1" href="en/refman.html#adc_getsmoothing">getsmoothing</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link151folder.6.2.1" href="en/refman.html#adc_burst">burst</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img name="imgfolder.6.2.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.2.2')"><a name="link152folder.6.2.2" class="el" href="en/refman.html#dispmodule">disp</a></p>
<div id="folder.6.2.2">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link153folder.6.2.2" href="en/refman.html#disp_init">init</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link154folder.6.2.2" href="en/refman.html#disp_enable">enable</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link155folder.6.2.2" href="en/refman.html#disp_disable">disable</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link156folder.6.2.2" href="en/refman.html#disp_on">on</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link157folder.6.2.2" href="en/refman.html#disp_off">off</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link158folder.6.2.2" href="en/refman.html#disp_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link159folder.6.2.2" href="en/refman.html#disp_print">print</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link160folder.6.2.2" href="en/refman.html#disp_draw">draw</a></p>
</div>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link173folder.6" href="en/dl_old.html">Old Versions</a></p>
</div>
</div>
<p style="margin-left: 5px;"><a href="http://www.pax.com/free-counters.html"><img src="http://counter.pax.com/counter/image?counter=ctr-zsg80nnmqt" alt="Free Hit Counter" border="0" /></a></p>

View File

@ -219,240 +219,222 @@
<body style="margin: 2px; background-color: #F1F1F1" onload="showStartPage()">
<div class="tree" onmouseout="clearLastLink()">
<h3><a name="link0folder.0" class="el" href="pt/news.html">eLua</a></h3>
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link174folder.1" class="el" href="pt/overview.html">Apresentação</a></p>
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link161folder.1" class="el" href="pt/overview.html">Apresentação</a></p>
<div id="folder.1" style="display:block">
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link175folder.1" href="pt/overview.html#whatis">O que é eLua ?</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link176folder.1" href="pt/overview.html#features">##Features</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link177folder.1" href="pt/overview.html#audience">Público alvo</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link178folder.1" href="pt/overview.html#authors">Autores</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link179folder.1" href="pt/overview.html#contacts">Contatos</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link180folder.1" href="pt/overview.html#license">Licença</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link162folder.1" href="pt/overview.html#whatis">O que é eLua ?</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link163folder.1" href="pt/overview.html#features">##Features</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link164folder.1" href="pt/overview.html#audience">Público alvo</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link165folder.1" href="pt/overview.html#authors">Autores</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link166folder.1" href="pt/overview.html#contacts">Contatos</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link167folder.1" href="pt/overview.html#license">Licença</a></p>
</div>
<p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link181folder.2" class="el" href="pt/comunity.html">Comunidade</a></p>
<p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link168folder.2" class="el" href="pt/dl_binaries.html">Downloads</a></p>
<div id="folder.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link182folder.2" href="pt/comunity.html#lists">Listas</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link183folder.2" href="pt/comunity.html#forums">##Forums</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link184folder.2" href="pt/comunity.html#credits">Créditos</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link169folder.2" href="pt/dl_binaries.html">Binaries</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2.1')"><a name="link170folder.2.1" class="el" href="pt/dl_sources.html">Fontes</a></p>
<div id="folder.2.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link171folder.2.1" href="pt/dl_sources.html">Versões Oficiais[B</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link172folder.2.1" href="pt/dl_sources.html#svnpublic">SVN Público</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link173folder.2.1" href="pt/dl_sources.html#svndev">Desenvolvedores</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link174folder.2" href="pt/dl_old.html">Versões Anteriores</a></p>
</div>
<p><img src="wb_img/node.png"><a class="el" name="link185folder" href="pt/news.html">Notícias</a></p>
<p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link186folder.3" class="el" href="pt/status.html">Status</a></p>
<p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link175folder.3" class="el" href="pt/comunity.html">Comunidade</a></p>
<div id="folder.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link187folder.3" href="pt/status.html#platforms">Plataformas Suportadas</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link188folder.3" href="pt/status.html#roadmap">Futuro</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link176folder.3" href="pt/comunity.html#lists">Listas</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link177folder.3" href="pt/comunity.html#forums">##Forums</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link178folder.3" href="pt/comunity.html#credits">Créditos</a></p>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link189folder.4" class="el" href="pt/doc.html">Documentação</a></p>
<p><img src="wb_img/node.png"><a class="el" name="link179folder" href="pt/news.html">Notícias</a></p>
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link180folder.4" class="el" href="pt/status.html">Status</a></p>
<div id="folder.4">
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.1')"><a name="link190folder.4.1" class="el" href="pt/building.html">Building</a></p>
<div id="folder.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link191folder.4.1" href="pt/toolchains.html">##Tools</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2')"><a name="link192folder.4.2" class="el" href="pt/installing.html">##Installing</a></p>
<div id="folder.4.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link193folder.4.2" href="pt/installing_at91sam7x.html">AT91SAM7X</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link194folder.4.2" href="pt/installing_lm3s.html">LM3S</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link195folder.4.2" href="pt/installing_avr32.html">AVR32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link196folder.4.2" href="pt/installing_lpc2888.html">LPC288x</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link197folder.4.2" href="pt/installing_str7.html">STR7</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link198folder.4.2" href="pt/installing_str9.html">STR9</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link199folder.4.2" href="pt/installing_stm32.html">STM32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link200folder.4.2" href="pt/installing_i386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.3')"><a name="link201folder.4.3" class="el" href="pt/using.html">Usando</a></p>
<div id="folder.4.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link202folder.4.3" href="pt/using.html#uart">##Over UART</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link203folder.4.3" href="pt/using.html#tcpip">##Over TCP/IP</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link204folder.4.3" href="pt/using.html#shell">##The shell</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link205folder.4.3" href="pt/using.html#cross">##Cross-compiling</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link206folder.4" href="pt/faq.html">FAQ</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4')"><a name="link207folder.4.4" class="el" href="pt/arch.html">##Architecture</a></p>
<div id="folder.4.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4.1')"><a name="link208folder.4.4.1" class="el" href="pt/arch_overview.html">##Overview</a></p>
<div id="folder.4.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link209folder.4.4.1" href="pt/arch_overview.html#structure">##Structure</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link210folder.4.4.1" href="pt/arch_overview.html#common">##Common code</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link211folder.4.4.1" href="pt/arch_overview.html#platform">##Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link212folder.4.4.1" href="pt/arch_overview.html#platforms">##Platforms/ports</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link213folder.4.4.1" href="pt/arch_overview.html#boot">##eLua boot process</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link214folder.4.4" href="pt/arch_platform.html">##Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link215folder.4.4" href="pt/arch_romfs.html">##ROM file system</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link216folder.4.4" href="pt/arch_newport.html">##Adding a new port</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link217folder.4.4" href="pt/arch_ltr.html">##Module and LTR</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link218folder.4.4" href="pt/arch_con_term.html">##Consoles and terminals</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link219folder.4.4" href="pt/arch_tcpip.html">##TCP/IP in eLua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link220folder.4.4" href="pt/arch_coding.html">##eLua coding style</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.5')"><a name="link221folder.4.5" class="el" href="pt/examples.html">Exemplos</a></p>
<div id="folder.4.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link222folder.4.5" href="pt/examples.html#hello">hello.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link223folder.4.5" href="pt/examples.html#info">info.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link224folder.4.5" href="pt/examples.html#led">led.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link225folder.4.5" href="pt/examples.html#hangman">hangman.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link226folder.4.5" href="pt/examples.html#pwmled">pwmled.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link227folder.4.5" href="pt/examples.html#tvbgone">tvbgone.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link228folder.4.5" href="pt/examples.html#piano">piano.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link229folder.4.5" href="pt/examples.html#bisect">bisect.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link230folder.4.5" href="pt/examples.html#morse">morse.lua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link231folder.4.5" href="pt/examples.html#lhttpd">lhttpd.lua</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6')"><a name="link232folder.4.6" class="el" href="pt/tutorials.html">Tutoriais</a></p>
<div id="folder.4.6">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link233folder.4.6" href="pt/tut_bootpc.html">Booting on a PC</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link234folder.4.6" href="pt/tut_bootstick.html">Booting from a Pendriv</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6.1')"><a name="link235folder.4.6.1" class="el" href="pt/tchainbuild.html">Toolchain Building</a></p>
<div id="folder.4.6.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link236folder.4.6.1" href="pt/tc_arm.html">ARM 7 & ARM9 Toolchains</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link237folder.4.6.1" href="pt/tc_cortex.html">ARM Cortex-M3</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link238folder.4.6.1" href="pt/tc_386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link239folder.4.6" href="pt/tut_openocd.html">Using OpenOC</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.7" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.7')"><a name="link240folder.4.7" class="el" href="pt/versionhistory.html">Histórico de Versões</a></p>
<div id="folder.4.7">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link241folder.4.7" href="pt/versionhistory.html#04">v 0.4</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link242folder.4.7" href="pt/versionhistory.html#05">v 0.5</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link243folder.4.7" href="pt/versionhistory.html#06">v 0.6</a></p>
</div>
</div>
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link244folder.5" class="el" href="pt/refman.html#genericmodules">Manual de Referência</a></p>
<div id="folder.5">
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link245folder.5.1" class="el" href="pt/refman.html#genericmodules">Módulos Genéricos</a></p>
<div id="folder.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.1')"><a name="link246folder.5.1.1" class="el" href="pt/refman.html#bitmodule">bit</a></p>
<div id="folder.5.1.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link247folder.5.1.1" href="pt/refman.html#bit_bnot">bnot</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link248folder.5.1.1" href="pt/refman.html#bit_band">band</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link249folder.5.1.1" href="pt/refman.html#bit_bor">bor</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link250folder.5.1.1" href="pt/refman.html#bit_bxor">bxor</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link251folder.5.1.1" href="pt/refman.html#bit_lshift">lshift</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link252folder.5.1.1" href="pt/refman.html#bit_rshift">rshift</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link253folder.5.1.1" href="pt/refman.html#bit_bit">bit</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link254folder.5.1.1" href="pt/refman.html#bit_set">set</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link255folder.5.1.1" href="pt/refman.html#bit_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link256folder.5.1.1" href="pt/refman.html#bit_isset">isset</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link257folder.5.1.1" href="pt/refman.html#bit_isclear">isclear</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.2')"><a name="link258folder.5.1.2" class="el" href="pt/refman.html#cpumodule">cpu</a></p>
<div id="folder.5.1.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link259folder.5.1.2" href="pt/refman.html#cpu_write32">write32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link260folder.5.1.2" href="pt/refman.html#cpu_write16">write16</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link261folder.5.1.2" href="pt/refman.html#cpu_write8">write8</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link262folder.5.1.2" href="pt/refman.html#cpu_read32">read32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link263folder.5.1.2" href="pt/refman.html#cpu_read16">read16</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link264folder.5.1.2" href="pt/refman.html#cpu_read8">read8</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link265folder.5.1.2" href="pt/refman.html#cpu_disableinterrupts">disableinterrupts</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link266folder.5.1.2" href="pt/refman.html#cpu_enableinterrupts">enableinterrupts</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link267folder.5.1.2" href="pt/refman.html#cpu_clockfrequency">clockfrequency</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.3')"><a name="link268folder.5.1.3" class="el" href="pt/refman.html#gpiomodule">gpio</a></p>
<div id="folder.5.1.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link269folder.5.1.3" href="pt/refman.html#gpio_configpin">configpin</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link270folder.5.1.3" href="pt/refman.html#gpio_setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link271folder.5.1.3" href="pt/refman.html#gpio_getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link272folder.5.1.3" href="pt/refman.html#gpio_setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link273folder.5.1.3" href="pt/refman.html#gpio_setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.4')"><a name="link274folder.5.1.4" class="el" href="pt/refman.html#netmodule">net</a></p>
<div id="folder.5.1.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link275folder.5.1.4" href="pt/net_ref.html#net_setup">setup</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.5')"><a name="link276folder.5.1.5" class="el" href="pt/refman.html#pwmmodule">pwm</a></p>
<div id="folder.5.1.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link277folder.5.1.5" href="pt/refman.html#pwm_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link278folder.5.1.5" href="pt/refman.html#pwm_setcycle">setcycle</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link279folder.5.1.5" href="pt/refman.html#pwm_start">start</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link280folder.5.1.5" href="pt/refman.html#pwm_stop">stop</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link281folder.5.1.5" href="pt/refman.html#pwm_setclock">setclock</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link282folder.5.1.5" href="pt/refman.html#pwm_getclock">getclock</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.6')"><a name="link283folder.5.1.6" class="el" href="pt/refman.html#spimodules">spi</a></p>
<div id="folder.5.1.6">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link284folder.5.1.6" href="pt/refman.html#spi_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link285folder.5.1.6" href="pt/refman.html#spi_select">select</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link286folder.5.1.6" href="pt/refman.html#spi_unselect">unselect</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link287folder.5.1.6" href="pt/refman.html#spi_send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link288folder.5.1.6" href="pt/refman.html#spi_sendrecv">sendrecv</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.7" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.7')"><a name="link289folder.5.1.7" class="el" href="pt/refman.html#sysmodule">sys</a></p>
<div id="folder.5.1.7">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link290folder.5.1.7" href="pt/refman.html#sys_platforms">platform</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link291folder.5.1.7" href="pt/refman.html#sys_mcu">mcu</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link292folder.5.1.7" href="pt/refman.html#sys_cpu">cpu</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link293folder.5.1.7" href="pt/refman.html#sys_board">board</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.8" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.8')"><a name="link294folder.5.1.8" class="el" href="pt/refman.html#termmodule">term</a></p>
<div id="folder.5.1.8">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link295folder.5.1.8" href="pt/refman.html#term_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link296folder.5.1.8" href="pt/refman.html#term_cleareol">cleareol</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link297folder.5.1.8" href="pt/refman.html#term_moveto">moveto</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link298folder.5.1.8" href="pt/refman.html#term_moveup">moveup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link299folder.5.1.8" href="pt/refman.html#term_movedown">movedown</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link300folder.5.1.8" href="pt/refman.html#term_moveleft">moveleft</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link301folder.5.1.8" href="pt/refman.html#term_moveright">moveright</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link302folder.5.1.8" href="pt/refman.html#term_getlinecount">getlinecount</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link303folder.5.1.8" href="pt/refman.html#term_getcolcount">getcolcount</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link304folder.5.1.8" href="pt/refman.html#term_printstr">printstr</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link305folder.5.1.8" href="pt/refman.html#term_getx">getx</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link306folder.5.1.8" href="pt/refman.html#term_gety">gety</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link307folder.5.1.8" href="pt/refman.html#term_inputchar">inputchar</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.9" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.9')"><a name="link308folder.5.1.9" class="el" href="pt/refman.html#tmrmodule">tmr</a></p>
<div id="folder.5.1.9">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link309folder.5.1.9" href="pt/refman.html#tmr_delay">delay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link310folder.5.1.9" href="pt/refman.html#tmr_read">read</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link311folder.5.1.9" href="pt/refman.html#tmr_start">start</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link312folder.5.1.9" href="pt/refman.html#tmr_diff">diff</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link313folder.5.1.9" href="pt/refman.html#tmr_mindelay">mindelay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link314folder.5.1.9" href="pt/refman.html#tmr_maxdelay">maxdelay</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link315folder.5.1.9" href="pt/refman.html#tmr_setclock">setclock</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.10" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.1.10')"><a name="link316folder.5.1.10" class="el" href="pt/refman.html#uartmodule">uart</a></p>
<div id="folder.5.1.10">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link317folder.5.1.10" href="pt/refman.html#uart_setup">setup</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link318folder.5.1.10" href="pt/refman.html#uart_send">send</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link319folder.5.1.10" href="pt/refman.html#uart_recv">recv</a></p>
</div>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.2')"><a name="link320folder.5.2" class="el" href="pt/refman.html#platdepmodules">Dependentes de Plataforma</a></p>
<div id="folder.5.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.5.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.2.1')"><a name="link321folder.5.2.1" class="el" href="pt/refman.html#adcmodule">adc</a></p>
<div id="folder.5.2.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link322folder.5.2.1" href="pt/refman.html#adc_sample">sample</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link323folder.5.2.1" href="pt/refman.html#adc_getsamples">getsamples</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link324folder.5.2.1" href="pt/refman.html#adc_maxval">maxval</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link325folder.5.2.1" href="pt/refman.html#adc_samplesready">samplesready</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link326folder.5.2.1" href="pt/refman.html#adc_dataready">dataready</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link327folder.5.2.1" href="pt/refman.html#adc_setmode">setmode</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link328folder.5.2.1" href="pt/refman.html#adc_setsmoothing">setsmoothing</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link329folder.5.2.1" href="pt/refman.html#adc_getsmoothing">getsmoothing</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link330folder.5.2.1" href="pt/refman.html#adc_burst">burst</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.5.2.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.2.2')"><a name="link331folder.5.2.2" class="el" href="pt/refman.html#dispmodule">disp</a></p>
<div id="folder.5.2.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link332folder.5.2.2" href="pt/refman.html#disp_init">init</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link333folder.5.2.2" href="pt/refman.html#disp_enable">enable</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link334folder.5.2.2" href="pt/refman.html#disp_disable">disable</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link335folder.5.2.2" href="pt/refman.html#disp_on">on</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link336folder.5.2.2" href="pt/refman.html#disp_off">off</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link337folder.5.2.2" href="pt/refman.html#disp_clear">clear</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link338folder.5.2.2" href="pt/refman.html#disp_print">print</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link339folder.5.2.2" href="pt/refman.html#disp_draw">draw</a></p>
</div>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link181folder.4" href="pt/status.html#platforms">Plataformas Suportadas</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link182folder.4" href="pt/status.html#roadmap">Futuro</a></p>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
<p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link340folder.6" class="el" href="pt/dl_binaries.html">Downloads</a></p>
<div id="folder.6">
<p><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link341folder.6" href="pt/dl_binaries.html">Binaries</a></p>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1')"><a name="link342folder.6.1" class="el" href="pt/dl_sources.html">Fontes</a></p>
<div id="folder.6.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link343folder.6.1" href="pt/dl_sources.html">Versões Oficiais[B</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link344folder.6.1" href="pt/dl_sources.html#svnpublic">SVN Público</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link345folder.6.1" href="pt/dl_sources.html#svndev">Desenvolvedores</a></p>
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link183folder.5" class="el" href="pt/doc.html">Documentação</a></p>
<div id="folder.5">
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link184folder.5.1" class="el" href="pt/building.html">Building</a></p>
<div id="folder.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link185folder.5.1" href="pt/toolchains.html">##Tools</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.2')"><a name="link186folder.5.2" class="el" href="pt/installing.html">##Installing</a></p>
<div id="folder.5.2">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link187folder.5.2" href="pt/installing_at91sam7x.html">AT91SAM7X</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link188folder.5.2" href="pt/installing_lm3s.html">LM3S</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link189folder.5.2" href="pt/installing_avr32.html">AVR32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link190folder.5.2" href="pt/installing_lpc2888.html">LPC288x</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link191folder.5.2" href="pt/installing_str7.html">STR7</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link192folder.5.2" href="pt/installing_str9.html">STR9</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link193folder.5.2" href="pt/installing_stm32.html">STM32</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link194folder.5.2" href="pt/installing_i386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.3')"><a name="link195folder.5.3" class="el" href="pt/using.html">Usando</a></p>
<div id="folder.5.3">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link196folder.5.3" href="pt/using.html#uart">##Over UART</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link197folder.5.3" href="pt/using.html#tcpip">##Over TCP/IP</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link198folder.5.3" href="pt/using.html#shell">##The shell</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link199folder.5.3" href="pt/using.html#cross">##Cross-compiling</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link200folder.5" href="pt/faq.html">FAQ</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.4')"><a name="link201folder.5.4" class="el" href="pt/arch.html">##Architecture</a></p>
<div id="folder.5.4">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.4.1')"><a name="link202folder.5.4.1" class="el" href="pt/arch_overview.html">##Overview</a></p>
<div id="folder.5.4.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link203folder.5.4.1" href="pt/arch_overview.html#structure">##Structure</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link204folder.5.4.1" href="pt/arch_overview.html#common">##Common code</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link205folder.5.4.1" href="pt/arch_overview.html#platform">##Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link206folder.5.4.1" href="pt/arch_overview.html#platforms">##Platforms/ports</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link207folder.5.4.1" href="pt/arch_overview.html#boot">##eLua boot process</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link208folder.5.4" href="pt/arch_platform.html">##Platform interface</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link209folder.5.4" href="pt/arch_romfs.html">##ROM file system</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link210folder.5.4" href="pt/arch_newport.html">##Adding a new port</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link211folder.5.4" href="pt/arch_ltr.html">##Module and LTR</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link212folder.5.4" href="pt/arch_con_term.html">##Consoles and terminals</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link213folder.5.4" href="pt/arch_tcpip.html">##TCP/IP in eLua</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link214folder.5.4" href="pt/arch_coding.html">##eLua coding style</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link215folder.5" href="pt/examples.html">Exemplos</a></p>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.5')"><a name="link216folder.5.5" class="el" href="pt/tutorials.html">Tutoriais</a></p>
<div id="folder.5.5">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link217folder.5.5" href="pt/tut_bootpc.html">Booting on a PC</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link218folder.5.5" href="pt/tut_bootstick.html">Booting from a Pendriv</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.5.1')"><a name="link219folder.5.5.1" class="el" href="pt/tchainbuild.html">Toolchain Building</a></p>
<div id="folder.5.5.1">
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link220folder.5.5.1" href="pt/tc_arm.html">ARM 7 & ARM9 Toolchains</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link221folder.5.5.1" href="pt/tc_cortex.html">ARM Cortex-M3</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link222folder.5.5.1" href="pt/tc_386.html">i386</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link223folder.5.5" href="pt/tut_openocd.html">Using OpenOC</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link224folder.5" href="pt/versionhistory.html">Histórico de Versões</a></p>
</div>
<p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link225folder.6" class="el" href="pt/refman.html#genericmodules">Manual de Referência</a></p>
<div id="folder.6">
<p><img src="wb_img/blank.png"><img name="imgfolder.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1')"><a name="link226folder.6.1" class="el" href="pt/refman.html#genericmodules">Módulos Genéricos</a></p>
<div id="folder.6.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.1')"><a name="link227folder.6.1.1" class="el" href="pt/refman.html#bitmodule">bit</a></p>
<div id="folder.6.1.1">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link228folder.6.1.1" href="pt/refman.html#bit_bnot">bnot</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link229folder.6.1.1" href="pt/refman.html#bit_band">band</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link230folder.6.1.1" href="pt/refman.html#bit_bor">bor</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link231folder.6.1.1" href="pt/refman.html#bit_bxor">bxor</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link232folder.6.1.1" href="pt/refman.html#bit_lshift">lshift</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link233folder.6.1.1" href="pt/refman.html#bit_rshift">rshift</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link234folder.6.1.1" href="pt/refman.html#bit_bit">bit</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link235folder.6.1.1" href="pt/refman.html#bit_set">set</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link236folder.6.1.1" href="pt/refman.html#bit_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link237folder.6.1.1" href="pt/refman.html#bit_isset">isset</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link238folder.6.1.1" href="pt/refman.html#bit_isclear">isclear</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.2')"><a name="link239folder.6.1.2" class="el" href="pt/refman.html#cpumodule">cpu</a></p>
<div id="folder.6.1.2">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link240folder.6.1.2" href="pt/refman.html#cpu_write32">write32</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link241folder.6.1.2" href="pt/refman.html#cpu_write16">write16</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link242folder.6.1.2" href="pt/refman.html#cpu_write8">write8</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link243folder.6.1.2" href="pt/refman.html#cpu_read32">read32</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link244folder.6.1.2" href="pt/refman.html#cpu_read16">read16</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link245folder.6.1.2" href="pt/refman.html#cpu_read8">read8</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link246folder.6.1.2" href="pt/refman.html#cpu_disableinterrupts">disableinterrupts</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link247folder.6.1.2" href="pt/refman.html#cpu_enableinterrupts">enableinterrupts</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link248folder.6.1.2" href="pt/refman.html#cpu_clockfrequency">clockfrequency</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.3')"><a name="link249folder.6.1.3" class="el" href="pt/refman.html#gpiomodule">gpio</a></p>
<div id="folder.6.1.3">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link250folder.6.1.3" href="pt/refman.html#gpio_configpin">configpin</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link251folder.6.1.3" href="pt/refman.html#gpio_setpinvalue">setpinvalue</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link252folder.6.1.3" href="pt/refman.html#gpio_getpinvalue">getpinvalue</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link253folder.6.1.3" href="pt/refman.html#gpio_setpinhigh">setpinhigh</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link254folder.6.1.3" href="pt/refman.html#gpio_setpinlow">setpinlow</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.4')"><a name="link255folder.6.1.4" class="el" href="pt/refman.html#netmodule">net</a></p>
<div id="folder.6.1.4">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link256folder.6.1.4" href="pt/net_ref.html#net_setup">setup</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.5')"><a name="link257folder.6.1.5" class="el" href="pt/refman.html#pwmmodule">pwm</a></p>
<div id="folder.6.1.5">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link258folder.6.1.5" href="pt/refman.html#pwm_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link259folder.6.1.5" href="pt/refman.html#pwm_setcycle">setcycle</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link260folder.6.1.5" href="pt/refman.html#pwm_start">start</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link261folder.6.1.5" href="pt/refman.html#pwm_stop">stop</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link262folder.6.1.5" href="pt/refman.html#pwm_setclock">setclock</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link263folder.6.1.5" href="pt/refman.html#pwm_getclock">getclock</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.6')"><a name="link264folder.6.1.6" class="el" href="pt/refman.html#spimodules">spi</a></p>
<div id="folder.6.1.6">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link265folder.6.1.6" href="pt/refman.html#spi_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link266folder.6.1.6" href="pt/refman.html#spi_select">select</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link267folder.6.1.6" href="pt/refman.html#spi_unselect">unselect</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link268folder.6.1.6" href="pt/refman.html#spi_send">send</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link269folder.6.1.6" href="pt/refman.html#spi_sendrecv">sendrecv</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.7" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.7')"><a name="link270folder.6.1.7" class="el" href="pt/refman.html#sysmodule">sys</a></p>
<div id="folder.6.1.7">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link271folder.6.1.7" href="pt/refman.html#sys_platforms">platform</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link272folder.6.1.7" href="pt/refman.html#sys_mcu">mcu</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link273folder.6.1.7" href="pt/refman.html#sys_cpu">cpu</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link274folder.6.1.7" href="pt/refman.html#sys_board">board</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.8" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.8')"><a name="link275folder.6.1.8" class="el" href="pt/refman.html#termmodule">term</a></p>
<div id="folder.6.1.8">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link276folder.6.1.8" href="pt/refman.html#term_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link277folder.6.1.8" href="pt/refman.html#term_cleareol">cleareol</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link278folder.6.1.8" href="pt/refman.html#term_moveto">moveto</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link279folder.6.1.8" href="pt/refman.html#term_moveup">moveup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link280folder.6.1.8" href="pt/refman.html#term_movedown">movedown</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link281folder.6.1.8" href="pt/refman.html#term_moveleft">moveleft</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link282folder.6.1.8" href="pt/refman.html#term_moveright">moveright</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link283folder.6.1.8" href="pt/refman.html#term_getlinecount">getlinecount</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link284folder.6.1.8" href="pt/refman.html#term_getcolcount">getcolcount</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link285folder.6.1.8" href="pt/refman.html#term_printstr">printstr</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link286folder.6.1.8" href="pt/refman.html#term_getx">getx</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link287folder.6.1.8" href="pt/refman.html#term_gety">gety</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link288folder.6.1.8" href="pt/refman.html#term_inputchar">inputchar</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.9" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1.9')"><a name="link289folder.6.1.9" class="el" href="pt/refman.html#tmrmodule">tmr</a></p>
<div id="folder.6.1.9">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link290folder.6.1.9" href="pt/refman.html#tmr_delay">delay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link291folder.6.1.9" href="pt/refman.html#tmr_read">read</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link292folder.6.1.9" href="pt/refman.html#tmr_start">start</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link293folder.6.1.9" href="pt/refman.html#tmr_diff">diff</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link294folder.6.1.9" href="pt/refman.html#tmr_mindelay">mindelay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link295folder.6.1.9" href="pt/refman.html#tmr_maxdelay">maxdelay</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link296folder.6.1.9" href="pt/refman.html#tmr_setclock">setclock</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img name="imgfolder.6.1.10" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.1.10')"><a name="link297folder.6.1.10" class="el" href="pt/refman.html#uartmodule">uart</a></p>
<div id="folder.6.1.10">
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link298folder.6.1.10" href="pt/refman.html#uart_setup">setup</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link299folder.6.1.10" href="pt/refman.html#uart_send">send</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link300folder.6.1.10" href="pt/refman.html#uart_recv">recv</a></p>
</div>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.2')"><a name="link301folder.6.2" class="el" href="pt/refman.html#platdepmodules">Dependentes de Plataforma</a></p>
<div id="folder.6.2">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img name="imgfolder.6.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.2.1')"><a name="link302folder.6.2.1" class="el" href="pt/refman.html#adcmodule">adc</a></p>
<div id="folder.6.2.1">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link303folder.6.2.1" href="pt/refman.html#adc_sample">sample</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link304folder.6.2.1" href="pt/refman.html#adc_getsamples">getsamples</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link305folder.6.2.1" href="pt/refman.html#adc_maxval">maxval</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link306folder.6.2.1" href="pt/refman.html#adc_samplesready">samplesready</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link307folder.6.2.1" href="pt/refman.html#adc_dataready">dataready</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link308folder.6.2.1" href="pt/refman.html#adc_setmode">setmode</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link309folder.6.2.1" href="pt/refman.html#adc_setsmoothing">setsmoothing</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link310folder.6.2.1" href="pt/refman.html#adc_getsmoothing">getsmoothing</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link311folder.6.2.1" href="pt/refman.html#adc_burst">burst</a></p>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img name="imgfolder.6.2.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.2.2')"><a name="link312folder.6.2.2" class="el" href="pt/refman.html#dispmodule">disp</a></p>
<div id="folder.6.2.2">
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link313folder.6.2.2" href="pt/refman.html#disp_init">init</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link314folder.6.2.2" href="pt/refman.html#disp_enable">enable</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link315folder.6.2.2" href="pt/refman.html#disp_disable">disable</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link316folder.6.2.2" href="pt/refman.html#disp_on">on</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link317folder.6.2.2" href="pt/refman.html#disp_off">off</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link318folder.6.2.2" href="pt/refman.html#disp_clear">clear</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link319folder.6.2.2" href="pt/refman.html#disp_print">print</a></p>
<p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link320folder.6.2.2" href="pt/refman.html#disp_draw">draw</a></p>
</div>
</div>
<p><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link346folder.6" href="pt/dl_old.html">Versões Anteriores</a></p>
</div>
</div>
<p style="margin-left: 5px;"><a href="http://www.pax.com/free-counters.html"><img src="http://counter.pax.com/counter/image?counter=ctr-zsg80nnmqt" alt="Free Hit Counter" border="0" /></a></p>

View File

@ -13,7 +13,7 @@ typedef void ( *p_term_out )( u8 );
// Terminal input function
typedef int ( *p_term_in )( int );
// Terminal translate input function
typedef int ( *p_term_translate )( u8 );
typedef int ( *p_term_translate )( int );
// Terminal input mode (parameter of p_term_in and term_getch())
#define TERM_INPUT_DONT_WAIT 0

View File

@ -8,8 +8,104 @@
#include "buf.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "math.h"
#include "elua_adc.h"
#include "term.h"
// ****************************************************************************
// XMODEM support code
#ifdef BUILD_XMODEM
static void xmodem_send( u8 data )
{
platform_uart_send( CON_UART_ID, data );
}
static int xmodem_recv( u32 timeout )
{
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, timeout );
}
#endif // #ifdef BUILD_XMODEM
// ****************************************************************************
// Terminal support code
#ifdef BUILD_TERM
#define TERM_TIMEOUT 100000
static void term_out( u8 data )
{
platform_uart_send( CON_UART_ID, data );
}
static int term_in( int mode )
{
if( mode == TERM_INPUT_DONT_WAIT )
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, 0 );
else
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, PLATFORM_UART_INFINITE_TIMEOUT );
}
static int term_translate( int data )
{
int c;
if( isprint( data ) )
return data;
else if( data == 0x1B ) // escape sequence
{
// If we don't get a second char, we got a simple "ESC", so return KC_ESC
// If we get a second char it must be '[', the next one is relevant for us
if( platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT ) == -1 )
return KC_ESC;
if( ( c = platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT ) ) == -1 )
return KC_UNKNOWN;
switch( c )
{
case 0x41:
return KC_UP;
case 0x42:
return KC_DOWN;
case 0x43:
return KC_RIGHT;
case 0x44:
return KC_LEFT;
}
}
else if( data == 0x0D )
{
// CR/LF sequence, read the second char (LF) if applicable
platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT );
return KC_ENTER;
}
else
{
switch( data )
{
case 0x09:
return KC_TAB;
case 0x16:
return KC_PAGEDOWN;
case 0x15:
return KC_PAGEUP;
case 0x05:
return KC_END;
case 0x01:
return KC_HOME;
case 0x7F:
case 0x08:
return KC_BACKSPACE;
}
}
return KC_UNKNOWN;
}
#endif // #ifdef BUILD_TERM
// *****************************************************************************
// std functions and platform initialization
@ -30,6 +126,16 @@ void cmn_platform_init()
// Set the send/recv functions
std_set_send_func( uart_send );
std_set_get_func( uart_recv );
#ifdef BUILD_XMODEM
// Initialize XMODEM
xmodem_init( xmodem_send, xmodem_recv );
#endif
#ifdef BUILD_TERM
// Initialize terminal
term_init( TERM_LINES, TERM_COLS, term_out, term_in, term_translate );
#endif
}
// ****************************************************************************

View File

@ -17,97 +17,6 @@
extern char etext[];
// ****************************************************************************
// XMODEM support code
#ifdef BUILD_XMODEM
static void xmodem_send( u8 data )
{
platform_uart_send( CON_UART_ID, data );
}
static int xmodem_recv( u32 timeout )
{
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, timeout );
}
#endif // #ifdef BUILD_XMODEM
// ****************************************************************************
// Terminal support code
#ifdef BUILD_TERM
static void term_out( u8 data )
{
platform_uart_send( CON_UART_ID, data );
}
static int term_in( int mode )
{
if( mode == TERM_INPUT_DONT_WAIT )
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, 0 );
else
return platform_uart_recv( CON_UART_ID, CON_TIMER_ID, PLATFORM_UART_INFINITE_TIMEOUT );
}
static int term_translate( u8 data )
{
int c;
if( isprint( data ) )
return data;
else if( data == 0x1B ) // escape sequence
{
// If we don't get a second char, we got a simple "ESC", so return KC_ESC
// If we get a second char it must be '[', the next one is relevant for us
if( platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT ) == -1 )
return KC_ESC;
if( ( c = platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT ) ) == -1 )
return KC_UNKNOWN;
switch( c )
{
case 0x41:
return KC_UP;
case 0x42:
return KC_DOWN;
case 0x43:
return KC_RIGHT;
case 0x44:
return KC_LEFT;
}
}
else if( data == 0x0D )
{
// CR/LF sequence, read the second char (LF) if applicable
platform_uart_recv( CON_UART_ID, CON_TIMER_ID, TERM_TIMEOUT );
return KC_ENTER;
}
else
{
switch( data )
{
case 0x09:
return KC_TAB;
case 0x16:
return KC_PAGEDOWN;
case 0x15:
return KC_PAGEUP;
case 0x05:
return KC_END;
case 0x01:
return KC_HOME;
case 0x7F:
case 0x08:
return KC_BACKSPACE;
}
}
return KC_UNKNOWN;
}
#endif // #ifdef BUILD_TERM
// ****************************************************************************
// Program entry point
@ -128,16 +37,6 @@ int main( void )
// Register the ROM filesystem
dm_register( romfs_init() );
#ifdef BUILD_XMODEM
// Initialize XMODEM
xmodem_init( xmodem_send, xmodem_recv );
#endif
#ifdef BUILD_TERM
// Initialize terminal
term_init( TERM_LINES, TERM_COLS, term_out, term_in, term_translate );
#endif
// Autorun: if "autorun.lua" is found in the ROM file system, run it first
if( ( fp = fopen( "/rom/autorun.lua", "r" ) ) != NULL )
{

View File

@ -8,6 +8,7 @@
#include "isr.h"
#include "type.h"
#include "utils.h"
#include "term.h"
#define RSHIFT 0x36
#define LSHIFT 0x2A
@ -21,42 +22,42 @@ static int shift_pressed, ctrl_pressed;
* whatever you want using a macro, if you wish! */
const unsigned char kbdus[128] =
{
0, 27, '1', '2', '3', '4', '5', '6', '7', '8', /* 9 */
'9', '0', '-', '=', '\b', /* Backspace */
'\t', /* Tab */
'q', 'w', 'e', 'r', /* 19 */
't', 'y', 'u', 'i', 'o', 'p', '[', ']', '\n', /* Enter key */
0, /* 29 - Control */
'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', /* 39 */
'\'', '`', 0, /* Left shift */
'\\', 'z', 'x', 'c', 'v', 'b', 'n', /* 49 */
'm', ',', '.', '/', 0, /* Right shift */
0, 27, '1', '2', '3', '4', '5', '6', '7', '8', /* 9 */
'9', '0', '-', '=', '\b', /* Backspace */
'\t', /* Tab */
'q', 'w', 'e', 'r', /* 19 */
't', 'y', 'u', 'i', 'o', 'p', '[', ']', '\n', /* Enter key */
0, /* 29 - Control */
'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', /* 39 */
'\'', '`', 0, /* Left shift */
'\\', 'z', 'x', 'c', 'v', 'b', 'n', /* 49 */
'm', ',', '.', '/', 0, /* Right shift */
'*',
0, /* Alt */
' ', /* Space bar */
0, /* Caps lock */
0, /* 59 - F1 key ... > */
0, /* Alt */
' ', /* Space bar */
0, /* Caps lock */
0, /* 59 - F1 key ... > */
0, 0, 0, 0, 0, 0, 0, 0,
0, /* < ... F10 */
0, /* 69 - Num lock*/
0, /* Scroll Lock */
0, /* Home key */
0, /* Up Arrow */
0, /* Page Up */
0, /* < ... F10 */
0, /* 69 - Num lock*/
0, /* Scroll Lock */
0, /* Home key */
0, /* Up Arrow */
0, /* Page Up */
'-',
0, /* Left Arrow */
0, /* Left Arrow */
0,
0, /* Right Arrow */
0, /* Right Arrow */
'+',
0, /* 79 - End key*/
0, /* Down Arrow */
0, /* Page Down */
0, /* Insert Key */
0, /* Delete Key */
0, /* 79 - End key*/
0, /* Down Arrow */
0, /* Page Down */
0, /* Insert Key */
0, /* Delete Key */
0, 0, 0,
0, /* F11 Key */
0, /* F12 Key */
0, /* All other keys are undefined */
0, /* F11 Key */
0, /* F12 Key */
0, /* All other keys are undefined */
};
const unsigned char shift_kbdus[128] =
@ -101,17 +102,23 @@ const unsigned char shift_kbdus[128] =
// Keyboard buffer
#define KBUF_SIZE 64
static u8 kb_buffer[ KBUF_SIZE ];
static int kb_buffer[ KBUF_SIZE ];
static u8 r_ptr;
static volatile u8 w_ptr;
// Special keys lookup
static const unsigned char skeys[] = { 0x48, 0x50, 0x4b, 0x4d, 0x47, 0x4f, 0x49, 0x51, 0, 0, 0, 1 };
/* Handles the keyboard interrupt */
void keyboard_handler(registers_t regs)
{
unsigned char scancode;
int i;
/* Read from the keyboard's data buffer */
scancode = inb(0x60);
/* Ignore 0xE0 (extended indication) */
if( ( scancode = inb( 0x60 ) ) == 0xE0 )
return;
/* If the top bit of the byte we read from the keyboard is
* set, that means that a key has just been released */
@ -127,18 +134,28 @@ void keyboard_handler(registers_t regs)
}
else
{
/* Here, a key was just pressed. Please note that if you
* hold a key down, you will get repeated key press
* interrupts. */
/* Just to show you how this works, we simply translate
* the keyboard scancode into an ASCII value, and then
* display it to the screen. You can get creative and
* use some flags to see if a shift is pressed and use a
* different layout, or you can add another 128 entries
* to the above layout to correspond to 'shift' being
* held. If shift is held using the larger lookup table,
* you would add 128 to the scancode when you look for it */
/* Check if this is a special key (will be used by the term module) */
for( i = 0; i < sizeof( skeys ) / sizeof( unsigned char ); i ++ )
if( skeys[ i ] == scancode )
{
kb_buffer[ w_ptr ] = TERM_FIRST_KEY + i;
w_ptr = ( w_ptr + 1 ) % KBUF_SIZE;
return;
}
/* Here, a key was just pressed. Please note that if you
* hold a key down, you will get repeated key press
* interrupts. */
/* Just to show you how this works, we simply translate
* the keyboard scancode into an ASCII value, and then
* display it to the screen. You can get creative and
* use some flags to see if a shift is pressed and use a
* different layout, or you can add another 128 entries
* to the above layout to correspond to 'shift' being
* held. If shift is held using the larger lookup table,
* you would add 128 to the scancode when you look for it */
if( ( scancode == RSHIFT ) || ( scancode == LSHIFT ) )
shift_pressed = 1;
else if( scancode == CTRL )
@ -148,13 +165,13 @@ void keyboard_handler(registers_t regs)
if( ( ( w_ptr + 1 ) % KBUF_SIZE ) != r_ptr )
{
unsigned char thechar = shift_pressed ? shift_kbdus[scancode] : kbdus[scancode];
if( ctrl_pressed ) // Look for CTRL+Z (EOF)
thechar = ( thechar == 'z' || thechar == 'Z' ) ? STD_CTRLZ_CODE : 0;
if( thechar != 0 )
{
if( ctrl_pressed ) // Look for CTRL+Z (EOF)
thechar = ( thechar == 'z' || thechar == 'Z' ) ? STD_CTRLZ_CODE : 0;
if( thechar != 0 )
{
kb_buffer[ w_ptr ] = thechar;
w_ptr = ( w_ptr + 1 ) % KBUF_SIZE;
}
}
}
}
}
@ -169,7 +186,7 @@ void keyboard_install()
// Return a key from the keyboard (blocking!)
int keyboard_getch()
{
u8 c;
int c;
while( r_ptr == w_ptr );
c = kb_buffer[ r_ptr ];

View File

@ -94,26 +94,26 @@ static int monitor_cvt_escape( const char* inbuf, ansi_op* res )
res->op = res->p1 = res->p2 = 0;
switch( last )
{
case 'J': // clrscr
case 'J': // clrscr
if( *p != '2' )
return 0;
res->op = ANSI_SEQ_CLRSCR;
break;
case 'K': // clreol
case 'K': // clreol
res->op = ANSI_SEQ_CLREOL;
break;
case 'H': // gotoxy
case 'H': // gotoxy
res->op = ANSI_SEQ_GOTOXY;
if( *p != 'H' )
sscanf( p, "%d;%d", &res->p1, &res->p2 );
break;
case 'A': // up
case 'B': // down
case 'C': // right
case 'D': // left
case 'A': // up
case 'B': // down
case 'C': // right
case 'D': // left
res->op = last - 'A' + ANSI_SEQ_UP;
sscanf( p, "%d", &res->p1 );
break;
@ -153,47 +153,47 @@ void monitor_put(char c)
if( isalpha( c ) )
{
monitor_ansi_inbuf[ monitor_ansi_count ] = '\0';
ansi_op op;
if( monitor_cvt_escape( monitor_ansi_inbuf, &op ) )
{
// Interpret out sequence
switch( op.op )
{
case ANSI_SEQ_CLRSCR:
monitor_clear();
break;
ansi_op op;
if( monitor_cvt_escape( monitor_ansi_inbuf, &op ) )
{
// Interpret out sequence
switch( op.op )
{
case ANSI_SEQ_CLRSCR:
monitor_clear();
break;
case ANSI_SEQ_CLREOL:
prev = cursor_x;
while( cursor_x++ < 80 )
{
location = video_memory + (cursor_y*80 + cursor_x);
*location = ' ' | attribute;
}
cursor_x = prev;
break;
case ANSI_SEQ_GOTOXY:
cursor_y = ( u8int )op.p1;
cursor_x = ( u8int )op.p2;
move_cursor();
break;
case ANSI_SEQ_UP:
case ANSI_SEQ_LEFT:
case ANSI_SEQ_RIGHT:
case ANSI_SEQ_DOWN:
case ANSI_SEQ_CLREOL:
prev = cursor_x;
while( cursor_x++ < 80 )
{
int xm = op.op == ANSI_SEQ_LEFT ? -1 : op.op == ANSI_SEQ_RIGHT ? 1 : 0;
int ym = op.op == ANSI_SEQ_UP ? -1 : op.op == ANSI_SEQ_DOWN ? 1 : 0;
cursor_x += xm * op.p1;
cursor_y += ym * op.p1;
move_cursor();
break;
location = video_memory + (cursor_y*80 + cursor_x);
*location = ' ' | attribute;
}
cursor_x = prev;
break;
case ANSI_SEQ_GOTOXY:
cursor_y = ( u8int )op.p1 - 1;
cursor_x = ( u8int )op.p2 - 1;
move_cursor();
break;
case ANSI_SEQ_UP:
case ANSI_SEQ_LEFT:
case ANSI_SEQ_RIGHT:
case ANSI_SEQ_DOWN:
{
int xm = op.op == ANSI_SEQ_LEFT ? -1 : op.op == ANSI_SEQ_RIGHT ? 1 : 0;
int ym = op.op == ANSI_SEQ_UP ? -1 : op.op == ANSI_SEQ_DOWN ? 1 : 0;
cursor_x += xm * op.p1;
cursor_y += ym * op.p1;
move_cursor();
break;
}
}
}
monitor_reading_ansi = 0;
}
monitor_reading_ansi = 0;
}
return;
}

View File

@ -1,6 +1,7 @@
// Platform-dependent functions
#include "platform.h"
#include "platform_conf.h"
#include "type.h"
#include "devman.h"
#include "genstd.h"
@ -8,12 +9,56 @@
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include "term.h"
// Platform specific includes
#include "monitor.h"
#include "descriptor_tables.h"
#include "kb.h"
// ****************************************************************************
// Terminal support code
#ifdef BUILD_TERM
static void i386_term_out( u8 data )
{
monitor_put( data );
}
static int i386_term_in( int mode )
{
if( mode == TERM_INPUT_DONT_WAIT )
return -1;
else
return keyboard_getch();
}
static int i386_term_translate( int data )
{
int newdata = data;
if( data == 0 )
return KC_UNKNOWN;
else switch( data )
{
case '\n':
newdata = KC_ENTER;
break;
case '\t':
newdata = KC_TAB;
break;
case '\b':
newdata = KC_BACKSPACE;
break;
}
return newdata;
}
#endif // #ifdef BUILD_TERM
// *****************************************************************************
// std functions
static void scr_write( int fd, char c )
@ -24,10 +69,15 @@ static void scr_write( int fd, char c )
static int kb_read( s32 to )
{
int res;
if( to != STD_INFINITE_TIMEOUT )
return -1;
else
return keyboard_getch();
{
while( ( res = keyboard_getch() ) >= TERM_FIRST_KEY );
return res;
}
}
// ****************************************************************************
@ -78,7 +128,12 @@ int platform_init()
// Set the send/recv functions
std_set_send_func( scr_write );
std_set_get_func( kb_read );
// Set term functions
#ifdef BUILD_TERM
term_init( TERM_LINES, TERM_COLS, i386_term_out, i386_term_in, i386_term_translate );
#endif
// All done
return PLATFORM_OK;
}

View File

@ -13,15 +13,22 @@
#define BUILD_SHELL
#define BUILD_ROMFS
#define BUILD_CON_GENERIC
#define BUILD_TERM
#define TERM_LINES 25
#define TERM_COLS 80
// *****************************************************************************
// Auxiliary libraries that will be compiled for this platform
#define LUA_PLATFORM_LIBS_ROM\
_ROM( AUXLIB_PD, luaopen_pd, pd_map )\
_ROM( LUA_MATHLIBNAME, luaopen_math, math_map )
_ROM( LUA_MATHLIBNAME, luaopen_math, math_map )\
_ROM( AUXLIB_TERM, luaopen_term, term_map )
// Bogus defines for common.c
#define CON_UART_ID 0
#define CON_TIMER_ID 0
// *****************************************************************************
// Configuration data

View File

@ -141,7 +141,7 @@ int term_getch( int mode )
if( ( ch = term_in( mode ) ) == -1 )
return -1;
else
return term_translate( ( u8 )ch );
return term_translate( ch );
}
void term_init( unsigned lines, unsigned cols, p_term_out term_out_func,