Lisp Interpreter for mbed LPC1768
Lisp Interpreter
(Marc Adler Lisp Interpreter, malisp)
mbed LPC1768 port by Takehisa Oneta (ohneta@gmail.com)
Diff: mbed_functions.h
- Revision:
- 0:e9a7a38d9ad3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_functions.h Sun Apr 17 11:59:13 2016 +0000 @@ -0,0 +1,23 @@ +/** + * + */ +#include "mbed.h" +#include "malisp.h" + +// prototype deceament + +size_t _getFreeMemorySize(); +LIST *memfreesize(); + +PinName _mbed_pinNameExchange(char *pinNameString); +PinMode _digitalPinMode(char *modeString); + +LIST *mbed_wait(LIST *sec); + +LIST *mbed_digitalout(LIST *pin, LIST *data); +LIST *mbed_digitalin(LIST *pin, LIST *mode); +LIST *mbed_pwmout(LIST *pin, LIST *period, LIST *dcperc); + +LIST *mbed_analogout(LIST *pin, LIST *data); +LIST *mbed_analogin(LIST *pin); +