|
1 | 1 | [ |
2 | 2 | { |
3 | | - "connection_types": "I2C/NXT, Analog/NXT", |
| 3 | + "connection_types": "NXT/Analog, NXT/I2C, EV3/Analog, EV3/UART", |
| 4 | + "description": "Dexter Industries BrickPi Input Port", |
| 5 | + "mode_info": [ |
| 6 | + { |
| 7 | + "description": "No sensor", |
| 8 | + "id": "BRICKPI_IN_PORT_MODE_NONE", |
| 9 | + "name": "none" |
| 10 | + }, |
| 11 | + { |
| 12 | + "description": "NXT/Analog sensor", |
| 13 | + "id": "BRICKPI_IN_PORT_MODE_NXT_ANALOG", |
| 14 | + "name": "nxt-analog", |
| 15 | + "name_footnote": "[^nxt-analog-mode]", |
| 16 | + "notes": "\n[^nxt-analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n NXT/Analog is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n " |
| 17 | + }, |
| 18 | + { |
| 19 | + "description": "LEGO NXT Color sensor", |
| 20 | + "id": "BRICKPI_IN_PORT_MODE_NXT_COLOR", |
| 21 | + "name": "nxt-color" |
| 22 | + }, |
| 23 | + { |
| 24 | + "description": "NXT/I2C sensor", |
| 25 | + "id": "BRICKPI_IN_PORT_MODE_NXT_I2C", |
| 26 | + "name": "nxt-i2c", |
| 27 | + "name_footnote": "[^nxt-i2c-mode]", |
| 28 | + "notes": "\n[^nxt-i2c-mode]: No sensors are loaded by default. You must\n manually specify the sensor that is connected by using the\n `set_device` attribute.\n \n " |
| 29 | + }, |
| 30 | + { |
| 31 | + "description": "EV3/Analog sensor", |
| 32 | + "id": "BRICKPI_IN_PORT_MODE_EV3_ANALOG", |
| 33 | + "name": "ev3-analog", |
| 34 | + "name_footnote": "[^ev3-analog-mode]", |
| 35 | + "notes": "\n[^ev3-analog-mode]: Only the LEGO EV3 Touch sensor is supported.\n The driver will load by default.\n \n " |
| 36 | + }, |
| 37 | + { |
| 38 | + "description": "EV3/UART sensor", |
| 39 | + "id": "BRICKPI_IN_PORT_MODE_EV3_UART", |
| 40 | + "name": "ev3-uart", |
| 41 | + "name_footnote": "[^ev3-uart-mode]", |
| 42 | + "notes": "\n[^ev3-uart-mode]: Only the LEGO EV3 Ultrasonic, Color, Gyro,\n and Infrared sensors are supported. They cannot be automatically\n detected, so you must specify the sensor manually using the\n `set_device` attribute. No sensors are loaded by default.\n \n " |
| 43 | + } |
| 44 | + ], |
| 45 | + "module": "brickpi-ports-in", |
| 46 | + "name": "brickpi-in-port", |
| 47 | + "num_modes": 6, |
| 48 | + "prefix": "in", |
| 49 | + "source_file": "drivers/lego/brickpi/brickpi_ports_in.c", |
| 50 | + "source_line": 56, |
| 51 | + "url_name": "brickpi-in-port" |
| 52 | + }, |
| 53 | + { |
| 54 | + "connection_types": "tacho-motor", |
| 55 | + "description": "Dexter Industries BrickPi Input Port", |
| 56 | + "mode_info": [ |
| 57 | + { |
| 58 | + "description": "NXT/EV3 Large Motor", |
| 59 | + "id": "BRICKPI_OUT_PORT_MODE_NXT_MOTOR", |
| 60 | + "name": "nxt-motor" |
| 61 | + }, |
| 62 | + { |
| 63 | + "description": "RCX/Power Functions motor", |
| 64 | + "id": "BRICKPI_OUT_PORT_MODE_RCX_MOTOR", |
| 65 | + "name": "rcx-motor" |
| 66 | + }, |
| 67 | + { |
| 68 | + "description": "RCX/Power Functions LED", |
| 69 | + "id": "BRICKPI_OUT_PORT_MODE_RCX_LED", |
| 70 | + "name": "rcx-led" |
| 71 | + } |
| 72 | + ], |
| 73 | + "module": "brickpi-ports-out", |
| 74 | + "name": "brickpi-out-port", |
| 75 | + "num_modes": 3, |
| 76 | + "prefix": "out", |
| 77 | + "source_file": "drivers/lego/brickpi/brickpi_ports_out.c", |
| 78 | + "source_line": 47, |
| 79 | + "url_name": "brickpi-out-port" |
| 80 | + }, |
| 81 | + { |
| 82 | + "connection_types": "NXT/I2C, NXT/Analog", |
4 | 83 | "description": "HiTechnic NXT Sensor Multiplexer Input Port", |
5 | 84 | "mode_info": [ |
6 | 85 | { |
7 | | - "description": "Analog/NXT sensor", |
| 86 | + "description": "NXT/Analog sensor", |
8 | 87 | "id": "HT_NXT_SMUX_PORT_MODE_ANALOG", |
9 | 88 | "name": "analog", |
10 | 89 | "name_footnote": "[^analog-mode]", |
11 | | - "notes": "\n[^analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n Analog/NXT is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n " |
| 90 | + "notes": "\n[^analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n NXT/Analog is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n " |
12 | 91 | }, |
13 | 92 | { |
14 | | - "description": "I2C/NXT sensor", |
| 93 | + "description": "NXT/I2C sensor", |
15 | 94 | "id": "HT_NXT_SMUX_PORT_MODE_I2C", |
16 | 95 | "name": "i2c", |
17 | 96 | "name_footnote": "[^i2c-mode]", |
18 | | - "notes": "\n[^i2c-mode]: If one of the supported sensors was detected\n by invoking the `DETECT` command on the [ht-nxt-smux]\n associated with this port, then the appropriate driver will\n be automatically loaded. Otherwise, you can use `set_device`\n to load the correct driver for your sensor. Any driver with\n a connection type of I2C/NXT is allowed.\n ^\n [ht-nxt-smux]: /docs/sensors/hitechnic-nxt-sensor-multiplexer\n \n " |
| 97 | + "notes": "\n[^i2c-mode]: If one of the supported sensors was detected\n by invoking the `DETECT` command on the [ht-nxt-smux]\n associated with this port, then the appropriate driver will\n be automatically loaded. Otherwise, you can use `set_device`\n to load the correct driver for your sensor. Any driver with\n a connection type of NXT/I2C is allowed.\n ^\n [ht-nxt-smux]: /docs/sensors/hitechnic-nxt-sensor-multiplexer\n \n " |
19 | 98 | } |
20 | 99 | ], |
21 | 100 | "module": "ht-nxt-smux", |
|
27 | 106 | "url_name": "ht-nxt-smux-port" |
28 | 107 | }, |
29 | 108 | { |
30 | | - "connection_types": "UART/EV3, UART/Other, I2C/NXT, I2C/Other, Analog/EV3, Analog/NXT", |
| 109 | + "connection_types": "EV3/UART, Other/UART, NXT/I2C, Other/I2C, EV3/Analog, NXT/Analog", |
31 | 110 | "description": "EV3 Input Port", |
32 | 111 | "mode_info": [ |
33 | 112 | { |
|
136 | 215 | "url_name": "legoev3-output-port" |
137 | 216 | }, |
138 | 217 | { |
139 | | - "connection_types": "UART/EV3, Analog/EV3", |
| 218 | + "connection_types": "EV3/UART, EV3/Analog", |
140 | 219 | "description": "mindsensors.com EV3 Sensor Multiplexer Input Port", |
141 | 220 | "mode_info": [ |
142 | 221 | { |
143 | | - "description": "UART/EV3 sensor", |
| 222 | + "description": "EV3/UART sensor", |
144 | 223 | "id": "MS_EV3_SMUX_MODE_UART", |
145 | 224 | "name": "uart", |
146 | 225 | "name_footnote": "[^uart-mode]", |
147 | | - "notes": "\n[^uart-mode]: UART sensor types are not automatically\n detected. By default, the `lego-ev3-uart-29` driver (LEGO\n EV3 Color Sensor) will be loaded when this mode is set.\n Use `set_device` to load other sensor devices/drivers.\n \n Supported sensors are:\n \n | Sensor Name | Device/Driver Name |\n |---------------------|--------------------|\n | LEGO EV3 Color | `lego-ev3-uart-29` |\n | LEGO EV3 Ultrasonic | `lego-ev3-uart-30` |\n | LEGO EV3 GYRO | `lego-ev3-uart-32` |\n | LEGO EV3 Infrared | `lego-ev3-uart-33` |\n \n " |
| 226 | + "notes": "\n[^uart-mode]: UART sensor types are not automatically\n detected. By default, the `lego-ev3-color` driver\n will be loaded when this mode is set.\n Use `set_device` to load other sensor devices/drivers.\n \n Supported sensors are:\n \n | Sensor Name | Device/Driver Name |\n |---------------------|--------------------|\n | LEGO EV3 Color | `lego-ev3-color` |\n | LEGO EV3 Ultrasonic | `lego-ev3-us` |\n | LEGO EV3 GYRO | `lego-ev3-gyro` |\n | LEGO EV3 Infrared | `lego-ev3-ir` |\n \n " |
148 | 227 | }, |
149 | 228 | { |
150 | | - "description": "Analog/EV3 sensor", |
| 229 | + "description": "EV3/Analog sensor", |
151 | 230 | "id": "MS_EV3_SMUX_MODE_ANALOG", |
152 | 231 | "name": "analog", |
153 | 232 | "name_footnote": "[^analog-mode]", |
|
163 | 242 | "url_name": "ms-ev3-smux-port" |
164 | 243 | }, |
165 | 244 | { |
166 | | - "connection_types": "Analog/WeDo, dc-motor, led", |
| 245 | + "connection_types": "WeDo/Analog, dc-motor, led", |
167 | 246 | "description": "LEGO WeDo Port", |
168 | 247 | "mode_info": [ |
169 | 248 | { |
|
0 commit comments