1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

41 Commits

Author SHA1 Message Date
Martin Guy
a6b5f865d5 Document the units of net timeouts (microseconds).
Also remove superfluous text (you can't specify a timeout without giving a
timer ID parameter because it comes after it).
2011-07-24 17:12:38 +02:00
Martin Guy
fe95291cdd First full version of Mizar32 LCD module driver. 2011-07-24 01:21:59 +02:00
Martin Guy
158ce167ca Split platform_adc_op() into six separate functions
Previously, you called platform_adc_op(id, OPERATION, u32 arg) to achieve
six unrelated functions with different arg types and return values:

GET_MAXVAL takes nothing and returns an ADC conversion value
SET_SMOOTHING takes a power-of-two filter length and returns nothing
SET_BLOCKING takes a boolean and returns nothing
IS_DONE takes nothing and returns a boolean
SET_TIMER takes a timer ID and returns nothing
SET_CLOCK takes a frequency in Hz and returns a frequency in Hz.

This changes these to six independent functions, each with the right
parameters and return values.

This also makes the documentation more comprehensible, saves 26 bytes of
executable code and should be very slightly faster.
2011-07-23 20:04:32 +02:00
Martin Guy
2e2bcba26e Fix typos 2011-07-19 18:05:33 +02:00
Martin Guy
1730329faf Fix typos 2011-07-18 17:14:03 +02:00
Martin Guy
0585f8ec96 Initial framework for Mizar32 character LCD display driver 2011-07-16 00:12:19 +02:00
Martin Guy
e3982f6682 Document the fact that other I2C bus speeds can be specified as an integer. 2011-07-15 15:23:18 +02:00
Martin Guy
db9d054711 Fix typos 2011-07-15 08:32:02 +02:00
Martin Guy
51a3ed5f0c Document more precisely the arguments to i2c.write() 2011-07-08 21:44:51 +02:00
Martin Guy
cd0b194fe3 Fix repeated spelling error "reffer" 2011-07-05 17:26:39 +02:00
Martin Guy
d72145688a Document the default for ADC's blocking or non-blocking mode (i.e. blocking) 2011-07-05 17:23:14 +02:00
Martin Guy
d1daa53541 Refactor "Portuguese" translations which are an old copy of the English. 2011-06-25 22:15:31 +02:00
Martin Guy
7154ad7717 Fix typo 2011-04-27 14:28:27 +02:00
Martin Guy
ead2bf6b27 Turn KC_UP into term.KC_UP for clarity 2011-04-27 01:10:34 +02:00
Martin Guy
a0c387efb7 Fix typo 2011-04-27 00:52:33 +02:00
Martin Guy
c0faaa1305 Fix markup 2011-04-26 23:36:33 +02:00
Martin Guy
f49b44eae6 Fix typos in en_refman_gen_tmr doc 2011-04-23 18:56:41 +02:00
Martin Guy
a0cda92c75 Fix typos in pio refman doc 2011-04-13 11:38:26 +02:00
Martin Guy
d6042df51f Fix two typos in refman_gen_cpu doc 2011-04-13 11:34:31 +02:00
Martin Guy
873c731568 Fix typo in i2c doc: u23 -> u32 2011-04-13 09:32:05 +02:00
Martin Guy
28c2c86847 Fix typos in I2C documentation 2011-04-12 16:23:25 +02:00
Martin Guy
c99a357f91 Fix typo in PWM refman 2011-04-05 18:11:31 +02:00
Bogdan Marinescu
f9fbead54c merged pre0.8 branch back to trunk 2011-02-02 17:52:12 +00:00
Bogdan Marinescu
81e7f040fc merged remotefs_int branch on trunk, not fully tested yet 2011-01-16 00:23:19 +00:00
Dado Sutter
26017e24ee Status, features and roadmap tables being updated for v0.8
Needs more work and revision

SRT9 RTC Doc fixes
Introduced the field "ex" for examples on the doc, not yet treated by the doc builder
Examples added for STR9 RTC
2010-12-15 06:36:57 +00:00
Dado Sutter
91eddd9e81 Added doc for STR9 platform-specific Real Time Clock support.
Doc build structure changed to include it on the platform-dependent modules menu.
2010-12-11 00:17:03 +00:00
Dado Sutter
b583073b98 Minor typos and doc enhancements 2010-11-22 23:31:40 +00:00
Bogdan Marinescu
772b33c975 linenoise support for eLua. linenoise is a readline replacement which makes using the Lua interpreter much easier and also adds support for saving the 'history' of lines types in the interpreter. Documentation updated. Thanks go to James for suggesting this in the first place. 2010-11-16 22:53:06 +00:00
Bogdan Marinescu
7aff94d194 Updated the interrupt model in Lua, now it looks exactly the same as the C one (one interrupt handler per interrupt ID, setting an interrupt handler returns the previous one so they can be chained). Documentation and interrupt sample updated to reflect this. Also, building.html is now building.txt (AsciiDoc). Be patient while it is processed :) 2010-11-16 18:07:07 +00:00
Bogdan Marinescu
3612e87224 Added documentation on interrupts:
Generic info/eLua interrupt handlers: using interrupt handlers from Lua and C
  Platform interface/CPU: updated CPU platform interface
  Platform interface/Timers: updated timers platform interface
  Generic modules/cpu: updated CPU module documentation
  Generic modules/tmr: updated timer module documentation
  eLua internals/Overview/Implementing interrupts: interrupt handlers implementation guide

