Lisp Interpreter for mbed LPC1768

Dependencies:   mbed

Lisp Interpreter

(Marc Adler Lisp Interpreter, malisp)

mbed LPC1768 port by Takehisa Oneta (ohneta@gmail.com)

mbed_functions.h

Committer:
ohneta
Date:
2016-05-21
Revision:
1:a2955606adef
Parent:
0:e9a7a38d9ad3

File content as of revision 1:a2955606adef:

/**
 *
 */
#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);