Home
last modified time | relevance | path

Searched full:calibration (Results 1 – 25 of 177) sorted by relevance

12345678

/Zephyr-latest/tests/drivers/rtc/rtc_api_helpers/src/
Dtest_rtc_calibration_from_frequency.c12 int32_t calibration; member
18 .calibration = 0,
22 .calibration = -1,
26 .calibration = 1,
30 .calibration = -500000000,
34 .calibration = 1000000000,
41 int32_t calibration; in ZTEST() local
46 calibration = test_samples[i].calibration; in ZTEST()
48 zassert_equal(result, calibration); in ZTEST()
/Zephyr-latest/drivers/clock_control/
DKconfig.nrf58 bool "LF clock calibration"
62 If calibration is disabled when RC is used for low frequency clock then
74 Enabling indicates that calibration is performed by the clock control driver.
84 int "Calibration opportunity period in milliseconds"
87 Periodically, calibration action is performed. Action includes
88 temperature measurement followed by clock calibration. Calibration may
90 calibration) did not exceeded CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF
95 int "Maximum number of calibration skips"
99 Calibration is skipped when temperature change since last calibration
101 reaches configured value then calibration is performed
[all …]
Dnrf_clock_calibration.c18 * - calibration - overall process of LFRC clock calibration which is performed
19 * periodically, calibration may include temperature monitoring, hf XTAL
21 * - cycle - all calibration phases (waiting, temperature monitoring,
22 * calibration).
23 * - process - calibration process which may consists of hf XTAL clock
24 * requesting, performing hw calibration and releasing hf clock.
25 * - hw_cal - calibration action performed by the hardware.
29 * In order to ensure that low frequency clock is not released when calibration
30 * is ongoing, it is requested by the calibration process and released when
31 * calibration is done.
[all …]
Dnrf_clock_calibration.h16 * @brief Initialize LFCLK RC calibration.
23 * @brief Calibration done handler
30 * @brief Notify calibration module about LF clock start
35 * @brief Notify calibration module about LF clock stop
DKconfig.smartbond15 int "Low-power oscillators calibration interval"
19 Time in seconds between calibration of low power clock RC32K and RCX.
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_calibrate.c24 /* Check if calibration is within limits of hardware */ in test_set_get_calibration()
30 /* Validate calibration was set */ in test_set_get_calibration()
31 zassert_ok(ret, "Failed to set calibration"); in test_set_get_calibration()
35 /* Validate calibration was gotten */ in test_set_get_calibration()
36 zassert_ok(ret, "Failed to get calibration"); in test_set_get_calibration()
53 /* Validate calibration was set */ in ZTEST()
54 zassert_ok(ret, "Failed to set calibration"); in ZTEST()
58 /* Validate calibration was gotten */ in ZTEST()
59 zassert_ok(ret, "Failed to get calibration"); in ZTEST()
/Zephyr-latest/soc/espressif/
DKconfig39 int "Number of cycles for RTC_SLOW_CLK calibration"
44 calibration by comparing the RTC_SLOW_CLK frequency with main XTAL
46 by the calibration routine. Higher numbers increase calibration
50 When this option is set to 0, clock calibration will not be performed at
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_calibration/src/
Dtest_nrf_clock_calibration.c82 /* Function pends until calibration counter is performed. When function leaves,
83 * it is just after calibration.
89 /* wait until calibration is performed. */ in sync_just_after_calibration()
95 /* Test checks if calibration and calibration skips are performed according
112 /* Test checks if calibration happens just after clock is enabled. */
140 /* Test checks if temperature change triggers calibration. */
148 /* change temperature by 0.25'C which should not trigger calibration */ in ZTEST()
165 /* expect calibration due to temp change. */ in ZTEST()
171 * calibration.
179 /*expect immediate calibration */ in ZTEST()
/Zephyr-latest/include/zephyr/input/
Dinput_analog_axis.h21 * @brief Analog axis calibration data structure.
23 * Holds the calibration data for a single analog axis. Initial values are set
51 * calibration. Set cb to NULL to disable the callback.
66 * @brief Get the axis calibration data.
71 * get set with the current calibration data.
81 * @brief Set the axis calibration data.
86 * calibration data
Dinput_analog_axis_settings.h19 * @brief Save the calibration data.
21 * Save the calibration data permanently on the specifided device, requires
/Zephyr-latest/include/zephyr/drivers/misc/ft8xx/
Dft8xx.h30 * @brief Structure holding touchscreen calibration data
54 * Run touchscreen calibration procedure that collects three touches from touch
55 * screen. Computed calibration result is automatically applied to the
67 * @brief Set touchscreen calibration data
70 * Data is to be obtained from calibration procedure started with
Dft8xx_copro.h129 * @brief Execute the touch screen calibration routine
131 * The calibration procedure collects three touches from the touch screen, then
135 * calibration input and updates REG_TOUCH_TRANSFORM_A-F.
137 * @param result Calibration result, written with 0 on failure of calibration
/Zephyr-latest/dts/bindings/sensor/
Dst,stm32-temp-cal-common.yaml12 description: Address of TS_CAL1 calibration parameter
24 temperature sensor calibration parameters have been
30 ADC resolution used for measuring calibration data
Dst,stm32-temp-cal.yaml5 STM32 family TEMP node for production calibrated sensors with two calibration temperatures.
19 description: Address of TS_CAL2 calibration parameter
/Zephyr-latest/drivers/rtc/
Drtc_handlers.c64 static inline int z_vrfy_rtc_set_calibration(const struct device *dev, int32_t calibration) in z_vrfy_rtc_set_calibration() argument
67 return z_impl_rtc_set_calibration(dev, calibration); in z_vrfy_rtc_set_calibration()
72 static inline int z_vrfy_rtc_get_calibration(const struct device *dev, int32_t *calibration) in z_vrfy_rtc_get_calibration() argument
75 K_OOPS(K_SYSCALL_MEMORY_WRITE(calibration, sizeof(int32_t))); in z_vrfy_rtc_get_calibration()
76 return z_impl_rtc_get_calibration(dev, calibration); in z_vrfy_rtc_get_calibration()
Drtc_sam.c498 static int rtc_sam_set_calibration(const struct device *dev, int32_t calibration) in rtc_sam_set_calibration() argument
508 if ((calibration < RTC_SAM_CALIBRATE_PPB_MIN) || in rtc_sam_set_calibration()
509 (calibration > RTC_SAM_CALIBRATE_PPB_MAX)) { in rtc_sam_set_calibration()
514 if (calibration < 0) { in rtc_sam_set_calibration()
516 calibration = -calibration; in rtc_sam_set_calibration()
545 if (calibration < RTC_SAM_CALIBRATE_PPB_QUANTA) { in rtc_sam_set_calibration()
548 } else if (calibration < RTC_SAM_CALIBRATE_PPB_LOW_SCALE) { in rtc_sam_set_calibration()
550 slow_clock_calibration = (uint32_t)((3906000 / (20 * calibration)) - 1); in rtc_sam_set_calibration()
553 slow_clock_calibration = (uint32_t)((3906000 / calibration) - 1); in rtc_sam_set_calibration()
586 static int rtc_sam_get_calibration(const struct device *dev, int32_t *calibration) in rtc_sam_get_calibration() argument
[all …]
Drtc_ifx_cat1.c278 static int ifx_cat1_set_calibration(const struct device *dev, int32_t calibration) in ifx_cat1_set_calibration() argument
285 if (calibration >= 0) { in ifx_cat1_set_calibration()
288 calibration = abs(calibration); in ifx_cat1_set_calibration()
292 uint_calibration = PPB_TO_WCO_PULSE_SETS(calibration); in ifx_cat1_set_calibration()
294 /* Maximum calibration value on cat1b of 60 128 tick groupings */ in ifx_cat1_set_calibration()
309 static int ifx_cat1_get_calibration(const struct device *dev, int32_t *calibration) in ifx_cat1_get_calibration() argument
318 *calibration = WCO_PULSE_SETS_TO_PPB(hw_calibration); in ifx_cat1_get_calibration()
320 *calibration = WCO_PULSE_SETS_TO_PPB(hw_calibration) * -1; in ifx_cat1_get_calibration()
DKconfig33 bool "RTC driver clock calibration support"
36 calibration.
/Zephyr-latest/include/zephyr/drivers/
Drtc.h154 * @brief API for setting RTC calibration
156 typedef int (*rtc_api_set_calibration)(const struct device *dev, int32_t calibration);
160 * @brief API for getting RTC calibration
162 typedef int (*rtc_api_get_calibration)(const struct device *dev, int32_t *calibration);
433 * @name RTC Interface Calibration
439 * @brief API for setting RTC calibration.
441 * @details Calibration is applied to the RTC clock input. A
442 * positive calibration value will increase the frequency of
449 * @param calibration Calibration to set in parts per billion
452 * @return -EINVAL if calibration is out of range
[all …]
/Zephyr-latest/drivers/bluetooth/hci/
DKconfig.nxp16 bool "BLE Controller calibration data"
18 If enabled, the Host will send calibration data to the BLE Controller during HCI init.
21 bool "BLE Controller calibration data annex 100"
23 If enabled, the Host will send calibration data annex 100 to the BLE Controller during HCI
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform_user_config.h35 * calibration Format 8.8 0x0500 -> 5.0 effective SPADs
40 * calibration Format 9.7 0x1900 -> 50.0 Mcps.
45 /*!< Max sigma estimate limit during offset calibration
/Zephyr-latest/soc/altr/zephyr_nios2f/cpu/
Dghrd_10m50da.qsf231 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[0] -ta…
233 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[1] -ta…
235 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[2] -ta…
237 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[3] -ta…
239 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[4] -ta…
241 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[5] -ta…
243 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[6] -ta…
245 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dq[7] -ta…
247 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dqs[0] -t…
249 set_instance_assignment -name OUTPUT_TERMINATION "SERIES 40 OHM WITH CALIBRATION" -to mem_dqs_n[0] …
[all …]
/Zephyr-latest/drivers/input/
DKconfig.analog_axis33 analog_axis_calibration_save() function to save the calibration into
40 Maximum number of axes that can have calibration value saved in
/Zephyr-latest/dts/bindings/adc/
Dmaxim,max1125x-base.yaml31 self-calibration:
33 description: start self calibration during channel setup
Dnxp,gau-adc.yaml41 nxp,calibration-voltage:
48 Use external calibration voltage.

12345678