/Zephyr-Core-3.5.0/dts/bindings/input/ |
D | xptek,xpt2046.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 include: spi-device.yaml 10 int-gpios: 11 type: phandle-array 15 touchscreen-size-x: 20 touchscreen-size-y: 25 min-x: 30 min-y: 33 description: minimum raw Y value reported. 35 max-x: [all …]
|
D | st,stmpe811.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: i2c-device.yaml 11 int-gpios: 12 type: phandle-array 17 screen-width: 24 screen-height: 31 raw-x-min: 37 raw-y-min: 40 Signed raw Y axis start for scaling the reported coordinates. 43 raw-x-max: [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/openthread/ |
D | testcase.yaml | 3 - native_posix 4 - native_posix_64 6 - native_posix 8 - openthread 10 openthread.radio_test.min: {} 13 - CONFIG_NET_PKT_TXTIME=y 17 - EXTRA_CPPFLAGS=-DCONFIG_OPENTHREAD_CSL_RECEIVER
|
/Zephyr-Core-3.5.0/samples/subsys/mgmt/updatehub/ |
D | overlay-prj.conf.example | 4 # SPDX-License-Identifier: Apache-2.0 13 #(min: 0 minute, máx: 30 days) 16 CONFIG_UPDATEHUB_CE=y 18 #You need set the updatehub-ce ip Address.
|
/Zephyr-Core-3.5.0/drivers/watchdog/ |
D | Kconfig.stm32 | 3 # Copyright (c) 2016 Open-RnD Sp. z o.o. 6 # SPDX-License-Identifier: Apache-2.0 10 default y 23 The min timeout supported is 1 ms. The max timeout depends on the 33 default y
|
/Zephyr-Core-3.5.0/tests/drivers/build_all/input/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 #address-cells = <1>; 10 #size-cells = <1>; 14 gpio-controller; 16 #gpio-cells = <0x2>; 20 gpio-keys { 21 compatible = "gpio-keys"; 22 debounce-interval-ms = <30>; 29 qdec-gpio { 30 compatible = "gpio-qdec"; [all …]
|
/Zephyr-Core-3.5.0/drivers/dai/intel/dmic/ |
D | dmic.h | 4 * SPDX-License-Identifier: Apache-2.0 29 #define DMIC_HW_CIC_SHIFT_MIN -8 38 #define DMIC_HW_PDM_CLK_MIN 100000 /* Note: Practical min value */ 39 #define DMIC_HW_DUTY_MIN 20 /* Note: Practical min value */ 53 #define DMIC_HW_FIR_COEF_MAX ((1 << (DMIC_HW_BITS_FIR_COEF - 1)) - 1) 54 #define DMIC_HW_FIR_COEF_Q (DMIC_HW_BITS_FIR_COEF - 1) 60 #define DMIC_HW_FIR_GAIN_MAX ((1 << (DMIC_HW_BITS_FIR_GAIN - 1)) - 1) 67 * decibels, set to -90 dB. 72 * dy = y48 - y16; dx = 48000 - 16000; 74 * offs = round(y16 - coef/2^15 * 16000) [all …]
|
/Zephyr-Core-3.5.0/boards/arm/stm32f429i_disc1/ |
D | stm32f429i_disc1.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f4/stm32f429zitx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/display/ili9xxx.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 19 zephyr,shell-uart = &usart1; 27 compatible = "zephyr,memory-region", "mmio-sram"; 30 zephyr,memory-region = "SDRAM2"; 34 compatible = "gpio-leds"; 46 compatible = "gpio-keys"; [all …]
|
/Zephyr-Core-3.5.0/tests/posix/pthread_pressure/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 24 #define NUM_THREADS MIN(32, MIN(CONFIG_TEST_NUM_CPUS, CONFIG_MAX_PTHREAD_COUNT)) 47 (counters[i] - prev_counters[i]) / UPDATE_INTERVAL_S); in print_stats() 61 printk("CONFIG_SMP: %s\n", IS_ENABLED(CONFIG_SMP) ? "y" : "n"); in test_create_join_common() 78 /* allow the test thread to be swapped-out */ in test_create_join_common() 99 /* re-spawn thread i */ in test_create_join_common()
|
/Zephyr-Core-3.5.0/tests/net/lib/dns_sd/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 103 hdr->id = htons(0); in create_query() 104 hdr->qdcount = htons(1); in create_query() 107 label_size = strlen(inst->service); in create_query() 109 memcpy(&create_query_buf[offs], inst->service, label_size); in create_query() 112 label_size = strlen(inst->proto); in create_query() 114 memcpy(&create_query_buf[offs], inst->proto, label_size); in create_query() 117 label_size = strlen(inst->domain); in create_query() 119 memcpy(&create_query_buf[offs], inst->domain, label_size); in create_query() 126 query->type = htons(rr_type); in create_query() [all …]
|
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/kconfig/ |
D | __init__.py | 6 SPDX-License-Identifier: Apache-2.0 22 - kconfig_generate_db: Set to True if you want to generate the Kconfig database. 26 - kconfig_ext_paths: A list of base paths where to search for external modules 27 Kconfig files when they use ``kconfig-ext: True``. The extension will look for 67 def kconfig_load(app: Sphinx) -> Tuple[kconfiglib.Kconfig, Dict[str, str]]: 101 name_var = module.meta["name-sanitized"].upper() 111 elif build_conf.get("kconfig-ext"): 123 return '<div id="__kconfig-search"></div>' 126 def kconfig_search_visit_html(self, node: nodes.Node) -> None: 131 def kconfig_search_visit_latex(self, node: nodes.Node) -> None: [all …]
|
/Zephyr-Core-3.5.0/drivers/input/ |
D | input_stmpe811.c | 3 * SPDX-License-Identifier: Apache-2.0 83 * - bits [1-3] X, Y only acquisition mode 88 * Analog-to-digital Converter 90 * - bit [3] selects 12 bit ADC 91 * - bits [4-6] select ADC conversion time = 80 98 * - 00 : 1.625 MHz 99 * - 01 : 3.25 MHz 100 * - 10 : 6.5 MHz 101 * - 11 : 6.5 MHz 108 * - Fractional part : 7 [all …]
|
/Zephyr-Core-3.5.0/drivers/display/ |
D | ssd16xx.c | 3 * Copyright (c) 2018-2020 PHYTEC Messtechnik GmbH 5 * SPDX-License-Identifier: Apache-2.0 49 /* Width (bits) of integer type representing a y coordinate */ 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() 134 err = gpio_pin_set_dt(&config->dc_gpio, 1); in ssd16xx_write_cmd() 139 err = spi_write_dt(&config->bus, &buf_set); in ssd16xx_write_cmd() 148 err = gpio_pin_set_dt(&config->dc_gpio, 0); in ssd16xx_write_cmd() [all …]
|
D | ssd1306.c | 4 * SPDX-License-Identifier: Apache-2.0 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() 104 return spi_is_ready_dt(&config->bus.spi); in ssd1306_bus_ready_spi() [all …]
|
D | uc81xx.c | 5 * SPDX-License-Identifier: Apache-2.0 95 const struct uc81xx_config *config = dev->config; in uc81xx_busy_wait() 96 int pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait() 101 pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait() 108 const struct uc81xx_config *config = dev->config; in uc81xx_write_cmd() 115 err = gpio_pin_set_dt(&config->dc_gpio, 1); in uc81xx_write_cmd() 120 err = spi_write_dt(&config->bus, &buf_set); in uc81xx_write_cmd() 129 err = gpio_pin_set_dt(&config->dc_gpio, 0); in uc81xx_write_cmd() 134 err = spi_write_dt(&config->bus, &buf_set); in uc81xx_write_cmd() 141 spi_release_dt(&config->bus); in uc81xx_write_cmd() [all …]
|
/Zephyr-Core-3.5.0/samples/drivers/counter/maxim_ds3231/src/ |
D | main.c | 2 * Copyright (c) 2019-2020 Peter Bigot Consulting, LLC 4 * SPDX-License-Identifier: Apache-2.0 15 /* Format times as: YYYY-MM-DD HH:MM:SS DOW DOY */ 25 bp += strftime(bp, bpe - bp, "%Y-%m-%d %H:%M:%S", tp); in format_time() 27 bp += snprintf(bp, bpe - bp, ".%09lu", nsec); in format_time() 29 bp += strftime(bp, bpe - bp, " %a %j", tp); in format_time() 58 k_uptime_get_32(), ud, now - syncclock, rc); in sec_alarm_handler() 62 /** Calculate the normalized result of a - b. 71 if (a->tv_nsec >= b->tv_nsec) { in timespec_subtract() 72 amb->tv_nsec = a->tv_nsec - b->tv_nsec; in timespec_subtract() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | util.h | 2 * Copyright (c) 2011-2014, Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 39 * @defgroup sys-util Utility Functions 68 (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 71 * @brief Create a contiguous 64-bit bitmask starting at bit position @p l 75 (((~0ULL) - (1ULL << (l)) + 1) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h)))) 78 #define LSB_GET(value) ((value) & -(value)) 93 /** @brief 0 if @p cond is true-ish; causes a compile error otherwise. */ 94 #define ZERO_OR_COMPILE_ERROR(cond) ((int) sizeof(char[1 - 2 * !(cond)]) - 1) 98 /* The built-in function used below for type checking in C is not [all …]
|
/Zephyr-Core-3.5.0/scripts/kconfig/ |
D | menuconfig.py | 3 # Copyright (c) 2018-2019, Nordic Semiconductor ASA and Ulf Magnusson 4 # SPDX-License-Identifier: ISC 10 A curses-based Python 2/3 menuconfig implementation. The interface should feel 19 Ctrl-D/U: Page Down/Page Up 27 character in it in the current menu isn't supported. A jump-to feature for 33 F: Toggle show-help mode, which shows the help text of the currently selected 37 C: Toggle show-name mode, which shows the symbol name before each symbol menu 40 A: Toggle show-all mode, which shows all items, including currently invisible 52 When run in standalone mode, the top-level Kconfig file to load can be passed 53 as a command-line argument. With no argument, it defaults to "Kconfig". [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 26 default y if !POSIX_API 41 with 3rd-party socket libraries. 55 API call will timeout if we have not received SYN-ACK from 66 maximum timeout is 5 min. 93 default y 124 from connecting. Value of 0 indicates no timeout - resources will be 230 default y 252 Socket-CAN interface. 274 bool "Pre-allocate memory statically" [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | Kconfig | 3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA 4 # Copyright (c) 2015-2016 Intel Corporation 5 # SPDX-License-Identifier: Apache-2.0 8 bool "Dedicated workqueue for long-running tasks." 9 default y if BT_GATT_CACHING 11 Adds an API for a workqueue dedicated to long-running tasks. 23 int "Long workqueue priority. Should be pre-emptible." 38 default y 59 # the worst-case stack size if an out-of-tree controller is used. 71 # Hidden option for Co-Operative Tx thread priority [all …]
|
/Zephyr-Core-3.5.0/scripts/build/ |
D | gen_cfb_font_header.py | 5 # SPDX-License-Identifier: Apache-2.0 66 value = value[::-1] 83 fw = size[2] - size[0] # right - left 84 fh = size[3] - size[1] # bottom - top 101 raise Exception('text width {} mismatch with -x {}'.format(width, args.width)) 103 raise Exception('text height {} mismatch with -y {}'.format(height, args.height)) 113 fw = size[2] - size[0] # right - left 114 fh = size[3] - size[1] # bottom - top 118 xpos = (width - fw) / 2 + 1 148 if arg.startswith("--bindir"): [all …]
|
/Zephyr-Core-3.5.0/drivers/timer/ |
D | ite_it8xxx2_timer.c | 3 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h> 38 /* Busy wait high timer max count is 71.58min (base on clock source 1MHz) */ 130 timer2_reg->ET2PSR = EXT_PSR_32P768K; in timer_5ms_one_shot() 137 timer2_reg->ET2CNTLH2R = (uint8_t)((hw_cnt >> 16) & 0xff); in timer_5ms_one_shot() 138 timer2_reg->ET2CNTLHR = (uint8_t)((hw_cnt >> 8) & 0xff); in timer_5ms_one_shot() 139 timer2_reg->ET2CNTLLR = (uint8_t)(hw_cnt & 0xff); in timer_5ms_one_shot() 153 usec_to_wait--; in arch_busy_wait() 156 * We want to set the bit(1) re-start busy wait timer as soon in arch_busy_wait() 173 /* Enable and re-start event timer */ in evt_timer_enable() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/ |
D | lll_chan.c | 2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 138 /* Sub-expression to get natural number (N - 2d + 1) to be used in the in lll_chan_iso_subevent() 142 x = (chan_count + 1) - (d << 1); in lll_chan_iso_subevent() 166 while (byte_count--) { in chan_sel_remap() 172 while (bit_count--) { in chan_sel_remap() 177 chan_index--; in chan_sel_remap() 258 while (octet_count--) { in chan_sel_remap_index() 264 while (bit_count--) { in chan_sel_remap_index() 268 chan_index--; in chan_sel_remap_index() [all …]
|
/Zephyr-Core-3.5.0/samples/bluetooth/iso_connected_benchmark/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 141 printk("Choose device role - type %c (central role) or %c (peripheral role), or %c to quit: ", in device_role_select() 169 total_packets = stats->iso_recv_count + stats->iso_lost_count; in print_stats() 171 LOG_INF("%s: Received %u/%u (%.2f%%) - Total packets lost %u", in print_stats() 172 name, stats->iso_recv_count, total_packets, in print_stats() 173 (double)((float)stats->iso_recv_count * 100 / total_packets), in print_stats() 174 stats->iso_lost_count); in print_stats() 185 if (!chan_work->info.can_send) { in iso_send() 192 k_work_reschedule(&chan_work->send_work, K_USEC(cig_create_param.interval)); in iso_send() 199 ret = bt_iso_chan_send(chan, buf, chan_work->seq_num++, in iso_send() [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/hci_codecs_info/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 92 codecs = (const struct bt_hci_rp_read_codecs_v2 *)rsp->data; in ZTEST() 93 zassert_equal(codecs->status, 0, in ZTEST() 96 ptr = (uint8_t *)&codecs->status + sizeof(codecs->status); in ZTEST() 106 zassert_equal(codec->codec_id, std_codecs[i].codec_id, in ZTEST() 108 zassert_equal(codec->transports, std_codecs[i].transports, in ZTEST() 120 zassert_equal(codec->company_id, in ZTEST() 123 zassert_equal(codec->codec_id, in ZTEST() 126 zassert_equal(codec->transports, vs_codecs[i].transports, in ZTEST() [all …]
|