{ "adc_inputs": { "adcs": [ { "name": "MAIN", "adc": "ADC1", "dma": "DMA2", "dma_channel": "LL_DMAMUX1_REQ_ADC1", "dma_stream": "LL_DMA_STREAM_4", "dma_stream_irq": "DMA2_Stream4_IRQn", "dma_stream_irq_handler": "DMA2_Stream4_IRQHandler", "sample_time": "LL_ADC_SAMPLINGTIME_8CYCLES_5" }, { "name": "EXT", "adc": "ADC3", "dma": "DMA2", "dma_channel": "LL_DMAMUX1_REQ_ADC3", "dma_stream": "LL_DMA_STREAM_0", "dma_stream_irq": "DMA2_Stream0_IRQn", "dma_stream_irq_handler": "DMA2_Stream0_IRQHandler", "sample_time": "LL_ADC_SAMPLINGTIME_8CYCLES_5" } ], "inputs": [ { "name": "LH", "type": "STICK", "adc": "MAIN", "gpio": "GPIOA", "pin": "LL_GPIO_PIN_0", "channel": "LL_ADC_CHANNEL_16" }, { "name": "LV", "type": "STICK", "adc": "MAIN", "gpio": "GPIOA", "pin": "LL_GPIO_PIN_3", "channel": "LL_ADC_CHANNEL_15", "inverted": true }, { "name": "RV", "type": "STICK", "adc": "MAIN", "gpio": "GPIOA", "pin": "LL_GPIO_PIN_1", "channel": "LL_ADC_CHANNEL_17" }, { "name": "RH", "type": "STICK", "adc": "MAIN", "gpio": "GPIOA", "pin": "LL_GPIO_PIN_2", "channel": "LL_ADC_CHANNEL_14", "inverted": true }, { "name": "P1", "type": "FLEX", "adc": "MAIN", "gpio": "GPIOC", "pin": "LL_GPIO_PIN_3", "channel": "LL_ADC_CHANNEL_13", "label": "S1", "short_label": "1", "default": "POT_CENTER" }, { "name": "P2", "type": "FLEX", "adc": "MAIN", "gpio": "GPIOC", "pin": "LL_GPIO_PIN_2", "channel": "LL_ADC_CHANNEL_12", "label": "S2", "short_label": "2", "default": "POT_CENTER" }, { "name": "VBAT", "type": "VBAT", "adc": "MAIN", "gpio": "GPIOC", "pin": "LL_GPIO_PIN_5", "channel": "LL_ADC_CHANNEL_8" }, { "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": true, "default": "3POS", "display": null, "gpio_high": "GPIOB", "pin_high": "LL_GPIO_PIN_0", "gpio_low": "GPIOC", "pin_low": "LL_GPIO_PIN_4", "is_cfs": false }, { "name": "SB", "type": "3POS", "flags": 0, "inverted": true, "default": "3POS", "display": null, "gpio_high": "GPIOD", "pin_high": "LL_GPIO_PIN_4", "gpio_low": "GPIOJ", "pin_low": "LL_GPIO_PIN_7", "is_cfs": false }, { "name": "SC", "type": "3POS", "flags": 0, "inverted": true, "default": "3POS", "display": null, "gpio_high": "GPIOH", "pin_high": "LL_GPIO_PIN_3", "gpio_low": "GPIOJ", "pin_low": "LL_GPIO_PIN_0", "is_cfs": false }, { "name": "SD", "type": "3POS", "flags": 0, "inverted": true, "default": "3POS", "display": null, "gpio_high": "GPIOJ", "pin_high": "LL_GPIO_PIN_14", "gpio_low": "GPIOH", "pin_low": "LL_GPIO_PIN_15", "is_cfs": false }, { "name": "SE", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOE", "pin": "LL_GPIO_PIN_5", "is_cfs": false }, { "name": "SF", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOA", "pin": "LL_GPIO_PIN_15", "is_cfs": false }, { "name": "SW1", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_11", "is_cfs": true, "cfs_idx": 0 }, { "name": "SW2", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_9", "is_cfs": true, "cfs_idx": 1 }, { "name": "SW3", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_10", "is_cfs": true, "cfs_idx": 2 }, { "name": "SW4", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_13", "is_cfs": true, "cfs_idx": 3 }, { "name": "SW5", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_14", "is_cfs": true, "cfs_idx": 4 }, { "name": "SW6", "type": "2POS", "flags": 0, "inverted": false, "default": "2POS", "display": null, "gpio": "GPIOH", "pin": "LL_GPIO_PIN_12", "is_cfs": true, "cfs_idx": 5 } ], "keys": [ { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_8", "active_low": true, "key": "KEY_EXIT", "name": "EXIT", "label": "EXIT" }, { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_2", "active_low": true, "key": "KEY_ENTER", "name": "ENTER", "label": "Enter" }, { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_4", "active_low": true, "key": "KEY_PAGEDN", "name": "PAGEDN", "label": "PAGE>" }, { "gpio": "GPIOE", "pin": "LL_GPIO_PIN_3", "active_low": true, "key": "KEY_MODEL", "name": "MDL", "label": "MDL" }, { "gpio": "GPIOE", "pin": "LL_GPIO_PIN_4", "active_low": true, "key": "KEY_TELE", "name": "TELE", "label": "TELE" }, { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_5", "active_low": true, "key": "KEY_SYS", "name": "SYS", "label": "SYS" } ], "trims": [ { "name": "T1", "dec": { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_10", "active_low": true }, "inc": { "gpio": "GPIOI", "pin": "LL_GPIO_PIN_9", "active_low": true }, "active_low": true }, { "name": "T2", "dec": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_13", "active_low": true }, "inc": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_14", "active_low": true }, "active_low": true }, { "name": "T3", "dec": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_12", "active_low": true }, "inc": { "gpio": "GPIOB", "pin": "LL_GPIO_PIN_15", "active_low": true }, "active_low": true }, { "name": "T4", "dec": { "gpio": "GPIOG", "pin": "LL_GPIO_PIN_2", "active_low": true }, "inc": { "gpio": "GPIOG", "pin": "LL_GPIO_PIN_3", "active_low": true }, "active_low": true } ], "display": { "w": 480, "h": 320, "phys_w": 480, "phys_h": 320, "depth": 16, "color": 1, "oled": 0, "backlight_color": 0 }, "custom_switches": { "rgb_led": 1, "groups": 3 }, "hardware": { "has_audio_mute": 1, "has_bling_leds": 1, "has_ext_module_support": 1, "has_int_module_support": 1, "sport_max_baudrate": 400000, "surface": 0 } }