Home
last modified time | relevance | path

Searched +full:precision +full:- +full:mode (Results 1 – 25 of 84) sorted by relevance

1234

/Zephyr-latest/tests/drivers/sensor/ina237/boards/
Dnative_sim.overlay2 * SPDX-License-Identifier: Apache-2.0
5 #include <zephyr/dt-bindings/sensor/ina237.h>
10 /* standard precision mode */
14 rshunt-micro-ohms = <400>;
15 current-lsb-microamps = <123>;
19 /* high precision mode */
23 high-precision;
24 rshunt-micro-ohms = <400>;
25 current-lsb-microamps = <123>;
29 /* high precision mode, maximum current lsb */
[all …]
/Zephyr-latest/dts/bindings/clock/
Dsilabs,series2-lfrco.yaml1 compatible: "silabs,series2-lfrco"
4 Silicon Labs LFRCO peripheral (low-frequency RC oscillator).
6 include: fixed-clock.yaml
9 precision-mode:
12 Enable precision mode. In precision mode, the LFRCO is
Dsilabs,hfxo.yaml3 include: fixed-clock.yaml
10 precision:
13 description: Precision configuration
14 mode:
17 Mode of operation. Defaults to "xtal", expecting a crystal oscillator on XI and XO
Dsilabs,series2-lfxo.yaml1 compatible: "silabs,series2-lfxo"
4 Silicon Labs LFXO peripheral (low-frequency crystal oscillator).
6 include: fixed-clock.yaml
13 precision:
16 description: Precision configuration
22 mode:
25 Mode of operation. Defaults to "xtal", expecting a 32768 Hz crystal oscillator on XI and XO
/Zephyr-latest/dts/bindings/sensor/
Dti,ina236.yaml4 # SPDX-License-Identifier: Apache-2.0
9 The <zephyr/dt-bindings/sensor/ina230.h> file should be included in the
18 high-precision:
21 Enable high precision mode (4x the resolution).
Dti,ina237.yaml4 # SPDX-License-Identifier: Apache-2.0
9 The <zephyr/dt-bindings/sensor/ina237.h> file should be included in the
15 include: ti,ina23x-common.yaml
25 times and averaging, operating mode for INA230 or
31 adc-config:
37 averaging, operating mode and etc).
41 alert-config:
43 description: Diag alert register, default matches the power-on reset value
45 adc-mode:
49 Default is the power-on reset value.
[all …]
Dti,tmag5170.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Texas Instruments TMAG5170 high-precision, linear 3D Hall-effect sensor.
8 include: [sensor-device.yaml, spi-device.yaml]
11 int-gpios:
12 type: phandle-array
18 operating-mode:
22 Operating mode of the device.
23 1 - stand-by mode - in this mode the device waits for application to trigger
25 2 - active measure mode - continuous sampling on all enabled channels
28 3 - active trigger mode - in this mode, similar to stand-by mode, the device
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_lfclk.c3 * SPDX-License-Identifier: Apache-2.0
33 /* Clock options sorted from lowest to highest accuracy/precision */
36 uint16_t precision : 1; member
41 .precision = 0,
46 .precision = 0,
50 /* NRFS will request FLL16M use HFXO in bypass mode if SYNTH src is used */
52 .precision = 1,
73 k_timer_stop(&dev_data->timer); in clock_evt_handler()
75 if (p_evt->type == NRFS_CLOCK_EVT_REJECT) { in clock_evt_handler()
76 status = -ENXIO; in clock_evt_handler()
[all …]
Dclock_control_nrf2_fll16m.c3 * SPDX-License-Identifier: Apache-2.0
40 uint8_t mode; member
44 .mode = FLL16M_MODE_OPEN_LOOP,
47 .mode = FLL16M_MODE_CLOSED_LOOP,
50 /* Bypass mode uses HFXO */
52 .mode = FLL16M_MODE_BYPASS,
66 static void activate_fll16m_mode(struct fll16m_dev_data *dev_data, uint8_t mode) in activate_fll16m_mode() argument
70 if (mode != FLL16M_MODE_DEFAULT) { in activate_fll16m_mode()
71 soc_lrcconf_poweron_request(&dev_data->fll16m_node, NRF_LRCCONF_POWER_MAIN); in activate_fll16m_mode()
74 NRF_LRCCONF010->CLKCTRL[0].SRC = mode; in activate_fll16m_mode()
[all …]
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp.c5 * SPDX-License-Identifier: Apache-2.0
19 #define SNTP_STRATUM_KOD 0 /* kiss-o'-death */
28 NET_DBG("li %x", pkt->li); in sntp_pkt_dump()
29 NET_DBG("vn %x", pkt->vn); in sntp_pkt_dump()
30 NET_DBG("mode %x", pkt->mode); in sntp_pkt_dump()
31 NET_DBG("stratum: %x", pkt->stratum); in sntp_pkt_dump()
32 NET_DBG("poll: %x", pkt->poll); in sntp_pkt_dump()
33 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
34 NET_DBG("root_delay: %x", ntohl(pkt->root_delay)); in sntp_pkt_dump()
35 NET_DBG("root_dispersion: %x", ntohl(pkt->root_dispersion)); in sntp_pkt_dump()
[all …]
Dsntp_pkt.h4 * SPDX-License-Identifier: Apache-2.0
14 uint8_t mode: 3; member
20 uint8_t mode: 3;
24 int8_t precision; member
/Zephyr-latest/drivers/timer/
DKconfig.x861 # Copyright (c) 2014-2015 Wind River Systems, Inc.
3 # Copyright (c) 2019-2023 Intel Corp.
4 # SPDX-License-Identifier: Apache-2.0
23 This option selects High Precision Event Timer (HPET) as a
32 Use the x86 local APIC in periodic mode as the system time
39 bool "Local APIC timer using TSC deadline mode"
45 deadline capability. The use of a free-running 64 bit
47 from the handling, and the near-instruction-cycle resolution
48 permits effectively unlimited precision where needed (the
50 logic). SMP-safe and very fast, this should be the obvious
[all …]
/Zephyr-latest/boards/silabs/dev_kits/sltb010a/
Dsltb010a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "sltb010a-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
20 /* If enabled, MCUboot uses this for recovery mode entrance */
21 mcuboot-led0 = &led0;
22 mcuboot-button0 = &button0;
26 zephyr,code-partition = &slot0_partition;
27 zephyr,bt-hci = &bt_hci_silabs;
34 precision = <50>;
[all …]
/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/
Dxg27_dk2602a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "xg27_dk2602a-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
14 model = "Silicon Labs xG27-DK2602A Dev Kit";
24 /* If enabled, MCUboot uses this for recovery mode entrance */
25 mcuboot-led0 = &led0;
26 mcuboot-button0 = &button0;
30 zephyr,code-partition = &slot0_partition;
31 zephyr,bt-hci = &bt_hci_silabs;
[all …]
/Zephyr-latest/soc/andestech/ae350/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
57 bool "Single precision FPU"
61 bool "Double precision FPU"
89 a look-up table and replaces suitable 32-bit instructions with
90 the 16-bit "exec.it <INDEX>".
100 matching of Andes V5 PMA is like RISC-V PMP NAPOT mode
101 (power-of-two alignment).
120 between cache and external non-caching master, such as DMA
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/config/
Dsl_clock_manager_oscillator_config.h4 * SPDX-License-Identifier: Apache-2.0
16 #define SL_CLOCK_MANAGER_HFXO_MODE DT_ENUM_IDX(DT_NODELABEL(hfxo), mode)
19 #define SL_CLOCK_MANAGER_HFXO_PRECISION DT_PROP(DT_NODELABEL(hfxo), precision)
24 #define SL_CLOCK_MANAGER_LFXO_MODE (DT_ENUM_IDX(DT_NODELABEL(lfxo), mode) << _LFXO_CFG_MODE_SHIFT)
27 #define SL_CLOCK_MANAGER_LFXO_PRECISION DT_PROP(DT_NODELABEL(lfxo), precision)
/Zephyr-latest/doc/connectivity/networking/api/
Dptp.rst3 Precision Time Protocol (PTP)
15 The stack supports the protocol and procedures as defined in the `IEEE 1588-2019 standard`_
16 (IEEE Standard for a Precision Clock Synchronization Protocol
35 .. csv-table:: Supported features
45 Multicast operation mode,
46 Hybrid operation mode,
47 Unicast operation mode,
48 Non-volatile storage,
60 Based on Table 59 from section 15.5.2.3 of the IEEE 1588-2019 following management TLVs
63 .. csv-table:: Supported management message's IDs
[all …]
/Zephyr-latest/drivers/sensor/ti/tmag5170/
DKconfig1 # Texas Instruments TMAG5170 high-precision, linear 3D Hall-effect sensor with SPI bus interface
4 # SPDX-License-Identifier: Apache-2.0
7 bool "TMAG5170 SPI Hall-effect sensor driver"
12 Enable driver for TMAG5170 Hall-effect sensor driver
17 prompt "Trigger mode"
27 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
33 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
39 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_TMAG5170),int-gpios)
/Zephyr-latest/samples/sensor/bmi270/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 printf("Device %s is not ready\n", dev->name); in main()
23 printf("Device %p name is %s\n", dev, dev->name); in main()
25 /* Setting scale in G, due to loss of precision if the SI unit m/s^2 in main()
30 sampling_freq.val1 = 100; /* Hz. Performance mode */ in main()
32 oversampling.val1 = 1; /* Normal mode */ in main()
40 * power mode. If already sampling, change to 0.0Hz before changing in main()
51 sampling_freq.val1 = 100; /* Hz. Performance mode */ in main()
53 oversampling.val1 = 1; /* Normal mode */ in main()
61 * power mode. If already sampling, change sampling frequency to in main()
/Zephyr-latest/arch/arc/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
38 v2 ISA for the ARC-HS & ARC-EM cores
66 If y, the SoC uses an ARC EM4 DMIPS CPU with the single-precision
67 floating-point extension
73 If y, the SoC uses an ARC EM4 DMIPS CPU with single-precision
74 floating-point and double assist instructions
135 - LPcc instruction
136 - LP_COUNT core reg
137 - LP_START, LP_END aux regs
144 Interrupt priorities available will be 0 to NUM_IRQ_PRIO_LEVELS-1.
[all …]
/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c3 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/sensor/ina237.h>
34 config = dev->config; in ZTEST()
38 zexpect_equal(0xFB68, config->adc_config, in ZTEST()
39 "0xFB68 != adc_config (0x%x)", config->adc_config); in ZTEST()
40 zexpect_equal(0x0000, config->config); in ZTEST()
52 double shunt_cal = 819.2e6 * fixture->current_lsb_uA * 1e-6 * fixture->rshunt_uOhms * 1e-6; in test_shunt_cal()
54 if (fixture->config & INA237_CFG_HIGH_PRECISION) { in test_shunt_cal()
55 /* High precision mode */ in test_shunt_cal()
62 zassert_ok(ina237_mock_get_register(fixture->mock->data, INA237_REG_CALIB, in test_shunt_cal()
[all …]
/Zephyr-latest/boards/silabs/dev_kits/xg24_ek2703a/
Dxg24_ek2703a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
11 #include "xg24_ek2703a-pinctrl.dtsi"
19 zephyr,shell-uart = &usart0;
20 zephyr,uart-pipe = &usart0;
23 zephyr,code-partition = &slot0_partition;
24 zephyr,bt-hci = &bt_hci_silabs;
36 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/silabs/radio_boards/xg24_rb4187c/
Dxg24_rb4187c.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
11 #include "xg24_rb4187c-pinctrl.dtsi"
19 zephyr,shell-uart = &usart0;
20 zephyr,uart-pipe = &usart0;
23 zephyr,code-partition = &slot0_partition;
24 zephyr,bt-hci = &bt_hci_silabs;
37 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/silabs/radio_boards/xg23_rb4210a/
Dxg23_rb4210a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
11 #include "xg23_rb4210a-pinctrl.dtsi"
19 zephyr,shell-uart = &usart0;
20 zephyr,uart-pipe = &usart0;
23 zephyr,code-partition = &slot0_partition;
35 compatible = "gpio-leds";
47 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/silabs/dev_kits/xg24_dk2601b/
Dxg24_dk2601b.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 #include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
11 #include "xg24_dk2601b-pinctrl.dtsi"
19 zephyr,shell-uart = &usart0;
20 zephyr,uart-pipe = &usart0;
23 zephyr,code-partition = &slot0_partition;
24 zephyr,bt-hci = &bt_hci_silabs;
37 compatible = "gpio-leds";
[all …]

1234