{ "adc_inputs": { "adcs": [ { "name": "SPI", "adc": "SPI4", "gpio_pin_miso": "GPIO_PIN(GPIOE, 5)", "gpio_pin_mosi": "GPIO_PIN(GPIOE, 6)", "gpio_pin_sck": "GPIO_PIN(GPIOE, 2)", "gpio_pin_cs": "GPIO_PIN(GPIOE, 4)" }, { "name": "MAIN", "adc": "ADC3", "dma": "DMA2", "dma_channel": "LL_DMA_CHANNEL_2", "dma_stream": "LL_DMA_STREAM_0", "dma_stream_irq": "DMA2_Stream0_IRQn", "dma_stream_irq_handler": "DMA2_Stream0_IRQHandler", "sample_time": "LL_ADC_SAMPLINGTIME_56CYCLES" }, { "name": "EXT", "adc": "ADC1", "dma": null, "sample_time": "LL_ADC_SAMPLINGTIME_56CYCLES" } ], "inputs": [ { "name": "LH", "type": "STICK", "adc": "SPI", "channel": 0 }, { "name": "LV", "type": "STICK", "adc": "SPI", "channel": 1, "inverted": true }, { "name": "RV", "type": "STICK", "adc": "SPI", "channel": 2 }, { "name": "RH", "type": "STICK", "adc": "SPI", "channel": 3, "inverted": true }, { "name": "P1", "type": "FLEX", "adc": "SPI", "channel": 4, "inverted": true, "label": "S1", "short_label": "1", "default": "POT" }, { "name": "P2", "type": "FLEX", "adc": "SPI", "channel": 5, "label": "6POS", "short_label": "3", "default": "MULTIPOS" }, { "name": "P3", "type": "FLEX", "adc": "SPI", "channel": 6, "inverted": true, "label": "S2", "short_label": "2", "default": "POT_CENTER" }, { "name": "SL1", "type": "FLEX", "adc": "SPI", "channel": 7, "label": "LS", "short_label": "L", "default": "SLIDER" }, { "name": "SL2", "type": "FLEX", "adc": "SPI", "channel": 8, "inverted": true, "label": "RS", "short_label": "R", "default": "SLIDER" }, { "name": "SL3", "type": "FLEX", "adc": "SPI", "channel": 11, "inverted": true, "label": "L1", "short_label": "1", "default": "SLIDER" }, { "name": "SL4", "type": "FLEX", "adc": "SPI", "channel": 10, "inverted": true, "label": "L2", "short_label": "2", "default": "SLIDER" }, { "name": "JSx", "type": "FLEX", "adc": "MAIN", "gpio": "GPIOF", "pin": "LL_GPIO_PIN_8", "channel": 6, "label": "JSx", "short_label": "X", "default": "AXIS_X" }, { "name": "JSy", "type": "FLEX", "adc": "MAIN", "gpio": "GPIOF", "pin": "LL_GPIO_PIN_9", "channel": 7, "label": "JSy", "short_label": "Y", "default": "AXIS_Y" }, { "name": "VBAT", "type": "VBAT", "adc": "SPI", "channel": 9 }, { "name": "RTC_BAT", "type": "RTC_BAT", "adc": "EXT", "gpio": null, "pin": null, "channel": "LL_ADC_CHANNEL_VBAT" } ] }, "switches": [ { "name": "SA", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOH", "pin_high": "LL_GPIO_PIN_9", "gpio_low": "GPIOI", "pin_low": "LL_GPIO_PIN_15", "is_cfs": false }, { "name": "SB", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOH", "pin_high": "LL_GPIO_PIN_12", "gpio_low": "GPIOB", "pin_low": "LL_GPIO_PIN_12", "is_cfs": false }, { "name": "SC", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOD", "pin_high": "LL_GPIO_PIN_11", "gpio_low": "GPIOB", "pin_low": "LL_GPIO_PIN_15", "is_cfs": false }, { "name": "SD", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOJ", "pin_high": "LL_GPIO_PIN_7", "gpio_low": "GPIOG", "pin_low": "LL_GPIO_PIN_2", "is_cfs": false }, { "name": "SE", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOH", "pin_high": "LL_GPIO_PIN_4", "gpio_low": "GPIOE", "pin_low": "LL_GPIO_PIN_3", "is_cfs": false }, { "name": "SF", "type": "2POS", "flags": 0, "inverted": true, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_3", "is_cfs": false }, { "name": "SG", "type": "3POS", "flags": 0, "inverted": false, "default": "3POS", "display": null, "gpio_high": "GPIOG", "pin_high": "LL_GPIO_PIN_6", "gpio_low": "GPIOG", "pin_low": "LL_GPIO_PIN_3", "is_cfs": false }, { "name": "SH", "type": "2POS", "flags": 0, "inverted": false, "default": "TOGGLE", "display": null, "gpio": "GPIOG", "pin": "LL_GPIO_PIN_7", "is_cfs": false }, { "name": "SI", "type": "2POS", "flags": 0, "inverted": false, "default": "NONE", "display": null, "gpio": "GPIOB", "pin": "LL_GPIO_PIN_1", "is_cfs": false }, { "name": "SJ", "type": "2POS", "flags": 0, "inverted": false, "default": "NONE", "display": null, "gpio": "GPIOB", "pin": "LL_GPIO_PIN_0", "is_cfs": false } ], "keys": [ { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_6", "active_low": true, "key": "KEY_EXIT", "name": "EXIT", "label": "RTN" }, { "gpio": "GPIOC", "pin": "LL_GPIO_PIN_1", "active_low": true, "key": "KEY_ENTER", "name": "ENTER", "label": "Enter" }, { "gpio": "GPIOC", "pin": "LL_GPIO_PIN_13", "active_low": true, "key": "KEY_PAGEUP", "name": "PAGEUP", "label": "PgUp" }, { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_8", "active_low": true, "key": "KEY_PAGEDN", "name": "PAGEDN", "label": "PgDn" }, { "gpio": "GPIOG", "pin": "LL_GPIO_PIN_13", "active_low": true, "key": "KEY_MODEL", "name": "MDL", "label": "MDL" }, { "gpio": "GPIOC", "pin": "LL_GPIO_PIN_4", "active_low": true, "key": "KEY_TELE", "name": "TELE", "label": "TELE" }, { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_7", "active_low": true, "key": "KEY_SYS", "name": "SYS", "label": "SYS" } ], "trims": [ { "name": "T1", "dec": { "gpio": "GPIOD", "pin": "LL_GPIO_PIN_3", "active_low": true }, "inc": { "gpio": "GPIOD", "pin": "LL_GPIO_PIN_7", "active_low": true }, "active_low": true }, { "name": "T2", "dec": { "gpio": "GPIOJ", "pin": "LL_GPIO_PIN_13", "active_low": true }, "inc": { "gpio": "GPIOJ", "pin": "LL_GPIO_PIN_12", "active_low": true }, "active_low": true }, { "name": "T3", "dec": { "gpio": "GPIOG", "pin": "LL_GPIO_PIN_12", "active_low": true }, "inc": { "gpio": "GPIOJ", "pin": "LL_GPIO_PIN_14", "active_low": true }, "active_low": true }, { "name": "T4", "dec": { "gpio": "GPIOC", "pin": "LL_GPIO_PIN_0", "active_low": true }, "inc": { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_4", "active_low": true }, "active_low": true }, { "name": "T5", "dec": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_14", "active_low": true }, "inc": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_13", "active_low": true }, "active_low": true }, { "name": "T6", "dec": { "gpio": "GPIOJ", "pin": "LL_GPIO_PIN_8", "active_low": true }, "inc": { "gpio": "GPIOD", "pin": "LL_GPIO_PIN_13", "active_low": true }, "active_low": true } ], "display": { "w": 480, "h": 272, "phys_w": 480, "phys_h": 272, "depth": 16, "color": 1, "oled": 0, "backlight_color": 0 }, "custom_switches": { "rgb_led": 0, "groups": 0 }, "hardware": { "has_audio_mute": 0, "has_bling_leds": 0, "has_ext_module_support": 1, "has_int_module_support": 1, "sport_max_baudrate": 250000, "surface": 0, "cpu": "STM32F429xI", "cpu_type": "STM32F4" } }