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

257 Commits

Author SHA1 Message Date
Bogdan Marinescu
59beff6b99 working on the new build configurator. starting to get shape 2012-07-01 01:07:59 +03:00
Martin Guy
1ba7839a93 Use canonical Mizar32 web page URL 2012-06-27 14:36:16 +02:00
Bogdan Marinescu
5a26274a6e WOFS documentation, last part + another style change 2012-06-27 00:34:58 +03:00
Bogdan Marinescu
df85a35a44 WOFS documentation, part II + a small style change 2012-06-26 13:27:15 +03:00
Bogdan Marinescu
c5f3033fb2 WOFS documentation, part I 2012-06-26 01:13:26 +03:00
Martin Guy
59f9a2616b Added documentation file for mizar32 rtc module
Forgot to git-add it in the previous commit. Oops.
2012-03-25 13:43:53 +02:00
Martin Guy
6dd64a0dc6 New mizar32.rtc platform module
Methods: mizar32.rtc.get() returns a table like Lua's os.date()
and os.time() with fields year, monthm day, wday, hour min, sec
and mizar32.rtc.set() takes a similar table, only changing the
fields that are present in the table.
Works with DS1337 and PCF8563 clock chips.
2012-03-19 23:49:39 +01:00
Martin Guy
49ab7be03e Fix typo in docs 2012-03-15 09:20:57 +01:00
Martin Guy
27da495151 Document pio.decode() 2012-03-08 21:23:13 +01:00
Martin Guy
ff2ba18585 Fix typos in PIO refman 2012-03-08 20:47:26 +01:00
James Snyder
28d44765c3 Merge branch 'master' into newsite 2012-02-07 15:01:54 -06:00
Martin Guy
69eb5cc478 Put the order of timer parameters back to what it used to be
This patch undoes the change in the order of timer parameters for:
net.accept() net.recv() tmr.delay() tmr.setclock() tmr.set_match_int()
tmr.gettimediff()  and also changes the new tmr.getdiffnow() to have the
same parameter ordering as the others.
The default timer ID (the systimer), which previously was obtained with an
optional last parameter, is now obtained by supplying nil as the timer ID.
2012-01-21 17:30:38 +02:00
Martin Guy
3195763d16 Fix typo in tmr doc 2011-12-11 18:19:49 +01:00
Martin Guy
991bcec20d Fix typos in interrupt docs 2011-12-10 15:31:15 +01:00
Martin Guy
b07f2fd6c2 Implement and document mizar32.lcd.{getpos,buttons}() functions
The new LCD PIC firmware has the ability to return the cursor position
in the LCD character RAM and the state of the buttons. This commit
implements eLua module functions to make these available to users.
2011-12-10 12:50:31 +01:00
Martin Guy
d154d93523 Fix mizar32.lcd.*() documentation 2011-12-10 09:58:52 +01:00
James Snyder
c1d2298501 Convert UNIX/Linux build instructions to AsciiDoc, fix Windows equivalent formatting slightly. 2011-12-04 22:16:59 -06:00
James Snyder
7d6d28bd7f Update Windows building doc to reflect current git usage 2011-12-02 20:00:27 -06:00
James Snyder
9c27aed33a Update google analytics code 2011-12-02 19:02:59 -06:00
James Snyder
bf9315ccc1 Exclude installing docs to be consistent with current site 2011-12-02 17:15:56 -06:00
James Snyder
0c92ddbf0a Correct markup in mizar32 module reference 2011-12-02 17:02:05 -06:00
James Snyder
bd116fae17 Merge branch 'master' into newsite
- resolve conflicts arising from merge
2011-12-02 16:33:31 -06:00
James Snyder
c4f7fe94c1 Adjust MMCFS to use the system timer 2011-10-21 18:08:43 -05:00
Bogdan Marinescu
c98474e357 added per platform information about system timer support 2011-10-21 21:17:55 +03:00
Bogdan Marinescu
43f0f2711e updated information about the new 'lualonglong' mode 2011-10-21 15:39:44 +03:00
Bogdan Marinescu
93fdf7b4a6 updated information about default timer IDs 2011-10-21 15:18:10 +03:00
Bogdan Marinescu
c193777755 fixed documentation of the UART platform interface 2011-10-21 11:55:00 +03:00
Bogdan Marinescu
0e9a3c3043 fixed documentation for 'uart' and 'net' 2011-10-19 22:58:40 +03:00
Bogdan Marinescu
43724385b3 finished documenting the timer platform interface and the 'tmr' module 2011-10-19 15:09:59 +03:00
Bogdan Marinescu
6525e39960 start to document the changes 2011-10-19 00:57:33 +03:00
James Snyder
210cd6f21a Fix typo in Console/Terminal arch doc 2011-10-04 21:59:06 -05:00
James Snyder
6a1e683a8f Fix typo in TCP/IP arch doc 2011-10-04 21:29:45 -05:00
Martin Guy
a05c209ab2 Remove documentation for non-existent str9.rtc module 2011-09-27 15:09:11 +02:00
Martin Guy
22f08c454d Fix markup in PWM documentation 2011-09-13 19:34:27 +02:00
Martin Guy
1c1a59851d Split platform_pwm_op(id, op[, data]) into four distinct functions
platform_pwm_op( id, op, data ) did four unrelated tasks, switching on the
"op" parameter:
op==PLATFORM_PWM_OP_SET_CLOCK took a frequency and returned a frequency
op==PLATFORM_PWM_OP_GET_CLOCK took nothing returned a frequency
op==PLATFORM_PWM_OP_START and _STOP both took nothing and returned nothing

this patch replaces it with:
clock = platform_pwm_set_clock( id, clock)
clock = platform_pwm_get_clock( id )
platform_pwm_start( id ) and
platform_pwm_stop( id )

with resulting clarity in the documentation and smaller, faster code.

This does not affect the Lau interface.
2011-08-02 16:15:59 +02:00
Martin Guy
8f520abd16 Fix typo in I2C refman 2011-07-28 17:53:10 +02:00
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
1562d13cdf Change personal credits to company credit 2011-07-06 06:29:35 +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
dca244112b Merge branch 'master' of github.com:elua/elua 2011-06-16 15:02:22 +02:00