Also minor bugfixes in the interrupt implementation.
2010-11-06 23:58:05 +00:00
Bogdan Marinescu
329a519dde added documentation for the new i2c module 2010-07-21 21:59:55 +00:00
Dado Sutter
aa605601a5 bit.isset() & bit.isclear() return types fixed (to booleans, not numbers) 2010-01-30 06:29:35 +00:00
Dado Sutter
f968670490 Two minor (but very important) doc fixes:
- bit module's isset and isclear return values are true/false (and not 0/1)
- scons build option for LuaRPC is boot=luarpc (and not boot=rpc)
2010-01-27 11:08:00 +00:00
James Snyder
51221f8b4c Merge 0.7 changes to trunk. 2010-01-25 23:43:05 +00:00
James Snyder
c85e3a1d2d Starting Cleanup of LuaRPC for 0.7 release.
- added some more documentation (not yet done)
- alternate uarts can be selected (boot mode defaults to console uarts)
- renamed "remote" references to "rpc" (may as well keep the original name)
- switch default error handler to luaL_error (presumably wasn't available for
  old 4.x LuaRPC)
- tweaks to exception handling to make things more consistent (hopefully)
2009-12-04 01:46:47 +00:00
James Snyder
78e30a4479 - add initial LuaRPC reference
- comment cleanup in luarpc.c
- prepend doc pages with "eLua -" (google link to our main page is just
  "News")
2009-11-14 22:56:47 +00:00
James Snyder
d04fb2b2bb Add initial refman entry for can module. 2009-11-14 22:56:23 +00:00
Bogdan Marinescu
7e145db554 fixing merge error on doc/, part II 2009-11-04 20:42:59 +00:00
Bogdan Marinescu
9c15b8e0b0 fixing merge error on doc/, part I 2009-11-04 20:42:27 +00:00
Bogdan Marinescu
872fcf1fde manual disambiguation for uart.write 2009-11-04 20:14:14 +00:00
James Snyder
bd1465ca50 Merge 0.6 branch to trunk.
Conflicts:
	SConstruct
	doc/en/arch_platform.html
	doc/en/comunity.html
	doc/en/overview.html
	doc/en/refman.html
	doc/en/refman_gen.html
	doc/en/status.html
	doc/en/tut_bootstick.html
	doc/images/lng_pt.png
	doc/images/minusnode.png
	doc/images/next.png
	doc/images/node.png
	doc/images/nodelast.png
	doc/images/plusnode.png
	doc/images/plusnodelast.png
	doc/images/previous.png
	doc/images/showall.png
	doc/images/sync.png
	doc/images/vertline.png
	doc/pt/arch.html
	doc/pt/arch_coding.html
	doc/pt/arch_con_term.html
	doc/pt/arch_newport.html
	doc/pt/arch_overview.html
	doc/pt/arch_platform.html
	doc/pt/arch_tcpip.html
	doc/pt/building.html
	doc/pt/comunity.html
	doc/pt/dl_binaries.html
	doc/pt/dl_old.html
	doc/pt/dl_sources.html
	doc/pt/downloads.html
	doc/pt/examples.html
	doc/pt/faq.html
	doc/pt/installing_i386.html
	doc/pt/installing_lm3s.html
	doc/pt/news.html
	doc/pt/overview.html
	doc/pt/refman_dep.html
	doc/pt/refman_gen.html
	doc/pt/status.html
	doc/pt/tc_386.html
	doc/pt/toolchains.html
	doc/pt/tut_openocd.html
	doc/pt/using.html
	romfs/LM3S.lua
	romfs/led.lua
	romfs/morse.lua
	romfs/pong.lua
	src/lua/linit.c
	src/modules/auxmods.h
	src/platform/lm3s/platform.c
	src/platform/lm3s/platform_conf.h
	src/platform/sim/platform_conf.h
2009-10-13 02:14:27 +00:00