Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: mbed/jsonrpc/MbedJsApi.h
- Revision:
- 77:8651d3c19a55
- Parent:
- 76:b375b3d750d8
- Child:
- 85:416f8bbbdf54
--- a/mbed/jsonrpc/MbedJsApi.h Sat Jun 14 17:42:11 2014 +0000
+++ b/mbed/jsonrpc/MbedJsApi.h Fri Jun 20 15:38:30 2014 +0000
@@ -5,11 +5,17 @@
{
class MbedJsApi{
public:
- /**
- * MiMicRPCの定義するピンIDをmbedピンIDへ変換します。
- */
- static PinName pinId2PinName(unsigned int i_id);
- public:
const static struct NyLPC_TJsonRpcClassDef RPC_MBED_DIGITAL_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_DIGITAL_IN;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_ANALOG_IN;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_ANALOG_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_BUS_IN;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_BUS_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_BUS_IN_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_PWM_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_PORT_OUT;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_PORT_IN;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_SPI;
+ const static struct NyLPC_TJsonRpcClassDef RPC_MBED_SPI_SLAVE;
};
}
