Home
last modified time | relevance | path

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

1234

/Zephyr-latest/dts/bindings/memory-controllers/
Drenesas,ra-sdram.yaml2 # 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/video/capture/src/
Dcheck_test_pattern.h4 * SPDX-License-Identifier: Apache-2.0
26 * This is measured on a real 8-colorbar pattern generated by an ov5640 camera sensor.
33 {100.0, 0.0053, -0.0104}, {97.1804, -21.2151, 91.3538}, {90.1352, -58.4675, 6.0570},
34 {87.7630, -85.9469, 83.2128}, {56.6641, 95.0182, -66.9129}, {46.6937, 72.7494, 49.5801},
35 {27.6487, 71.5662, -97.4712}, {1.3726, -2.8040, 2.0043}};
60 lab.L = 116.0 * y - 16.0; in rgb888_to_lab()
61 lab.a = 500.0 * (x - y); in rgb888_to_lab()
62 lab.b = 200.0 * (y - z); in rgb888_to_lab()
92 sum->L += lab.L; in sum_lab()
93 sum->a += lab.a; in sum_lab()
[all …]
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/
DREADME.rst1 .. zephyr:code-sample:: video-capture-to-lvgl
3 :relevant-api: video_interface
11 a video capture device, write a frame count message to the console, and then send
24 TFT LCD display. Connect a USB cable from a host to the micro USB-C connector on the
32 .. zephyr-app-commands::
33 :zephyr-app: samples/drivers/video/capture_to_lvgl/
37 :gen-args: -DCONFIG_BOOT_DELAY=2000
43 .. code-block:: console
45 [00:00:02.779,000] <inf> main: - Device name: dcmi@48020000
46 [00:00:02.779,000] <inf> main: - Capabilities:
[all …]
/Zephyr-latest/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-latest/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
17 #include <zephyr/sys/printk-hooks.h>
78 k_str_out(ctx->buf, ctx->buf_count); in buf_flush()
79 ctx->buf_count = 0U; in buf_flush()
86 ctx->buf[ctx->buf_count] = c; in buf_char_out()
87 ++ctx->buf_count; in buf_char_out()
88 if (ctx->buf_count == CONFIG_PRINTK_BUFFER_SIZE) { in buf_char_out()
[all …]
/Zephyr-latest/tests/drivers/build_all/pwm/boards/
Darty_a7_designstart_fpga_cortex_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-latest/tests/drivers/build_all/counter/boards/
Darty_a7_designstart_fpga_cortex_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-latest/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 …]
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 …]
/Zephyr-latest/boards/phytec/reel_board/
Dreel_board_nrf52840_2.overlay2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
6 * SPDX-License-Identifier: Apache-2.0
9 #include "reel_board_nrf52840_2-pinctrl.dtsi"
17 zephyr,shell-uart = &uart0;
18 zephyr,uart-mcumgr = &uart0;
19 zephyr,bt-mon-uart = &uart0;
20 zephyr,bt-c2h-uart = &uart0;
23 zephyr,code-partition = &slot0_partition;
32 compatible = "zephyr,mipi-dbi-spi";
33 spi-dev = <&spi1>;
[all …]
/Zephyr-latest/samples/subsys/profiling/perf/images/
Dgraph_example.svg2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <svg version="1.1" width="1200" height="214" onload="init(evt)" viewBox="0 0 1200 214" xmlns="http:…
4-- Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest vers…
5 <!-- NOTES: -->
8 <stop stop-color="#eeeeee" offset="5%" />
9 <stop stop-color="#eeeeb0" offset="95%" />
13 text { font-family:Verdana; font-size:12px; fill:rgb(0,0,0); }
16 #subtitle { text-anchor:middle; font-color:rgb(160,160,160); }
17 #title { text-anchor:middle; font-size:17px}
19 #frames > *:hover { stroke:black; stroke-width:0.5; cursor:pointer; }
[all …]
/Zephyr-latest/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-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_memory.svg1 …="1.1" width="649px" height="263px" viewBox="-0.5 -0.5 649 263" content="&lt;mxfile&gt;&lt;diagram…
4 … <rect x="7" y="120" width="120" height="40" fill="none" stroke="#000000" pointer-events="all"/>
5 <g transform="translate(-0.5 -0.5)">
7 …ointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/featu…
8 …="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height:…
9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
10-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-ev…
16 …<text x="67" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid…
21 … <rect x="127" y="120" width="200" height="40" fill="none" stroke="#000000" pointer-events="all"/>
22 <g transform="translate(-0.5 -0.5)">
[all …]
/Zephyr-latest/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-latest/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-latest/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
98 int "Default terminal width"
102 Default terminal width is used to break lines.
207 bool "Parse -h and --help options"
212 Shell parses command to find '-h' or '--help' string. If the shell
217 bool "Printing help on wrong argument count"
242 bool "Built-in commands"
[all …]
/Zephyr-latest/drivers/dma/
Ddma_dw_axi.c4 * SPDX-License-Identifier: Apache-2.0
17 #define DEV_CFG(_dev) ((const struct dma_dw_axi_dev_cfg *)(_dev)->config)
18 #define DEV_DATA(_dev) ((struct dma_dw_axi_dev_data *const)(_dev)->data)
29 #define DMA_DW_AXI_GET_MSIZE(blen) ((blen == 1) ? (0U) : (find_msb_set(blen) - 2U))
91 /* bitfield configuration for multi-block transfer */
130 /* source transfer width */
132 /* destination transfer width */
171 /* source and destination transfer width */
194 /* type of multi-block transfer */
297 channel = find_lsb_set(status) - 1; in dma_dw_axi_isr()
[all …]
/Zephyr-latest/drivers/sdhc/
Drcar_mmc_registers.h4 * SPDX-License-Identifier: Apache-2.0
21 #define RCAR_MMC_CMD_NORMAL (0 << 8) /* auto-detect of resp-type */
37 #define RCAR_MMC_STOP_SEC BIT(8) /* use sector count */
41 * The block count register is used to specify the number of
129 * the bus width and timeout counter.
162 * The host interface mode setting register selects the width for access to
/Zephyr-latest/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-latest/subsys/sd/
Dsdmmc.c4 * SPDX-License-Identifier: Apache-2.0
25 scr->flags = 0U; in sdmmc_decode_scr()
26 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdmmc_decode_scr()
27 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdmmc_decode_scr()
29 scr->flags |= SD_SCR_DATA_STATUS_AFTER_ERASE; in sdmmc_decode_scr()
31 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdmmc_decode_scr()
32 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdmmc_decode_scr()
34 scr->flags |= SD_SCR_SPEC3; in sdmmc_decode_scr()
36 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdmmc_decode_scr()
37 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdmmc_decode_scr()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h10 * SPDX-License-Identifier: Apache-2.0
38 #define LINE_COUNT_HEIGHT (-1)
49 /** frame width in pixels. */
50 uint32_t width; member
58 * the next row (>=width).
72 /** minimum supported frame width in pixels. */
74 /** maximum supported frame width in pixels. */
80 /** width step size in pixels. */
95 /** minimal count of video buffers to enqueue before being able to start
99 /** Denotes minimum line count of a video buffer that this endpoint
[all …]
/Zephyr-latest/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-latest/boards/renesas/ek_ra8d1/
Dek_ra8d1.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
12 #include <zephyr/dt-bindings/memory-controller/renesas,ra-sdram.h>
13 #include <zephyr/dt-bindings/adc/adc.h>
14 #include "ek_ra8d1-pinctrl.dtsi"
17 model = "Renesas EK-RA8D1";
24 zephyr,shell-uart = &uart9;
[all …]

1234