zephyr/drivers/led/Kconfig.ht16k33
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

57 lines
1.4 KiB
Plaintext

# Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
menuconfig HT16K33
bool "HT16K33 LED driver"
depends on (I2C && HAS_DTS_I2C)
help
Enable LED driver for HT16K33.
The HT16K33 is a memory mapping, multifunction LED
controller driver. The controller supports up to 128 LEDs
(up to 16 rows and 8 commons).
config HT16K33_KEYSCAN
bool "Enable keyscan support"
depends on (HT16K33 && GPIO)
select GPIO_HT16K33
help
Enable keyscan child device support in the HT16K33 LED
driver.
The keyscan functionality itself is handled by the
HT16K33 GPIO driver.
if HT16K33_KEYSCAN
config HT16K33_KEYSCAN_IRQ_THREAD_STACK_SIZE
int "Stack size for keyscan interrupt request handler thread"
default 400
help
Size of the stack used for internal thread for keyscan
interrupt processing.
config HT16K33_KEYSCAN_IRQ_THREAD_PRIO
int "Priority for keyscan interrupt request handler thread"
default 2
help
Priority level for internal thread for keyscan interrupt
processing.
config HT16K33_KEYSCAN_DEBOUNCE_MSEC
int "Keyscan debounce interval in milliseconds"
default 50
range 20 1000
help
Keyscan debounce interval in milliseconds.
config HT16K33_KEYSCAN_POLL_MSEC
int "Keyscan poll interval in milliseconds"
default 200
range 20 10000
help
Keyscan poll interval in milliseconds. Polling is only used
if no interrupt line is present.
endif # HT16K33_KEYSCAN