Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
77:8651d3c19a55
Parent:
76:b375b3d750d8
Child:
85:416f8bbbdf54
diff -r b375b3d750d8 -r 8651d3c19a55 mbed/jsonrpc/MbedJsApi.h
--- 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;
     };
 }