Home
last modified time | relevance | path

Searched full:decimal (Results 1 – 25 of 61) sorted by relevance

123

/Zephyr-latest/drivers/gnss/
Dgnss_parse.h13 * @brief Parse decimal string to nano parts
17 * @param str The decimal string to be parsed
18 * @param nano Destination for parsed decimal
26 * @brief Parse decimal string to micro parts
30 * @param str The decimal string to be parsed
31 * @param milli Destination for parsed decimal
39 * @brief Parse decimal string to milli parts
43 * @param str The decimal string to be parsed
44 * @param milli Destination for parsed decimal
56 * @param str Decimal string to be parsed
[all …]
Dgnss_parse.c23 int8_t decimal = -1; in gnss_parse_dec_to_nano() local
31 /* Find decimal */ in gnss_parse_dec_to_nano()
33 /* Verify if char is decimal */ in gnss_parse_dec_to_nano()
35 decimal = pos; in gnss_parse_dec_to_nano()
43 /* Determine starting position based on decimal location */ in gnss_parse_dec_to_nano()
44 pos = decimal < 0 ? pos - 1 : decimal - 1; in gnss_parse_dec_to_nano()
52 /* Verify char is decimal */ in gnss_parse_dec_to_nano()
67 /* Check if decimal was found */ in gnss_parse_dec_to_nano()
68 if (decimal < 0) { in gnss_parse_dec_to_nano()
76 /* Convert decimal part to nano fractions and add it to sum */ in gnss_parse_dec_to_nano()
[all …]
Dgnss_nmea0183.c169 int8_t decimal = -1; in gnss_nmea0183_ddmm_mmmm_to_ndeg() local
176 /* Find decimal */ in gnss_nmea0183_ddmm_mmmm_to_ndeg()
178 /* Verify if char is decimal */ in gnss_nmea0183_ddmm_mmmm_to_ndeg()
180 decimal = pos; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
188 /* Verify decimal was found and placed correctly */ in gnss_nmea0183_ddmm_mmmm_to_ndeg()
189 if (decimal < 1) { in gnss_nmea0183_ddmm_mmmm_to_ndeg()
194 if (decimal > 1 && ddmm_mmmm[decimal - 2] > '5') { in gnss_nmea0183_ddmm_mmmm_to_ndeg()
199 pos = decimal + 1; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
202 /* Verify char is decimal */ in gnss_nmea0183_ddmm_mmmm_to_ndeg()
218 pos = decimal - 1; in gnss_nmea0183_ddmm_mmmm_to_ndeg()
[all …]
/Zephyr-latest/samples/drivers/ps2/src/
Dmain.c115 LOG_DBG("decimal 200 ->0xc8\n"); in initialize_mouse()
121 LOG_DBG("decimal 100 ->0x64\n"); in initialize_mouse()
126 LOG_DBG("decimal 80 ->0x50\n"); in initialize_mouse()
135 LOG_DBG("decimal 200 ->0xc8\n"); in initialize_mouse()
141 LOG_DBG("decimal 200 ->0xc8\n"); in initialize_mouse()
147 LOG_DBG("decimal 80 ->0x50\n"); in initialize_mouse()
156 LOG_DBG("decimal 100 ->0x64\n"); in initialize_mouse()
/Zephyr-latest/dts/bindings/sensor/
Dams,tsl2540.yaml23 Integer value for a representation with 5 decimal points.
32 Integer value for a representation with 5 decimal points.
/Zephyr-latest/subsys/bindesc/
DKconfig.version34 The kernel version as binary coded decimal, computed as
67 The app version as binary coded decimal, computed as
/Zephyr-latest/include/zephyr/sys/
Dprintk.h28 * - signed decimal: \%d, \%i
29 * - unsigned decimal: \%u
/Zephyr-latest/dts/bindings/video/
Dovti,ov2640.yaml27 CLK = XVCLK /(decimal value of CLKRC[5:0] + 1)
/Zephyr-latest/tests/net/socket/udp/
DCMakeLists.txt27 OUTPUT_FORMAT DECIMAL)
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/
Dutil.h25 * @param proto protocol ID in decimal format
126 * @param proto protocol ID in decimal format
146 * @param proto protocol ID in decimal format
271 * of these IDs needs to be in decimal since they
/Zephyr-latest/lib/os/
Dcbprintf_complete.c250 * the decimal point in a floating point conversion.
274 * * before a floating point mantissa decimal point
276 * * after a floating point mantissa decimal point due
299 /** Number of extra zeros to be inserted after a decimal
310 /** Get a size represented as a sequence of decimal digits.
744 /* Extract the next decimal character in the converted representation of a
857 * the decimal point).
997 /* Record whether we must retain the decimal point even if we in encode_float()
1020 /* Pad out to full range since this is below the decimal in encode_float()
1100 * 0 and -2 as the magnitude of a fractional decimal digit is 3 bits. in encode_float()
[all …]
DKconfig.cbprintf95 standard decimal representations (%f, %e, %g). Selecting this
96 option implicitly uses %a (or %A) for all decimal floating
Dprintk.c181 * - %u: outputs a number in unsigned decimal format
182 * - %d/%i: outputs a number in signed decimal format
/Zephyr-latest/lib/libc/picolibc/
DKconfig144 Uses Ryu algorithm for exact binary/decimal float conversions.
153 doing binary to decimal conversion in printf for 64-bit
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_util.c59 /* add decimal to fraction */ in lwm2m_float_to_b32()
141 /* add decimal to fraction */ in lwm2m_float_to_b64()
230 /* calculate the rest of the decimal */ in lwm2m_b32_to_float()
301 /* calculate the rest of the decimal */ in lwm2m_b64_to_float()
388 /* Round the value to the specified decimal point. */ in lwm2m_ftoa()
/Zephyr-latest/include/zephyr/dsp/
Dprint_format.h55 * @param[in] precision Number of decimal points to print
/Zephyr-latest/drivers/entropy/
Dfake_entropy_native_posix.c110 "97229 (decimal), 0x17BCD (hex), or 0275715 (octal)" in add_fake_entropy_option()
/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c372 /* convert raw sensor data to sensor_value. Shift the decimal part by 1 decimal in bmp581_sample_fetch()
381 /* convert raw sensor data to sensor_value. Shift the decimal part by in bmp581_sample_fetch()
382 * 4 decimal places to compensate for the conversion in in bmp581_sample_fetch()
/Zephyr-latest/samples/subsys/smf/smf_calculator/
DREADME.rst16 ignoring leading zeroes, and disallowing multiple decimal points.
/Zephyr-latest/doc/hardware/peripherals/can/
Dshell.rst217 * ``[8]``: The number of frame data bytes in decimal format, here a classic CAN frame with 8 data
219 * ``[08]``: The number of frame data bytes in decimal format, here a CAN FD frame with 8 data
/Zephyr-latest/drivers/sensor/st/lps25hb/
Dlps25hb.c76 /* For the decimal part use (3125 / 128) as a factor instead of in lps25hb_press_convert()
/Zephyr-latest/include/zephyr/drivers/misc/ft8xx/
Dft8xx_copro.h104 * @brief Draw a decimal number
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dstrtoll.c54 * assume decimal; if base is already 16, allow 0x. in strtoll()
/Zephyr-latest/subsys/bluetooth/services/
DKconfig.dis86 release number in Binary-Coded Decimal. This is a vendor-assigned value,
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/
Dpi.c27 * iterations results in an accuracy of 3 decimal places.

123