Home
last modified time | relevance | path

Searched full:precision (Results 1 – 25 of 212) sorted by relevance

123456789

/Zephyr-latest/arch/arm/core/
DKconfig.vfp35 that supports only single-precision operations with 16 double-word
46 that supports half- and single-precision operations with 16
58 that supports half- and single-precision operations (including fused
69 that supports single- and double-precision operations with 16
81 that supports half-, single- and double-precision operations with 16
94 that supports half-, single- and double-precision operations
108 that supports half-, single-, double-precision operations (including
122 that supports half-, single- and double-precision operations
136 that supports half-, single-, double-precision operations (including
149 half-precision operations (half-precision extension).
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dwe,wsen-hids-2525020210002.yaml13 precision:
21 Sensor measurement precision for temperature and humidity.
22 Supported precision options are low, mid or high.
24 current usage and precision.
40 Defaults to OFF, since this option is valid for high precision
41 and the default precision is mid.
Dti,ina236.yaml18 high-precision:
21 Enable high precision mode (4x the resolution).
/Zephyr-latest/tests/drivers/sensor/ina237/boards/
Dnative_sim.overlay10 /* standard precision mode */
19 /* high precision mode */
23 high-precision;
29 /* high precision mode, maximum current lsb */
33 high-precision;
39 /* high precision mode, maximum rshunt */
43 high-precision;
/Zephyr-latest/lib/os/
Dcbprintf_nano.c82 int min_width, precision, data_len; in z_cbvprintf_impl() local
101 precision = -1; in z_cbvprintf_impl()
121 precision = 0; in z_cbvprintf_impl()
126 if (min_width < 0 && precision < 0 && !padding_mode) { in z_cbvprintf_impl()
141 if (precision >= 0) { in z_cbvprintf_impl()
142 precision = 10 * precision + *fmt - '0'; in z_cbvprintf_impl()
154 if (precision >= 0) { in z_cbvprintf_impl()
155 precision = va_arg(ap, int); in z_cbvprintf_impl()
214 precision = 0; in z_cbvprintf_impl()
224 precision = 0; in z_cbvprintf_impl()
[all …]
Dcbprintf_complete.c221 /** Precision field present */
224 /** Precision from int argument
236 * This affects how precision is handled.
272 * * before a formatted integer value due to precision
275 * due to precision; or
277 * to precision.
293 /** Precision from specification.
300 * point due to precision.
411 /** Extract a C99 conversion specification precision.
418 * @return a pointer the first character that follows the precision.
[all …]
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.c98 /* Set precision configuration. */
100 const struct sensor_value *precision) in hids_2525020210002_precision_set() argument
104 if (precision->val1 < hids_2525020210002_precision_Low || in hids_2525020210002_precision_set()
105 precision->val1 > hids_2525020210002_precision_High || precision->val2 != 0) { in hids_2525020210002_precision_set()
106 LOG_ERR("Bad precision configuration %d", precision->val1); in hids_2525020210002_precision_set()
110 data->sensor_precision = (hids_2525020210002_precision_t)precision->val1; in hids_2525020210002_precision_set()
197 struct sensor_value precision, heater; in hids_2525020210002_init() local
214 precision.val1 = config->precision; in hids_2525020210002_init()
215 precision.val2 = 0; in hids_2525020210002_init()
217 if (hids_2525020210002_precision_set(dev, &precision) < 0) { in hids_2525020210002_init()
[all …]
/Zephyr-latest/include/zephyr/dsp/
Dprint_format.h30 #define PRIq(precision) "s%" PRIu32 ".%0" STRINGIFY(precision) PRIu32 argument
48 #define __PRIq_arg_get_frac(q, precision, shift) \ argument
49 ((__PRIq_arg_get(q, shift, 30, 0) * __CONSTPOW(1, precision)) / INT32_MAX)
55 * @param[in] precision Number of decimal points to print
58 #define PRIq_arg(q, precision, shift) \ argument
60 (uint32_t)__PRIq_arg_get_frac(q, precision, shift)
/Zephyr-latest/dts/bindings/clock/
Dsilabs,series2-lfrco.yaml9 precision-mode:
12 Enable precision mode. In precision mode, the LFRCO is
Dsilabs,hfxo.yaml10 precision:
13 description: Precision configuration
Dsilabs,series2-lfxo.yaml13 precision:
16 description: Precision configuration
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_control/src/
Dmain.c23 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
28 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
33 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
42 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
47 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
52 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
68 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
73 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
78 .precision = NRF_CLOCK_CONTROL_PRECISION_HIGH,
134 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
[all …]
/Zephyr-latest/arch/riscv/
DKconfig.isa47 (F) - Standard Extension for Single-Precision Floating-Point
49 Standard instruction-set extension for single-precision
50 floating-point, which is named "F" and adds single-precision
58 (D) - Standard Extension for Double-Precision Floating-Point
60 Standard double-precision floating-point instruction-set extension,
61 which is named "D" and adds double-precision floating-point
82 (Q) - Standard Extension for Quad-Precision Floating-Point
86 quad-precision binary floatingpoint instruction subset is named "Q".
/Zephyr-latest/include/zephyr/sys/
Dtime_units.h97 * precision conversion. Clever use of extra arguments causes all the
264 * modes and precision. Do not edit directly.
267 * precision. These units conversions were not available in 32 bit
269 * has precision traps that we probably don't want to support in an
309 * print " * Computes result in $sz bit precision.\n";
348 * Computes result in 32 bit precision.
364 * Computes result in 64 bit precision.
380 * Computes result in 32 bit precision.
396 * Computes result in 64 bit precision.
412 * Computes result in 32 bit precision.
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_lfclk.c33 /* Clock options sorted from lowest to highest accuracy/precision */
36 uint16_t precision : 1; member
41 .precision = 0,
46 .precision = 0,
52 .precision = 1,
131 spec->precision > clock_options[i].precision) { in lfclk_find_mgr()
138 LOG_ERR("invalid accuracy or precision"); in lfclk_find_mgr()
223 clock_options[LFCLK_MAX_OPTS - 2].precision = 0; in lfclk_init()
227 clock_options[LFCLK_MAX_OPTS - 1].precision = 1; in lfclk_init()
234 clock_options[LFCLK_MAX_OPTS - 2].precision = 0; in lfclk_init()
[all …]
/Zephyr-latest/include/zephyr/net/
Dptp_time.h9 * @brief Public functions for the Precision Time Protocol time specification.
19 * @brief Precision Time Protocol time specification
36 * @brief (Generalized) Precision Time Protocol Timestamp format.
38 * @details This structure represents a timestamp according to the Precision
40 * Precision Time Protocol standard ("gPTP", IEEE 802.1AS, section 6.4.3.4), or
41 * any other well-defined context in which precision structured timestamps are
69 * timer) with sufficient precision for the context in which it is used.
76 * times and clock accuracy which again influence the precision required for
142 * @brief Generalized Precision Time Protocol Extended Timestamp format.
145 * Generalized Precision Time Protocol standard (IEEE 802.1AS), see section
[all …]
Dptp.h9 * @brief Public functions for the Precision Time Protocol.
18 * @brief Precision Time Protocol (PTP) support
/Zephyr-latest/samples/boards/nordic/clock_control/
DKconfig21 int "Precision specification to request from clock"
24 0 -> low precision
25 1 -> high precision
/Zephyr-latest/dts/bindings/timer/
Dst,stm32-lptim.yaml30 and consequently higher core sleep durations, but impacts the tick precision.
32 CONFIG_SYS_CLOCK_TICKS_PER_SEC could be used to tune tick duration and gain precision,
37 Using CONFIG_SYS_CLOCK_TICKS_PER_SEC = 4096, tick = 0.24 ms, LPTIM precision is 4 ticks.
38 Using CONFIG_SYS_CLOCK_TICKS_PER_SEC = 1024, tick = 0.97 ms, LPTIM precision is 1 ticks.
/Zephyr-latest/drivers/ptp_clock/
DKconfig5 bool "Precision Time Protocol (PTP) Clock drivers"
7 Enable options for Precision Time Protocol Clock drivers.
/Zephyr-latest/doc/connectivity/networking/api/
Dptp_time.rst4 Precision Time Protocol (PTP) time format
14 The PTP time struct can store time information in high precision
/Zephyr-latest/boards/andestech/adp_xc7k_ae350/
Dadp_xc7k_ae350_defconfig21 # FPU (single precision) options
27 # FPU (double precision) options
/Zephyr-latest/drivers/sensor/hp206c/
DKconfig1 # HopeRF Electronic HP206C precision barometer and altimeter configuration
8 bool "HopeRF HP206C precision barometer and altimeter sensor"
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dmr_canhubk3.overlay16 group-channel = "precision";
32 group-channel = "precision";
49 group-channel = "precision";
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp.c33 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
115 if (pkt->precision <= 0) { in parse_response()
116 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) >> -pkt->precision; in parse_response()
117 } else if (pkt->precision <= 10) { in parse_response()
118 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) << pkt->precision; in parse_response()
120 NET_DBG("SNTP packet precision out of range: %d", pkt->precision); in parse_response()

123456789