Home
last modified time | relevance | path

Searched +full:count +full:- +full:width (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-Core-3.6.0/dts/bindings/rtc/
Dxlnx,xps-timer-1.00.a.yaml3 compatible: "xlnx,xps-timer-1.00.a"
8 # https://github.com/Xilinx/meta-xilinx
11 clock-frequency:
14 xlnx,count-width:
18 - 8
19 - 16
20 - 32
22 Individual timer/counter width in bits.
24 xlnx,gen0-assert:
27 - 0
[all …]
/Zephyr-Core-3.6.0/lib/os/
Dcbprintf_complete.c2 * Copyright (c) 1997-2010, 2012-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0)
196 /** Left-justify value in width */
202 /** Space for non-negative sign */
211 /** Width field present */
214 /** Width value from int argument
226 * prec_value is set to the value of a non-negative argument.
254 /** Set for floating point values that have a non-zero
263 /** Width value from specification.
[all …]
Dprintk.c2 * Copyright (c) 2010, 2013-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Low-level debug output
11 * Low-level debugging output. Platform installs a character output routine at
73 * current hook - if any - for later re-installation.
92 k_str_out(ctx->buf, ctx->buf_count); in buf_flush()
93 ctx->buf_count = 0U; in buf_flush()
100 ctx->buf[ctx->buf_count++] = c; in buf_char_out()
101 if (ctx->buf_count == CONFIG_PRINTK_BUFFER_SIZE) { in buf_char_out()
188 * printf-like formatting is available.
[all …]
/Zephyr-Core-3.6.0/tests/drivers/build_all/pwm/boards/
Darty_a7_arm_designstart_m1.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "xlnx,xps-timer-1.00.a-pwm";
11 interrupt-parent = <&nvic>;
13 clock-frequency = <100000000>;
14 xlnx,count-width = <0x20>;
15 xlnx,gen0-assert = <0x1>;
16 xlnx,gen1-assert = <0x1>;
17 xlnx,one-timer-only = <0x0>;
18 xlnx,trig0-assert = <0x1>;
19 xlnx,trig1-assert = <0x0>;
[all …]
/Zephyr-Core-3.6.0/tests/drivers/build_all/counter/boards/
Darty_a7_arm_designstart_m1.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "xlnx,xps-timer-1.00.a";
11 interrupt-parent = <&nvic>;
13 clock-frequency = <100000000>;
14 xlnx,count-width = <0x20>;
15 xlnx,gen0-assert = <0x1>;
16 xlnx,gen1-assert = <0x1>;
17 xlnx,one-timer-only = <0x0>;
18 xlnx,trig0-assert = <0x1>;
19 xlnx,trig1-assert = <0x1>;
/Zephyr-Core-3.6.0/drivers/display/
Ddisplay_max7219.c4 * SPDX-License-Identifier: Apache-2.0
19 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf
22 * 1. This driver only implements no-decode mode.
38 /* clang-format off */
59 /* clang-format on */
76 const struct max7219_config *dev_config = dev->config; in max7219_transmit_all()
77 struct max7219_data *dev_data = dev->data; in max7219_transmit_all()
80 .buf = dev_data->tx_buf, in max7219_transmit_all()
81 .len = dev_config->num_cascading * 2, in max7219_transmit_all()
85 .count = 1U, in max7219_transmit_all()
[all …]
Dls0xx.c4 * SPDX-License-Identifier: Apache-2.0
25 * -> high/1 means white, low/0 means black
26 * -> Display expects LSB first
29 #define LS0XX_PANEL_WIDTH DT_INST_PROP(0, width)
35 * +-------------------+-------------------+----------------+
36 * | line num (8 bits) | data (WIDTH bits) | dummy (8 bits) |
37 * +-------------------+-------------------+----------------+
62 gpio_pin_toggle_dt(&config->extcomin_gpio); in ls0xx_vcom_toggle()
64 gpio_pin_toggle_dt(&config->extcomin_gpio); in ls0xx_vcom_toggle()
76 const struct ls0xx_config *config = dev->config; in ls0xx_blanking_off()
[all …]
Ddisplay_st7735r.c7 * Copyright (c) 2020 Kim Bøndergaard <kim@fam-boendergaard.dk>
9 * SPDX-License-Identifier: Apache-2.0
36 uint16_t width; member
65 struct st7735r_data *data = dev->data; in st7735r_set_lcd_margins()
67 data->x_offset = x_offset; in st7735r_set_lcd_margins()
68 data->y_offset = y_offset; in st7735r_set_lcd_margins()
73 const struct st7735r_config *config = dev->config; in st7735r_set_cmd()
75 gpio_pin_set_dt(&config->cmd_data, is_cmd); in st7735r_set_cmd()
81 const struct st7735r_config *config = dev->config; in st7735r_transmit_hold()
83 struct spi_buf_set tx_bufs = { .buffers = &tx_buf, .count = 1 }; in st7735r_transmit_hold()
[all …]
Dssd1306.c4 * SPDX-License-Identifier: Apache-2.0
48 uint16_t width; member
71 const struct ssd1306_config *config = dev->config; in ssd1306_bus_ready_i2c()
73 return i2c_is_ready_dt(&config->bus.i2c); in ssd1306_bus_ready_i2c()
78 const struct ssd1306_config *config = dev->config; in ssd1306_write_bus_i2c()
80 return i2c_burst_write_dt(&config->bus.i2c, in ssd1306_write_bus_i2c()
88 const struct ssd1306_config *config = dev->config; in ssd1306_bus_name_i2c()
90 return config->bus.i2c.bus->name; in ssd1306_bus_name_i2c()
98 const struct ssd1306_config *config = dev->config; in ssd1306_bus_ready_spi()
100 if (gpio_pin_configure_dt(&config->data_cmd, GPIO_OUTPUT_INACTIVE) < 0) { in ssd1306_bus_ready_spi()
[all …]
Ddisplay_st7789v.c9 * SPDX-License-Identifier: Apache-2.0
48 uint16_t width; member
65 struct st7789v_data *data = dev->data; in st7789v_set_lcd_margins()
67 data->x_offset = x_offset; in st7789v_set_lcd_margins()
68 data->y_offset = y_offset; in st7789v_set_lcd_margins()
74 const struct st7789v_config *config = dev->config; in st7789v_transmit()
78 struct spi_buf_set tx_bufs = { .buffers = &tx_buf, .count = 1 }; in st7789v_transmit()
80 if (config->cmd_data_gpio.port != NULL) { in st7789v_transmit()
82 gpio_pin_set_dt(&config->cmd_data_gpio, 1); in st7789v_transmit()
83 spi_write_dt(&config->bus, &tx_bufs); in st7789v_transmit()
[all …]
Duc81xx.c5 * SPDX-License-Identifier: Apache-2.0
84 uint16_t width; member
99 const struct uc81xx_config *config = dev->config; in uc81xx_busy_wait()
100 int pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait()
105 pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait()
112 const struct uc81xx_config *config = dev->config; in uc81xx_write_cmd()
114 struct spi_buf_set buf_set = {.buffers = &buf, .count = 1}; in uc81xx_write_cmd()
119 err = gpio_pin_set_dt(&config->dc_gpio, 1); in uc81xx_write_cmd()
124 err = spi_write_dt(&config->bus, &buf_set); in uc81xx_write_cmd()
133 err = gpio_pin_set_dt(&config->dc_gpio, 0); in uc81xx_write_cmd()
[all …]
Dssd16xx.c3 * Copyright (c) 2018-2020 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
47 /* Width (bits) of integer type representing an x coordinate */
49 /* Width (bits) of integer type representing a y coordinate */
105 uint16_t width; member
114 const struct ssd16xx_config *config = dev->config; in ssd16xx_busy_wait()
115 int pin = gpio_pin_get_dt(&config->busy_gpio); in ssd16xx_busy_wait()
120 pin = gpio_pin_get_dt(&config->busy_gpio); in ssd16xx_busy_wait()
127 const struct ssd16xx_config *config = dev->config; in ssd16xx_write_cmd()
129 struct spi_buf_set buf_set = {.buffers = &buf, .count = 1}; in ssd16xx_write_cmd()
[all …]
Ddisplay_gc9x01x.c3 * Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
5 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/display/panel.h>
231 const struct gc9x01x_config *config = dev->config; in gc9x01x_transmit()
234 struct spi_buf_set tx_bufs = {.buffers = &tx_buf, .count = 1U}; in gc9x01x_transmit()
236 ret = gpio_pin_set_dt(&config->cmd_data, GC9X01X_GPIO_LEVEL_CMD); in gc9x01x_transmit()
240 ret = spi_write_dt(&config->spi, &tx_bufs); in gc9x01x_transmit()
250 ret = gpio_pin_set_dt(&config->cmd_data, GC9X01X_GPIO_LEVEL_DATA); in gc9x01x_transmit()
254 ret = spi_write_dt(&config->spi, &tx_bufs); in gc9x01x_transmit()
265 const struct gc9x01x_config *config = dev->config; in gc9x01x_regs_init()
[all …]
/Zephyr-Core-3.6.0/boards/arm/reel_board/
Dreel_board_v2.dts2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "reel_board_v2-pinctrl.dtsi"
19 zephyr,shell-uart = &uart0;
20 zephyr,uart-mcumgr = &uart0;
21 zephyr,bt-mon-uart = &uart0;
22 zephyr,bt-c2h-uart = &uart0;
25 zephyr,code-partition = &slot0_partition;
35 compatible = "nordic,nrf-spi";
[all …]
/Zephyr-Core-3.6.0/drivers/eeprom/
Deeprom_at2x.c4 * SPDX-License-Identifier: Apache-2.0
32 #define EEPROM_AT25_STATUS_WIP BIT(0) /* Write-In-Process (RO) */
70 const struct eeprom_at2x_config *config = dev->config; in eeprom_at2x_write_protect()
72 if (!config->wp_gpio.port) { in eeprom_at2x_write_protect()
76 return gpio_pin_set_dt(&config->wp_gpio, 1); in eeprom_at2x_write_protect()
81 const struct eeprom_at2x_config *config = dev->config; in eeprom_at2x_write_enable()
83 if (!config->wp_gpio.port) { in eeprom_at2x_write_enable()
87 return gpio_pin_set_dt(&config->wp_gpio, 0); in eeprom_at2x_write_enable()
94 const struct eeprom_at2x_config *config = dev->config; in eeprom_at2x_read()
95 struct eeprom_at2x_data *data = dev->data; in eeprom_at2x_read()
[all …]
/Zephyr-Core-3.6.0/samples/subsys/video/capture/
DREADME.rst1 .. zephyr:code-sample:: video-capture
3 :relevant-api: video_interface
11 video capture device, writes a frame count message to the console, and then
19 - :ref:`mimxrt1064_evk`
20 - `MT9M114 camera module`_
35 .. zephyr-app-commands::
36 :zephyr-app: samples/subsys/video/capture
44 .. code-block:: console
47 width (640,640), height (480,480)
49 - RGBP
/Zephyr-Core-3.6.0/subsys/shell/
DKconfig3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
16 module-str = Shell
23 This is a meta-configuration option to significantly reduce the flash
76 int "Default terminal width"
79 Default terminal width is used to break lines.
172 bool "Parse -h and --help options"
177 Shell parses command to find '-h' or '--help' string. If the shell
182 bool "Printing help on wrong argument count"
207 bool "Built-in commands"
[all …]
/Zephyr-Core-3.6.0/drivers/watchdog/
Dwdt_dw.h1 /* SPDX-License-Identifier: Apache-2.0 */
19 * and programmed based on user-defined options.
116 * bits WDT_CNT_WIDTH - 1 to 0
190 * The Watchdog Timer counter width.
214 * Width of the APB Data Bus to which this component is attached.
219 * APB data width is 8 bits
224 * APB data width is 16 bits
229 * APB data width is 32 bits
241 * of 2 from 2^16 to 2^(WDT_CNT_WIDTH-1). When this parameter is set to 0, the user must define the
242 * timeout period range (2^8 to 2^(WDT_CNT_WIDTH)-1) using the WDT_USER_TOP_(i) parameter.
[all …]
/Zephyr-Core-3.6.0/doc/services/zbus/
Dindex.rst9 https://www.figma.com/community/file/1292866458780627559/zbus-diagram-assets
12 The :dfn:`Zephyr bus - zbus` is a lightweight and flexible software bus enabling a simple way for
13 threads to talk to one another in a many-to-many way.
21 Threads can send messages to one or more observers using zbus. It makes the many-to-many
22 communication possible. The bus implements message-passing and publish/subscribe communication
25 The communication through zbus is channel-based. Threads (or callbacks) use channels to exchange
38 :width: 75%
54 :width: 70%
66 :width: 70%
72 * Subscriber, a thread-based observer that relies internally on a message queue where the event
[all …]
/Zephyr-Core-3.6.0/subsys/sd/
Dsdmmc.c4 * SPDX-License-Identifier: Apache-2.0
26 scr->flags = 0U; in sdmmc_decode_scr()
27 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdmmc_decode_scr()
28 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdmmc_decode_scr()
30 scr->flags |= SD_SCR_DATA_STATUS_AFTER_ERASE; in sdmmc_decode_scr()
32 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdmmc_decode_scr()
33 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdmmc_decode_scr()
35 scr->flags |= SD_SCR_SPEC3; in sdmmc_decode_scr()
37 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdmmc_decode_scr()
38 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdmmc_decode_scr()
[all …]
/Zephyr-Core-3.6.0/doc/build/cmake/
Dbuild-build-phase-1.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3-color: rgb(255, 255, 255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="993px…
/Zephyr-Core-3.6.0/include/zephyr/sd/
Dsd.h4 * SPDX-License-Identifier: Apache-2.0
71 unsigned int num_io: 3; /*!< I/O function count. 0 for SD cards */
80 uint8_t bus_width; /*!< Desired bus width */
101 * @retval -ETIMEDOUT: card initialization timed out
102 * @retval -EBUSY: card is busy
103 * @retval -EIO: IO error while starting card
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dvideo.h10 * SPDX-License-Identifier: Apache-2.0
28 #include <zephyr/drivers/video-controls.h>
44 /** frame width in pixels. */
45 uint32_t width; member
53 * the next row (>=width).
68 /** minimum supported frame width in pixels. */
70 /** maximum supported frame width in pixels. */
76 /** width step size in pixels. */
91 /** minimal count of video buffers to enqueue before being able to start
276 * @retval -EINVAL If parameters are invalid.
[all …]
Ddma.h10 * SPDX-License-Identifier: Apache-2.0
120 /** Continuous transfer count between scatter boundaries */
122 /** Continuous transfer count between gather boundaries */
135 * - 0b00 increment
136 * - 0b01 decrement
137 * - 0b10 no change
143 * - 0b00 increment
144 * - 0b01 decrement
145 * - 0b10 no change
157 * - 0b0 source request service upon data availability
[all …]
/Zephyr-Core-3.6.0/doc/project/
Drelease_process.rst6 The Zephyr project releases on a time-based cycle, rather than a feature-driven
10 A time-based release process enables the Zephyr project to provide users with a
12 roughly 4-month release cycle allows the project to coordinate development of
19 - Release tagging procedure:
21 - linear mode on main branch,
22 - release branches for maintenance after release tagging.
23 - Each release period will consist of a development phase followed by a
29 - Development phase: all changes are considered and merged, subject to
31 - Stabilisation phase: the release manager creates a vN-rc1 tag and the tree
33 - CI sees the tag, builds and runs tests; Test teams analyse the report from the
[all …]

123