/Zephyr-latest/dts/bindings/display/ |
D | nordic,nrf-led-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nordic,nrf-led-matrix" 8 include: display-controller.yaml 11 row-gpios: 12 type: phandle-array 17 col-gpios: 18 type: phandle-array 23 pixel-mapping: 24 type: uint8-array 29 array corresponds to one pixel of the matrix and specifies the row [all …]
|
D | solomon,ssd1322.yaml | 5 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 8 column-offset: 11 description: First visible column number. 13 row-offset: 17 COM pin used as first row, mapped to the line set by start-line. 20 start-line: 24 Starting line address of display ram (0-127). 27 mux-ratio: 31 COM Pin Multiplex ratio from 16-128. 34 remap-row-first: [all …]
|
D | istech,ist3931.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [i2c-device.yaml, display-controller.yaml] 11 reset-gpios: 12 type: phandle-array 21 x-offset: 24 description: The column offset in pixels of the LCD to the controller memory 26 y-offset: 29 description: The row offset in pixels of the LCD to the controller memory 31 voltage-converter: 35 voltage-follower: [all …]
|
D | sitronix,st7735r.yaml | 1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk> 2 # SPDX-License-Identifier: Apache-2.0 8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 11 x-offset: 14 description: The column offset in pixels of the LCD to the controller memory 16 y-offset: 19 description: The row offset in pixels of the LCD to the controller memory 32 type: uint8-array 37 type: uint8-array 42 type: uint8-array [all …]
|
D | sitronix,st7789v.yaml | 3 # SPDX-License-Identifier: Apache-2.0 9 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 12 x-offset: 15 description: The column offset in pixels of the LCD to the controller memory 17 y-offset: 20 description: The row offset in pixels of the LCD to the controller memory 60 inversion-off: 64 porch-param: 65 type: uint8-array 69 cmd2en-param: [all …]
|
/Zephyr-latest/include/zephyr/input/ |
D | input_kbd_matrix.h | 4 * SPDX-License-Identifier: Apache-2.0 25 /** Special drive_column argument for not driving any column */ 26 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_NONE -1 29 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_ALL -2 34 /** Row entry data type */ 46 * @brief Enables or disables a specific row, column combination in the actual 49 * This allows enabling or disabling specific row, column combination in the 56 * @param row The matrix row to enable or disable. 57 * @param col The matrix column to enable or disable. 58 * @param enabled Whether the specified row, col has to be enabled or disabled. [all …]
|
/Zephyr-latest/dts/bindings/input/ |
D | input-keymap.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Row-column to key mapper 7 Listens for row-column events from the parent device and reports key events. 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <zephyr/dt-bindings/input/keymap.h> 17 compatible = "input-keymap"; 29 row-size = <3>; 30 col-size = <3>; 34 compatible: "input-keymap" 43 row-size: [all …]
|
D | gpio-kbd-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 kbd-matrix { 12 compatible = "gpio-kbd-matrix"; 13 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 15 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>, 18 no-ghostkey-check; 21 compatible: "gpio-kbd-matrix" 24 - name: kbd-matrix-common.yaml 25 property-blocklist: 26 - row-size [all …]
|
D | kbd-matrix-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 row-size: 14 col-size: 17 The number of column in the keyboard matrix. 19 poll-period-ms: 26 stable-poll-period-ms: 30 stable, defaults to poll-period-ms value if unspecified. 32 poll-timeout-ms: 39 debounce-down-ms: 45 debounce-up-ms: [all …]
|
/Zephyr-latest/samples/boards/nordic/nrf_led_matrix/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 100 --brightness; in show_all_brightness_levels() 119 STEPS = BLOCK_SIZE - 1, in update_through_framebuffer() 134 for (uint8_t column = 0; column < BLOCK_SIZE; ++column) { in update_through_framebuffer() local 135 for (uint8_t row = 0; row < BLOCK_SIZE; ++row) { in update_through_framebuffer() local 137 uint8_t step = (0xFF - MIN_BRIGHTNESS) / STEPS; in update_through_framebuffer() 142 * - vertical lines in update_through_framebuffer() 145 diff = dimmed > column in update_through_framebuffer() 146 ? dimmed - column in update_through_framebuffer() 147 : column - dimmed; in update_through_framebuffer() [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,ra-sdram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 pinctrl-0 = <&sdram_default>; 8 pinctrl-names = "default"; 10 auto-refresh-interval = <10>; 11 auto-refresh-count = <8>; 12 precharge-cycle-count = <3>; 13 multiplex-addr-shift = "10-bit"; 14 edian-mode = "little-endian"; 15 continuous-access; 16 bus-width = "16-bit"; [all …]
|
/Zephyr-latest/samples/drivers/ht16k33/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 18 static void keyscan_callback(const struct device *dev, uint32_t row, in keyscan_callback() argument 19 uint32_t column, bool pressed) in keyscan_callback() argument 21 LOG_INF("Row %d, column %d %s", row, column, in keyscan_callback() 49 "one-by-one"); in main() 62 for (i = 100; i >= 0; i -= 10) { in main()
|
/Zephyr-latest/samples/subsys/display/cfb_shell/ |
D | README.rst | 1 .. zephyr:code-sample:: cfb-shell-sample 3 :relevant-api: monochrome_character_framebuffer 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/subsys/display/cfb_shell 26 .. code-block:: console 28 cfb - Character Framebuffer shell commands 30 -h, --help :Show command help. 38 print :<col: pos> <row: pos> <text> 39 scroll :<dir: (vertical|horizontal)> <col: pos> <row: pos> 47 .. code-block:: console [all …]
|
/Zephyr-latest/doc/services/input/ |
D | gpio-kbd.rst | 1 .. _gpio-kbd: 6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard 12 row GPIOs (inputs) and selects on the columns GPIOs (output). 21 .. figure:: no-diodes.svg 28 row GPIOs at the same time. 30 .. code-block:: devicetree 32 kbd-matrix { 33 compatible = "gpio-kbd-matrix"; 34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 37 col-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, [all …]
|
/Zephyr-latest/doc/contribute/documentation/ |
D | guidelines.rst | 24 .. _Sphinx extensions: http://www.sphinx-doc.org/en/stable/contents.html 26 .. _Sphinx Inline Markup: http://sphinx-doc.org/markup/inline.html#inline-markup 30 Sphinx-defined directives and roles used to create the documentation 42 the first non-white space in the preceding line. For example:: 50 .. code-block:: 66 * Third section heading level (h4) use ``-`` 84 For bullet lists, place an asterisk (``*``) or hyphen (``-``) at 113 #. This is a second-level list under the first item (also 143 Multi-column lists 148 a special ``.. rst-class:: rst-columns`` directive. The directive will [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | kscan.h | 4 * SPDX-License-Identifier: Apache-2.0 44 * @param row Describes row change. 45 * @param column Describes column change. 48 typedef void (*kscan_callback_t)(const struct device *dev, uint32_t row, 49 uint32_t column, 92 (struct kscan_driver_api *)dev->api; in z_impl_kscan_config() 94 return api->config(dev, callback); in z_impl_kscan_config() 109 (const struct kscan_driver_api *)dev->api; in z_impl_kscan_enable_callback() 111 if (api->enable_callback == NULL) { in z_impl_kscan_enable_callback() 112 return -ENOSYS; in z_impl_kscan_enable_callback() [all …]
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.kbd_matrix | 2 # SPDX-License-Identifier: Apache-2.0 26 bool "16 bit row size support" 34 If enabled, the actual-key-mask devicetree property data is stored in 46 int "Maximum column count for the kbd_matrix_state command" 50 Maximum column count for a device processed by the input
|
/Zephyr-latest/subsys/input/ |
D | input_utils.c | 4 * SPDX-License-Identifier: Apache-2.0 62 LOG_INF("input event: dev=%-16s %3s type=%2x code=%3d value=%d", in input_dump_cb() 63 evt->dev ? evt->dev->name : "NULL", in input_dump_cb() 64 evt->sync ? "SYN" : "", in input_dump_cb() 65 evt->type, in input_dump_cb() 66 evt->code, in input_dump_cb() 67 evt->value); in input_dump_cb() 96 return -EINVAL; in input_cmd_report() 106 return -EINVAL; in input_cmd_report() 125 /* Keep space for each column value, 2 char per byte + space. */ [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | guiconfig.py | 4 # SPDX-License-Identifier: ISC 10 # pylint: disable=undefined-variable 16 A Tkinter-based menuconfig implementation, based around a treeview control and 21 single menu (like menuconfig.py). Only single-menu mode distinguishes between 24 A show-all mode is available that shows invisible items in red. 29 Ctrl-S : Save configuration 30 Ctrl-O : Open configuration 31 Ctrl-A : Toggle show-all mode 32 Ctrl-N : Toggle show-name mode 33 Ctrl-M : Toggle single-menu mode [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/memory-controller/ |
D | stm32-fmc-sdram.h | 4 * SPDX-License-Identifier: Apache-2.0 10 /* Number of column address bits */ 16 /* Number of row address bits */
|
/Zephyr-latest/drivers/display/ |
D | display_st7796s.h | 4 * SPDX-License-Identifier: Apache-2.0 14 #define ST7796S_CMD_CASET 0x2A /* Column address set */ 15 #define ST7796S_CMD_RASET 0x2B /* Row address set */
|
D | display_nrf_led_matrix.c | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/gpio/gpio.h> 31 #if (GROUP_SIZE > DT_PROP(TIMER_NODE, cc_num) - 1) || \ 33 #error "Invalid pixel-group-size configured." 40 #error "Invalid length of pixel-mapping." 48 _GET_ROW_IDX(dev_config->pixel_mapping[pixel_idx]) 54 _GET_COL_IDX(dev_config->pixel_mapping[pixel_idx]) 59 "Invalid row index in pixel-mapping["#idx"]."); \ 61 "Invalid column index in pixel-mapping["#idx"]."); 77 #error "Invalid pixel period. Change refresh-frequency or pixel-group-size." [all …]
|
/Zephyr-latest/include/zephyr/display/ |
D | mb_display.h | 8 * SPDX-License-Identifier: Apache-2.0 46 uint8_t row[5]; member 76 * correspond to the columns of that row. The value 0 means the pixel is 79 * The pixels go from left to right and top to bottom, i.e. top-left corner 80 * is the first row's first value, top-right is the first rows last value, 81 * and bottom-right corner is the last value of the last (5th) row. As an 92 * @param _rows Each of the 5 rows represented as a 5-value column array. 105 * https://lancaster-university.github.io/microbit-docs/ubit/display/ 138 * This function takes a printf-style format string and outputs it in a 149 * @param fmt printf-style format string
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 18 /* Mock data for every valid column. */ 66 /* The test only supports a 3 column matrix */ 87 int row; member 101 zassert_equal(_row, test_event_data.row); \ 108 static int row, col, val; in test_cb() local 110 switch (evt->code) { in test_cb() 112 col = evt->value; in test_cb() 115 row = evt->value; in test_cb() 118 val = evt->value; in test_cb() [all …]
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_serlcd.c | 4 * SPDX-License-Identifier: Apache-2.0 101 const struct auxdisplay_serlcd_config *config = dev->config; in auxdisplay_serlcd_send_command() 104 int rc = i2c_write_dt(&config->bus, buffer, sizeof(buffer)); in auxdisplay_serlcd_send_command() 106 k_sleep(K_MSEC(config->command_delay_ms)); in auxdisplay_serlcd_send_command() 114 const struct auxdisplay_serlcd_config *config = dev->config; in auxdisplay_serlcd_send_special_command() 117 int rc = i2c_write_dt(&config->bus, buffer, sizeof(buffer)); in auxdisplay_serlcd_send_special_command() 119 k_sleep(K_MSEC(config->special_command_delay_ms)); in auxdisplay_serlcd_send_special_command() 128 if (data->power) { in auxdisplay_serlcd_send_display_state() 131 if (data->cursor) { in auxdisplay_serlcd_send_display_state() 134 if (data->blinking) { in auxdisplay_serlcd_send_display_state() [all …]
|