Home
last modified time | relevance | path

Searched +full:double +full:- +full:output +full:- +full:range (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/dts/bindings/dac/
Dti,dacx0501.yaml2 # SPDX-License-Identifier: Apache-2.0
11 voltage-reference:
15 - "internal"
16 - "external"
20 output-gain:
24 - "mul2"
25 - "mul1"
26 - "div2"
28 This setting can be used to control the output voltage range within the supported bit
29 resolution. mul2 will double the output range but lower the resolution, while div2 will
[all …]
Dadi,ad559x-dac.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "adi,ad559x-dac"
8 include: dac-controller.yaml
11 "#io-channel-cells":
14 double-output-range:
17 Default DAC output range is 0V to Vref.
18 This option increases the range from 0V to 2 x Vref. Note that this
21 io-channel-cells:
22 - output
/Zephyr-latest/dts/bindings/sensor/
Dst,lsm6dso-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
6 gyro-odr properties in a .dts or .dtsi file you may include lsm6dso.h
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
15 accel-pm = <LSM6DSO_DT_XL_ULP_MODE>;
16 accel-range = <LSM6DSO_DT_FS_8G>;
17 accel-odr = <LSM6DSO_DT_ODR_1Hz6>;
18 gyro-pm = <LSM6DSO_DT_GY_NORMAL_MODE>;
19 gyro-range = <LSM6DSO_DT_FS_2000DPS>;
20 gyro-odr = <LSM6DSO_DT_ODR_6667Hz>;
[all …]
Dst,lis2dw12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>;
15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>;
16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>;
17 power-mode = <LIS2DW12_DT_HP_MODE>;
18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>;
21 include: sensor-device.yaml
24 irq-gpios:
25 type: phandle-array
[all …]
/Zephyr-latest/samples/modules/tflite-micro/hello_world/src/
Dmain_functions.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
28 /* Globals, used for compatibility with Arduino-style sketches. */
33 TfLiteTensor *output = nullptr; variable
47 if (model->version() != TFLITE_SCHEMA_VERSION) { in setup()
50 model->version(), TFLITE_SCHEMA_VERSION); in setup()
55 * NOLINTNEXTLINE(runtime-global-variables) in setup()
66 TfLiteStatus allocate_status = interpreter->AllocateTensors(); in setup()
72 /* Obtain pointers to the model's input and output tensors. */ in setup()
73 input = interpreter->input(0); in setup()
74 output = interpreter->output(0); in setup()
[all …]
/Zephyr-latest/lib/os/
DKconfig.cbprintf2 # SPDX-License-Identifier: Apache-2.0
15 # 80: -53% / 982 B (80 / 00)
17 bool "Space-optimized but feature-limited"
28 prompt "Control range of convertible integer values"
33 bool "Convert the full range of integer values"
37 range of all integral and pointer values.
39 Selecting this may increase code size on 32-bit systems as
56 With CBPRINTF_COMPLETE conversions that may result in value-specific
82 added in C99, but the output is not easily understood so it rarely
88 # 40: -15% / -508 B (46 / 06)
[all …]
Dcbprintf_packaged.c4 * SPDX-License-Identifier: Apache-2.0
61 * Procedure Call Standard for the ARM 64-bit Architecture
161 u.__ap.__va_stk = (char *)buf - 32; in cbprintf_via_va_list()
171 * 32-bit ARM and Intel.
211 /* Move beyond read-only string indexes array. */ in get_package_len()
220 return (size_t)(uintptr_t)(buf - start); in get_package_len()
238 * package. MSB bit is set if string is read-only so effectively 7 bits are in cbvprintf_package()
245 #define BUF_OFFSET (buf - (uintptr_t)buf0) in cbvprintf_package()
256 int arg_idx = -1; /* Argument index. Preincremented thus starting from -1.*/ in cbvprintf_package()
274 return -EFAULT; in cbvprintf_package()
[all …]
Dcbprintf_complete.c2 * Copyright (c) 1997-2010, 2012-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
65 LENGTH_UPPER_L, /* long double */
113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0)
174 double dbl;
177 long double ldbl;
196 /** Left-justify value in width */
202 /** Space for non-negative sign */
226 * prec_value is set to the value of a non-negative argument.
254 /** Set for floating point values that have a non-zero
[all …]
/Zephyr-latest/arch/x86/
Dgen_mmu.py5 # SPDX-License-Identifier: Apache-2.0
23 - By default, the Present, Write, and Execute Disable bits are
25 - The __text_region region will have Present and User bits set
26 - The __rodata_region region will have Present, User, and Execute
28 - On x86_64, the _locore region will have Present set and
34 - The double-mapping is used to transition the
38 - The mapping is always double-mapped at the top-level paging structure
40 with respect to the scope of top-level paging structure entries.
41 This allows the same second-level paging structure(s) to be used for
44 - The double-mapping is needed so that we can still fetch instructions
[all …]
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/
Dtest_logging_dictionary.py4 # SPDX-License-Identifier: Apache-2.0
8 Pytest harness to test the output of the dictionary logging.
43 # timeout earlier with per-test timeout.
44 handler_output = dut.readlines_until(regex = '.*##ZLOGV1##[0-9]+', timeout = 600.0)
46 # Join all the output lines together
54 with open(encoded_log_file, 'w', encoding='utf-8') as fp:
58 cmd = [parser_script, '--hex', dictionary_json, encoded_log_file]
77 re.compile(r'.*[*][*][*] Booting Zephyr OS build [0-9a-z.-]+'),
79 re.compile(r'[\s]+Hello World! [\w-]+'),
81 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <err> hello_world: error string'),
[all …]
/Zephyr-latest/subsys/logging/
Dlog_output_syst.c4 * SPDX-License-Identifier: Apache-2.0
34 static const char pattern[] = "SYS-T RAW DATA: ";
42 out_ctx->buf[out_ctx->control_block->offset] = (uint8_t)c; in out_func()
43 out_ctx->control_block->offset++; in out_func()
45 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func()
47 if (out_ctx->control_block->offset == out_ctx->size) { in out_func()
58 p->current |= (n << 4); in stp_write_putNibble()
59 p->byteDone = !p->byteDone; in stp_write_putNibble()
61 if (p->byteDone) { in stp_write_putNibble()
62 out_func(p->current, systh->systh_platform.log_output); in stp_write_putNibble()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.c1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver
5 * SPDX-License-Identifier: Apache-2.0
38 return -EINVAL; in lsm6dso16is_freq_to_odr_val()
49 return lsm6dso16is_odr_map[ARRAY_SIZE(lsm6dso16is_odr_map) - 1]; in lsm6dso16is_odr_to_freq_val()
54 static int lsm6dso16is_accel_range_to_fs_val(int32_t range) in lsm6dso16is_accel_range_to_fs_val() argument
59 if (range == lsm6dso16is_accel_fs_map[i]) { in lsm6dso16is_accel_range_to_fs_val()
64 return -EINVAL; in lsm6dso16is_accel_range_to_fs_val()
70 static int lsm6dso16is_gyro_range_to_fs_val(int32_t range) in lsm6dso16is_gyro_range_to_fs_val() argument
75 if (range == lsm6dso16is_gyro_fs_map[i]) { in lsm6dso16is_gyro_range_to_fs_val()
80 return -EINVAL; in lsm6dso16is_gyro_range_to_fs_val()
[all …]
/Zephyr-latest/boards/st/stm32wb5mmg/doc/
Dstm32wb5mmg.rst6 STM32WB5MMG is an ultra-low-power and small form factor certified 2.4 GHz
10 module on other boards as HCI layer (Specefically B-U585I-IOT02A Development board).
14 - Bluetooth module in SiP-LGA86 package
15 - Integrated chip antenna
16 - Bluetooth|reg| Low Energy 5.4, Zigbee|reg| 3.0, OpenThread certified
18 - IEEE 802.15.4-2011 MAC PHY Supports 2 Mbits/s
19 - Frequency band 2402-2480 MHz
20 - Advertising extension
21 - Tx output power up to +6 dBm
22 - Rx sensitivity: -96 dBm (Bluetooth|reg| Low Energy at 1 Mbps), -100 dBm (802.15.4)
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.c1 /* ST Microelectronics LSM6DSV16X 6-axis IMU sensor driver
5 * SPDX-License-Identifier: Apache-2.0
29 * should be selected through accel-odr property in DT
50 const struct lsm6dsv16x_config *cfg = dev->config; in lsm6dsv16x_freq_to_odr_val()
51 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lsm6dsv16x_freq_to_odr_val()
57 return -EINVAL; in lsm6dsv16x_freq_to_odr_val()
64 LOG_DBG("mode: %d - odr: %d", mode, i); in lsm6dsv16x_freq_to_odr_val()
69 return -EINVAL; in lsm6dsv16x_freq_to_odr_val()
74 static int lsm6dsv16x_accel_range_to_fs_val(int32_t range) in lsm6dsv16x_accel_range_to_fs_val() argument
79 if (range == lsm6dsv16x_accel_fs_map[i]) { in lsm6dsv16x_accel_range_to_fs_val()
[all …]
/Zephyr-latest/include/zephyr/toolchain/
Dgcc.h2 * Copyright (c) 2010-2014,2017 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
11 #error Please do not include toolchain-specific headers directly, use <zephyr/toolchain.h> instead
41 * detected and defined using arch-specific definitions.
80 * output is easier to understand than the common BUILD_ASSERT macros.
121 /* The GNU assembler for Cortex-M3 uses # for immediate values, not
137 __g->__v; \
145 * bug in GCC for ARM Cortex-M3 and higher targets, when multiple
146 * byte, half-word and word stores (strb, strh, str instructions),
147 * which support unaligned access, can be coalesced into store double
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.5.rst21 taking a ``void *mem`` pointer instead of a ``void **mem`` double-pointer.
37 * The default C library used on most targets has changed from the built-in
47 increase by 8-16 bytes.
68 * Picolibc removes the ``-ffreestanding`` compiler option. This allows
71 the Zephyr required type -- ``int main(void)``.
74 'double', 'long long', 'integer', and 'minimal. 'double' offers a
83 * Picolibc's default floating point input/output code is larger than the
100 * ``psa-arch-tests``
102 * ``tf-m-tests``
103 * ``tflite-micro``
[all …]
/Zephyr-latest/scripts/footprint/
Dsize_report3 # Copyright (c) 2016, 2020-2024 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
49 DT_LOCATION = re.compile(r"\(DW_OP_addr: ([0-9a-f]+)\)")
113 or within the range of a DIE subprogram.
189 sec_end = sec_start + (sec_size - 1 if sec_size else 0)
191 f"0x{sec_start:08x}-0x{sec_end:08x} "
213 sec_end = sec_start + (size - 1 if size else 0)
268 file_entry = lineprog['file_entry'][file_index - 1]
274 directory = lineprog.header['include_directory'][dir_index - 1]
279 # Prepend output path to relative path
[all …]
/Zephyr-latest/boards/seeed/xiao_ble/doc/
Dindex.rst7 nRF52840 ARM Cortex-M4F development board with onboard LEDs, USB port, QSPI
8 flash, battery charger, and range of I/O broken out into 14 pins.
13 - Nordic nRF52840 Cortex-M4F processor at 64MHz
14 - 2MB QSPI Flash
15 - RGB LED
16 - USB Type-C Connector, nRF52840 acting as USB device
17 - Battery charger BQ25101
18 - Reset button
19 - Bluetooth antenna
20 - LSM6DS3TR-C 6D IMU (3D accelerometer and 3D gyroscope) (XIAO BLE Sense only)
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h10 * SPDX-License-Identifier: Apache-2.0
42 * and can be obtained using the formula val1 + val2 * 10^(-6). Negative
47 * -0.5: val1 = 0, val2 = -500000
48 * -1.0: val1 = -1, val2 = 0
49 * -1.5: val1 = -1, val2 = -500000
54 /** Fractional part of the value (in one-millionth parts). */
101 /** Illuminance in infra-red spectrum, in lux. */
112 /** 1.0 micro-meters Particulate Matter, in ug/m^3 */
114 /** 2.5 micro-meters Particulate Matter, in ug/m^3 */
116 /** 10 micro-meters Particulate Matter, in ug/m^3 */
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rw_cbor.c4 * SPDX-License-Identifier: Apache-2.0
33 #define CPKT_CBOR_W_SZ(pos, cpkt) ((size_t)(pos) - (size_t)(cpkt)->data - (size_t)(cpkt)->offset)
35 #define ICTX_CBOR_R_SZ(pos, ictx) ((size_t)pos - (size_t)(ictx)->in_cpkt->data - (ictx)->offset)
39 /* CBOR time output format is unspecified but SenML CBOR uses string format. in put_time()
43 char time_str[sizeof("1970-01-01T00:00:00-00:00")] = { 0 }; in put_time()
51 return -EINVAL; in put_time()
56 "%04d-%02d-%02dT%02d:%02d:%02d-00:00", in put_time()
64 if (len < 0 || len > sizeof(time_str) - 1) { in put_time()
66 return -EINVAL; in put_time()
69 ZCBOR_STATE_E(states, 0, CPKT_BUF_W_PTR(out->out_cpkt), CPKT_BUF_W_SIZE(out->out_cpkt), 1); in put_time()
[all …]
/Zephyr-latest/doc/kernel/services/timing/
Dclocks.rst41 timeouts) are expected to be in the range of 10 kHz, with software
46 ----------
52 "floor" (round down to nearest output unit), "ceil" (round up) and
53 "near" (round to nearest). Finally the output precision can be
65 multiples of each other and where the output fits within a single
66 word, these conversions expand to a 2-4 operation sequence, requiring
127 being 32 bits. Large uptime counts in non-tick units will experience
129 timing-sensitive applications with long uptimes will be configured to
142 -------------
146 a double-linked list, with an attendant delta count in ticks from the
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/autopts/
Dautopts-linux.rst1 .. _autopts-linux:
14 - Testing Zephyr Host Stack on QEMU
16 - Testing Zephyr Host Stack on :ref:`native_sim <native_sim>`
18 - Testing Zephyr combined (controller + host) build on Real hardware (such as nRF52)
33 https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download.
42 - JLink_Linux_V688a_x86_64.deb
44 - nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb
46 and README.md. To install the tools, double click on each .deb file or follow
65 Start -> Settings -> Update & Security -> Windows Update
75 ----------
[all …]
/Zephyr-latest/doc/
Dzephyr.doxyfile.in6 # All text after a double hash (##) is considered a comment and is placed in
20 # doxygen -x [configFile]
24 # doxygen -x_noenv [configFile]
26 #---------------------------------------------------------------------------
28 #---------------------------------------------------------------------------
31 # file that follow. The default is UTF-8 which is also the encoding used for all
35 # The default value is: UTF-8.
37 DOXYFILE_ENCODING = UTF-8
40 # double-quotes, unless you are using Doxywizard) that should identify the
62 # the logo to the output directory.
[all …]
/Zephyr-latest/scripts/kconfig/
Dguiconfig.py4 # 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/boards/st/stm32u5a9j_dk/doc/
Dindex.rst6 The STM32U5A9J-DK Discovery kit is a complete demonstration and development
7 platform for the STM32U5A9NJH6Q microcontroller, featuring an Arm® Cortex®-M33
10 Leveraging the innovative ultra-low-power oriented features, 2.5 Mbytes of
12 the STM32U5A9J-DK Discovery kit enables users to easily prototype applications
13 with state-of-the-art energy efficiency, as well as providing stunning and
15 Chrom-ART Accelerator, and Chrom-GRC™ MMU.
17 The full range of hardware features available on the board helps users to
19 such as a 2.47-inch RGB 480x480 pixels TFT round LCD module with MIPI DSI®
20 interface and capacitive touch panel, USB Type-C® HS, Octo-SPI flash memory
21 device, Hexadeca-SPI PSRAM memory device, eMMC flash memory device,
[all …]

12