RTno is communicating library and framework which allows you to make your embedded device capable of communicating with RT-middleware world. RT-middleware is a platform software to realize Robotic system. In RTM, robots are developed by constructing robotics technologies\' elements (components) named RT-component. Therefore, the RTno helps you to create your own RT-component with your mbed and arduino. To know how to use your RTno device, visit here: http://ysuga.net/robot_e/rtm_e/rtc_e/1065?lang=en To know about RT-middleware and RT-component, visit http://www.openrtm.org

Dependencies:   EthernetNetIf

Dependents:   RTnoV3_LED RTnoV3_Template RTnoV3_ADC RTnoV3_Timer ... more

Revision:
0:9fac71a0bff3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rtcconf.h	Thu Feb 09 02:33:10 2012 +0000
@@ -0,0 +1,69 @@
+#ifndef RTC_CONF_HEADER_INCLUDED
+#define RTC_CONF_HEADER_INCLUDED
+
+
+#ifdef USE_ETHERNET_CONNECTION
+
+#define IPaddr(a1, a2, a3, a4) \
+  ((((uint32_t)a4) << 24) | (((uint32_t)a3) << 16) | (((uint32_t)a2) << 8) | (((uint32_t)a1) << 0))
+
+#define MACaddr(a1, a2, a3, a4, a5, a6) \
+  ((((uint64_t)a6) << 40) | (((uint64_t)a5) << 32) | (((uint64_t)a4) << 24) | (((uint64_t)a3) << 16) | (((uint64_t)a2) << 8) | (((uint64_t)a1) << 0))
+
+#endif
+
+
+
+struct default_str {
+  //#ifdef USE_ETHERNET_CONNECTION
+  uint64_t mac_address;
+  uint16_t port;
+  uint32_t default_gateway;
+  uint32_t ip_address;
+  uint32_t subnet_mask;
+  //#endif
+
+  //#ifdef USE_UART_CONNECTION
+  uint16_t baudrate;
+  //#endif
+  
+  uint8_t connection_type;
+};
+
+
+struct ether_str {
+};
+
+struct config_str {
+  struct default_str _default;
+};
+
+struct exec_cxt_str {
+  struct periodic_str {
+    //#ifdef USE_TIMER1_EC
+    float rate;
+    //#endif
+    uint8_t type;
+  }periodic;
+};
+
+#ifdef USE_UART_CONNECTION
+#define ConnectionTypeSerialUSB 0x11
+#define ConnectionTypeSerial1 0x01
+#define ConnectionTypeSerial2 0x02
+#define ConnectionTypeSerial3 0x03
+#endif
+
+#ifdef USE_ETHERNET_CONNECTION
+#define ConnectionTypeEtherTcp 0x04
+#endif
+
+#define ProxySynchronousExecutionContext 0x21
+
+#ifdef USE_TIMER1_EC
+#define Timer1ExecutionContext 0x22
+#endif
+
+#define Timer2ExecutionContext 0x23
+
+#endif