CONFIG_DISPLAY_NRF_LED_MATRIX

LED matrix driven by GPIOs

Type: bool

Help

Enable driver for a LED matrix with rows and columns driven by
GPIOs. The driver allows setting one of 256 levels of brightness
(where 0 means off completely) for each of the LEDs independently.
Assignment of GPIOs to rows and columns and the mapping of those
to pixels are specified in properties of a "nordic,nrf-led-matrix"
compatible node in devicetree.
The driver uses one TIMER instance and, depending on what is set in
devicetree, one PWM instance or one or more GPIOTE and PPI channels
(the latter value depends on the chosen pixel group size - the number
of LEDs in one row that can be lit simultaneously).

Direct dependencies

SOC_FAMILY_NRF && DISPLAY

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/drivers/display/Kconfig.nrf_led_matrix:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:74<Zephyr>/drivers/display/Kconfig:26

Menu path: (Top) → Device Drivers → Display Drivers

config DISPLAY_NRF_LED_MATRIX
    bool "LED matrix driven by GPIOs"
    default n
    select NRFX_GPIOTE
    select NRFX_PPI if HAS_HW_NRF_PPI
    depends on SOC_FAMILY_NRF && DISPLAY
    help
      Enable driver for a LED matrix with rows and columns driven by
      GPIOs. The driver allows setting one of 256 levels of brightness
      (where 0 means off completely) for each of the LEDs independently.
      Assignment of GPIOs to rows and columns and the mapping of those
      to pixels are specified in properties of a "nordic,nrf-led-matrix"
      compatible node in devicetree.
      The driver uses one TIMER instance and, depending on what is set in
      devicetree, one PWM instance or one or more GPIOTE and PPI channels
      (the latter value depends on the chosen pixel group size - the number
      of LEDs in one row that can be lit simultaneously).

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)