menu "Button"

    choice BUTTON_TIMER_IMPLEMENT
        bool "Button Timer Mode"
        default BUTTON_USE_ESP_TIMER
        help
            Choose a implementation of timer for button instance.

        config BUTTON_USE_RTOS_TIMER
            bool "Use FreeRTOS Timer"

        config BUTTON_USE_ESP_TIMER
            bool "Use ESP Timer"
    endchoice

    config BUTTON_IO_GLITCH_FILTER_TIME_MS
        int "IO glitch filter timer ms (10~100)"
        range 10 100
        default 50

endmenu
