# SPDX-License-Identifier: Apache-2.0 menuconfig DSHOT_BB bool "DShot ESC driver (Betaflight-style bidirectional)" depends on DT_HAS_MISAKI_DSHOT_BB_ENABLED depends on SOC_FAMILY_STM32 select DMA select USE_STM32_LL_TIM default y help DShot ESC protocol driver for STM32 that follows Betaflight's bidirectional approach: the frame is still generated with a timer DMA burst (same as misaki,dshot), but the ESC telemetry reply is sampled by a separate "pacer" timer driving a DMA that reads the GPIO input data registers into a buffer at 3x the symbol rate. The buffer is decoded (RLL + GCR) into eRPM, like BF's decode_bb(). if DSHOT_BB config DSHOT_BB_INIT_PRIORITY int "DShot BB driver init priority" default 70 config DSHOT_BB_LOG_LEVEL int "DShot BB log level" depends on LOG range 0 4 default 3 endif # DSHOT_BB