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
Dependents: RTnoV3_LED RTnoV3_Template RTnoV3_ADC RTnoV3_Timer ... more
rtcconf.h
00001 #ifndef RTC_CONF_HEADER_INCLUDED 00002 #define RTC_CONF_HEADER_INCLUDED 00003 00004 00005 #ifdef USE_ETHERNET_CONNECTION 00006 00007 #define IPaddr(a1, a2, a3, a4) \ 00008 ((((uint32_t)a4) << 24) | (((uint32_t)a3) << 16) | (((uint32_t)a2) << 8) | (((uint32_t)a1) << 0)) 00009 00010 #define MACaddr(a1, a2, a3, a4, a5, a6) \ 00011 ((((uint64_t)a6) << 40) | (((uint64_t)a5) << 32) | (((uint64_t)a4) << 24) | (((uint64_t)a3) << 16) | (((uint64_t)a2) << 8) | (((uint64_t)a1) << 0)) 00012 00013 #endif 00014 00015 00016 00017 struct default_str { 00018 //#ifdef USE_ETHERNET_CONNECTION 00019 uint64_t mac_address; 00020 uint16_t port; 00021 uint32_t default_gateway; 00022 uint32_t ip_address; 00023 uint32_t subnet_mask; 00024 //#endif 00025 00026 //#ifdef USE_UART_CONNECTION 00027 uint16_t baudrate; 00028 //#endif 00029 00030 uint8_t connection_type; 00031 }; 00032 00033 00034 struct ether_str { 00035 }; 00036 00037 struct config_str { 00038 struct default_str _default; 00039 }; 00040 00041 struct exec_cxt_str { 00042 struct periodic_str { 00043 //#ifdef USE_TIMER1_EC 00044 float rate; 00045 //#endif 00046 uint8_t type; 00047 }periodic; 00048 }; 00049 00050 #ifdef USE_UART_CONNECTION 00051 #define ConnectionTypeSerialUSB 0x11 00052 #define ConnectionTypeSerial1 0x01 00053 #define ConnectionTypeSerial2 0x02 00054 #define ConnectionTypeSerial3 0x03 00055 #endif 00056 00057 #ifdef USE_ETHERNET_CONNECTION 00058 #define ConnectionTypeEtherTcp 0x04 00059 #endif 00060 00061 #define ProxySynchronousExecutionContext 0x21 00062 00063 #ifdef USE_TIMER1_EC 00064 #define Timer1ExecutionContext 0x22 00065 #endif 00066 00067 #define Timer2ExecutionContext 0x23 00068 00069 #endif
Generated on Tue Jul 12 2022 18:33:24 by 1.7.2