menuconfig BUTTON_ENABLE
    bool "Enable BUTTON"
    default n
if BUTTON_ENABLE
    menuconfig BUTTON_DRV_ENABLE
        bool "Enable Button Driver"
        default n
        help
            "Enable Button Driver. Default is n."
    if BUTTON_DRV_ENABLE
        config BUTTON_DRV_PERIOD_TIME_MS
            int "BUTTON DRV PERIOD TIME (MS)"
            range 2 100
            default 5
            help
                "Button Scan Interval"
        config BUTTON_DRV_DEBOUNCE_TICKS
            int "BUTTON DRV DEBOUNCE TICKS"
            range 1 10
            default 2
            help
                "One BUTTON_DRV_DEBOUNCE_TICKS equal to BUTTON_DRV_PERIOD_TIME_MS"
        config BUTTON_DRV_SHORT_PRESS_TIME_MS
            int "BUTTON DRV SHORT PRESS TIME (MS)"
            range 50 800
            default 180
            help
                "Button Short Press Time"
        config BUTTON_DRV_LONG_PRESS_TIME_MS
            int "BUTTON DRV LONG PRESS TIME (MS)"
            range 500 5000
            default 1500
            help
                "Button Long Press Time"
        config BUTTON_DRV_LONG_PRESS_HOLD_TIME_MS
            int "BUTTON DRV LONG_PRESS_HOLD SERIAL TIME (MS)"
            range 2 1000
            default 20
            help
                "Button Long Press Hold Serial Trigger Interval"
    endif        
endif


