Home
last modified time | relevance | path

Searched full:convert (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/Zephyr-latest/include/zephyr/sys/
Dtime_units.h41 /** @brief System-wide macro to convert milliseconds to kernel timeouts
219 /* Convert, generating a 32-bit result */
238 /* Convert, generating a 64-bit result */
306 * print "/", "** \@brief Convert $hfrom to $hto. $ret32 bits. $hround.\n";
345 /** @brief Convert seconds to hardware cycles. 32 bits. Truncates.
361 /** @brief Convert seconds to hardware cycles. 64 bits. Truncates.
377 /** @brief Convert seconds to hardware cycles. 32 bits. Round nearest.
393 /** @brief Convert seconds to hardware cycles. 64 bits. Round nearest.
409 /** @brief Convert seconds to hardware cycles. 32 bits. Rounds up.
425 /** @brief Convert seconds to hardware cycles. 64 bits. Rounds up.
[all …]
Dbyteorder.h48 * @brief Convert 16-bit integer from little-endian to host endianness.
56 * @brief Convert 16-bit integer from host endianness to little-endian.
64 * @brief Convert 24-bit integer from little-endian to host endianness.
72 * @brief Convert 24-bit integer from host endianness to little-endian.
80 * @brief Convert 32-bit integer from little-endian to host endianness.
88 * @brief Convert 32-bit integer from host endianness to little-endian.
96 * @brief Convert 48-bit integer from little-endian to host endianness.
104 * @brief Convert 48-bit integer from host endianness to little-endian.
112 * @brief Convert 16-bit integer from big-endian to host endianness.
120 * @brief Convert 16-bit integer from host endianness to big-endian.
[all …]
Dtimeutil.h11 * POSIX defines gmtime() to convert from time_t to struct tm, but all
44 * @brief Convert broken-down time to a POSIX epoch offset in seconds.
55 * @brief Convert broken-down time to a POSIX epoch offset in seconds.
77 * Values required to convert durations between two time scales.
114 * registration point that can be used to convert between those time
133 * @brief State required to convert instants between time scales.
136 * the offset information necessary to convert between two timescales
210 * the base timestamp that will be used along with skew to convert
285 * @brief Convert from a skew to an error in parts-per-billion.
/Zephyr-latest/include/zephyr/dsp/
Dutils.h33 * Convert number Q7/Q15/Q31 to Float or Double representation with shift.
40 * @brief Convert a Q7 fixed-point value to a floating-point (float32_t) value with a left shift.
49 * @brief Convert a Q15 fixed-point value to a floating-point (float32_t) value with a left shift.
58 * @brief Convert a Q31 fixed-point value to a floating-point (float32_t) value with a left shift.
67 * @brief Convert a Q7 fixed-point value to a floating-point (float64_t) value with a left shift.
76 * @brief Convert a Q15 fixed-point value to a floating-point (float64_t) value with a left shift.
85 * @brief Convert a Q31 fixed-point value to a floating-point (float64_t) value with a left shift.
101 * Convert number representation in Float or Double to Q31/Q15/Q7.
108 * @brief Convert a floating-point (float32_t) value to a Q7 fixed-point value with a right shift.
118 * @brief Convert a floating-point (float32_t) value to a Q15 fixed-point value with a right shift.
[all …]
/Zephyr-latest/cmake/modules/
Droot.cmake5 # Convert Zephyr roots to absolute paths.
7 # This CMake module will convert all relative paths in existing ROOT lists to
17 # If a root is defined it will check the list of paths in the root and convert
33 # Convert paths to absolute, relative from APPLICATION_SOURCE_DIR
Dpre_dt.cmake33 # Convert relative paths to absolute paths relative to the application
47 # Convert the directories in DTS_ROOT to absolute paths without
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_util.h12 /* convert float to binary format */
16 /* convert binary format to float */
20 /* convert string to float */
22 /* convert float to string */
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_root.cmake5 # Convert Zephyr roots to absolute paths to be used by sysbuild.
7 # This CMake module will convert all relative paths in existing ROOT lists to
17 # If a root is defined it will check the list of paths in the root and convert
36 # Convert paths to absolute, relative from APP_DIR
/Zephyr-latest/include/zephyr/shell/
Dshell_string_conv.h27 * -ERANGE if numeric string input is to large to convert.
44 * Set to -ERANGE if numeric string input is to large to convert.
61 * Set to -ERANGE if numeric string input is to large to convert.
78 * Set to -ERANGE if numeric string input is to large to convert.
/Zephyr-latest/dts/bindings/adc/
Dnxp,kinetis-adc16.yaml43 continuous-convert:
45 description: If use continuous convert
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_private.h45 * @brief Convert the network interface to the correct port number.
67 * @brief Convert uscaled ns to ms for timer use.
69 * @param usns Pointer to uscaled nanoseconds to convert.
105 * @brief Convert a ptp timestamp to nanoseconds.
/Zephyr-latest/include/zephyr/input/
Dinput_hid.h16 * @brief Convert an input code to HID code.
29 * @brief Convert an input code to HID modifier.
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_scan_internal.h15 /* Convert period in 1.28 s units to duration of 10 ms units*/
20 /* Convert duration in 10 ms unit to radio events count */
25 /* Convert period in 1.28 s unit to radio events count */
/Zephyr-latest/include/zephyr/debug/
Dgdbstub.h71 * @brief Convert a binary array into string representation.
76 * @param buf The binary array to convert
77 * @param buflen The length of the binary array to convert
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_pd.h290 * @brief Convert bytes to PD Header data object count, where a
293 * @param c number of bytes to convert
298 * @brief Convert PD Header data object count to bytes
394 * @brief Convert milliamps to Fixed PDO Current in 10mA units.
401 * @brief Convert millivolts to Fixed PDO Voltage in 50mV units
408 * @brief Convert a Fixed PDO Current from 10mA units to milliamps.
415 * @brief Convert a Fixed PDO Voltage from 50mV units to millivolts.
502 * @brief Convert milliamps to Variable PDO Current in 10ma units.
509 * @brief Convert millivolts to Variable PDO Voltage in 50mV units
516 * @brief Convert a Variable PDO Current from 10mA units to milliamps.
[all …]
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.c60 * @brief Convert current in MAX17055 units to milliamps
63 * @param val Value to convert (taken from a MAX17055 register)
72 * @brief Convert current in milliamps to MAX17055 units
75 * @param val Value in mA to convert
84 * @brief Convert capacity in MAX17055 units to milliamps
87 * @param val Value to convert (taken from a MAX17055 register)
103 * @brief Convert capacity in milliamphours to MAX17055 units
106 * @param val_mha Value in milliamphours to convert
118 * @param val_mv Value in millivolts to convert
/Zephyr-latest/include/zephyr/drivers/sensor/
Dbattery.h62 * @brief Convert an OCV table and battery voltage to a charge percentage
75 /* Convert voltage to SoC */ in battery_soc_lookup()
/Zephyr-latest/include/zephyr/net/
Dwifi_utils.h38 * @brief Convert a band specification string to a bitmap representing the bands.
41 * values as a comma separated string and convert it to a bitmap. The string can
78 * @brief Convert a string containing a specification of scan channels to an array.
81 * as a string and convert it to an array.
/Zephyr-latest/include/zephyr/
Dnet_buf.h401 * @brief Remove and convert 16 bits from the end of the buffer.
413 * @brief Remove and convert 16 bits from the end of the buffer.
425 * @brief Remove and convert 24 bits from the end of the buffer.
437 * @brief Remove and convert 24 bits from the end of the buffer.
449 * @brief Remove and convert 32 bits from the end of the buffer.
461 * @brief Remove and convert 32 bits from the end of the buffer.
473 * @brief Remove and convert 40 bits from the end of the buffer.
485 * @brief Remove and convert 40 bits from the end of the buffer.
497 * @brief Remove and convert 48 bits from the end of the buffer.
509 * @brief Remove and convert 48 bits from the end of the buffer.
[all …]
/Zephyr-latest/scripts/build/
Duf2conv.py279 parser = argparse.ArgumentParser(description='Convert to UF2 or flash directly.')
294 parser.add_argument('-c', '--convert', action='store_true',
295 help='do not flash, just convert')
297 help='just flash, do not convert')
301 help='convert binary file to a C array, not UF2')
303 help='display header information from UF2, do not convert')
344 if args.convert or ext != "uf2":
349 if ext == "uf2" and not args.convert and not args.info:
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a.h59 /* Helpers to convert from TCN75A temperature fixed point format
61 * is treated as an integer, the format to convert to sensor val2 is
/Zephyr-latest/include/zephyr/timing/
Dtiming.h113 * @brief Convert number of @p cycles into nanoseconds.
123 * @brief Convert number of @p cycles into nanoseconds with averaging.
229 * @brief Convert number of @p cycles into nanoseconds.
239 * @brief Convert number of @p cycles into nanoseconds with averaging.
347 * @brief Convert number of @p cycles into nanoseconds.
364 * @brief Convert number of @p cycles into nanoseconds with averaging.
/Zephyr-latest/include/zephyr/bluetooth/
Dgap.h829 * @brief Convert periodic advertising interval (N * 0.625 ms) to microseconds
836 * @brief Convert periodic advertising interval (N * 0.625 ms) to milliseconds
846 * @brief Convert isochronous interval (N * 1.25 ms) to microseconds
853 * @brief Convert isochronous interval (N * 1.25 ms) to milliseconds
862 /** @brief Convert periodic advertising interval (N * 1.25 ms) to microseconds *
870 * @brief Convert periodic advertising interval (N * 1.25 ms) to milliseconds
879 * @brief Convert microseconds to advertising interval units (0.625 ms)
889 * @brief Convert milliseconds to advertising interval units (0.625 ms)
900 * @brief Convert microseconds to periodic advertising interval units (1.25 ms)
910 * @brief Convert milliseconds to periodic advertising interval units (1.25 ms)
[all …]
/Zephyr-latest/tests/unit/timeutil/
Dtest_sync.c230 "%s: unexpected uninit convert: %d", tag, rv); in tref_from_local()
246 "%s: unexpected base convert", tag); in tref_from_local()
283 "%s: unexpected skew adj convert", tag); in tref_from_local()
307 "%s: unexpected uninit convert: %d", tag, rv); in tlocal_from_ref()
323 "%s: unexpected base convert", tag); in tlocal_from_ref()
330 "%s: unexpected base+2s convert", tag); in tlocal_from_ref()
337 "%s: unexpected base-7s convert", tag); in tlocal_from_ref()
351 "%s: unexpected skew adj convert", tag); in tlocal_from_ref()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_decoder.c141 /* Convert received data into signeg integer. */ in adxl362_decode_stream()
154 /* Convert received data into signeg integer. */ in adxl362_decode_stream()
166 /* Convert received data into signeg integer. */ in adxl362_decode_stream()
178 /* Convert received data into signeg integer. */ in adxl362_decode_stream()
187 /* Convert received data into signeg integer. */ in adxl362_decode_stream()
196 /* Convert received data into signeg integer. */ in adxl362_decode_stream()

12345678910>>...19