Home
last modified time | relevance | path

Searched full:compare (Results 1 – 25 of 253) sorted by relevance

1234567891011

/Zephyr-latest/include/zephyr/drivers/timer/
Dnrf_rtc_timer.h20 /** @brief RTC timer compare event handler.
22 * Called from RTC ISR context when processing a compare event.
24 * @param id Compare channel ID.
26 * @param expire_time An actual absolute expiration time set for a compare
37 /** @brief Allocate RTC compare channel.
46 /** @brief Free RTC compare channel.
58 /** @brief Get COMPARE event register address.
80 /** @brief Safely disable compare event interrupt.
90 /** @brief Safely enable compare event interrupt.
100 /** @brief Read compare register value.
[all …]
Dnrf_grtc_timer.h16 /** @brief GRTC timer compare event handler.
18 * Called from GRTC ISR context when processing a compare event.
20 * @param id Compare channel ID.
22 * @param expire_time An actual absolute expiration time set for a compare
32 /** @brief Allocate GRTC capture/compare channel.
39 /** @brief Free GRTC capture/compare channel.
51 /** @brief Check COMPARE event state.
60 /** @brief Get COMPARE event register address.
80 /** @brief Safely disable compare event interrupt.
90 /** @brief Safely enable compare event interrupt.
[all …]
/Zephyr-latest/tests/bluetooth/uuid/src/
Dtest_bt_uuid_cmp.c19 /* Compare UUID 16 bits */ in ZTEST()
23 /* Compare UUID 128 bits */ in ZTEST()
27 /* Compare UUID 16 bits with UUID 128 bits */ in ZTEST()
31 /* Compare different UUID 16 bits */ in ZTEST()
35 /* Compare different UUID 128 bits */ in ZTEST()
Dtest_bt_uuid_create.c29 /* Compare UUID 16 bits */ in ZTEST()
33 /* Compare UUID 128 bits */ in ZTEST()
37 /* Compare swapped UUID 16 bits */ in ZTEST()
45 /* Compare UUID 16 bits */ in ZTEST()
49 /* Compare UUID 128 bits */ in ZTEST()
53 /* Compare swapped UUID 16 bits */ in ZTEST()
/Zephyr-latest/drivers/timer/
Dcc13xx_cc26xx_rtc_timer.c75 /* get the current RTC count corresponding to compare window */ in setThreshold()
89 /* set next compare threshold in RTC */ in setThreshold()
152 uint32_t compare; in startDevice() local
164 * set the compare register to one period. in startDevice()
166 * compare register in startDevice()
170 compare = 0x4; /* 4 * 15.5us ~= 62us */ in startDevice()
173 compare = period >> 16; in startDevice()
176 /* set the compare value at the RTC */ in startDevice()
177 AONRTCCompareValueSet(AON_RTC_CH0, compare); in startDevice()
179 /* enable compare channel 0 */ in startDevice()
Dmcux_gpt_timer.c52 /* Helper function to set GPT compare value, so we don't set a compare point in past */
62 /* GPT fires interrupt at next counter cycle after a compare point is in gpt_set_safe()
63 * hit, so we should bump the compare point if 1 cycle or less exists in gpt_set_safe()
64 * between now and compare point. in gpt_set_safe()
68 * no longer need to keep bumping the compare point. in gpt_set_safe()
/Zephyr-latest/tests/drivers/timer/nrf_grtc_timer/src/
Dmain.c19 /* GRTC timer compare interrupt handler */
23 TC_PRINT("Compare value reached, user data: '%s'\n", (char *)user_data); in timer_compare_interrupt_handler()
86 "Compare register set failed"); in ZTEST()
91 TC_PRINT("Compare event generated ?: %d\n", z_nrf_grtc_timer_compare_evt_check(channel)); in ZTEST()
92 TC_PRINT("Compare event register address: %X\n", in ZTEST()
95 zassert_equal(compare_isr_call_counter, 1, "Compare isr call counter: %d", in ZTEST()
124 "Compare register set failed"); in ZTEST()
129 zassert_equal(compare_isr_call_counter, 0, "Compare isr call counter: %d", in ZTEST()
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h300 * @param ptr Pointer to compare
307 * @param ptr Pointer to compare
317 * @param a Value to compare
318 * @param b Value to compare
328 * @param a Value to compare
329 * @param b Value to compare
339 * @param a Value to compare
340 * @param b Value to compare
349 * @param a Value to compare
350 * @param b Value to compare
[all …]
/Zephyr-latest/dts/bindings/timer/
Dst,stm32-timers.yaml38 Output compare interrupt flags of output channels
41 Output compare interrupt flags of output channels
44 Output compare interrupt flags of output channels
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/
Dget_metadata_split.sh14 # 3. When the server status arrive, remove status field data and compare
17 # 5. When the server status arrive, remove status field data and compare
Dget_comp128_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp129_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp130_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp2_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp0_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp1_data_split.sh15 # 3. When server status arrive, remove status field data and compare received
18 # 5. When server status arrive, remove status field data and compare received
Dget_comp0_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
Dget_comp128_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
Dget_comp129_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
Dget_comp130_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
Dget_comp1_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
Dget_comp2_data_split_dfu.sh16 # 3. When server status arrive, remove status field data and compare received
19 # 5. When server status arrive, remove status field data and compare received
/Zephyr-latest/drivers/counter/
Dcounter_gecko_rtcc.c45 "reset the counter value on CCV1 compare."
137 /* Enable the compare interrupt */ in counter_gecko_set_top_value()
188 /* Enable the compare interrupt */ in counter_gecko_set_alarm()
201 /* Disable the compare interrupt */ in counter_gecko_cancel_alarm()
254 rtccCapComChModeCompare, /* Use compare mode */ in counter_gecko_init()
258 rtccCompBaseCnt, /* Compare with base CNT register */ in counter_gecko_init()
260 0, /* Compare mask */ in counter_gecko_init()
288 /* Set up compare channels */ in counter_gecko_init()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dcntr.c157 * SYSCOUNTER H and L, so that COMPARE registers can be set in cntr_cmp_set()
158 * considering that we need to set H compare value too. in cntr_cmp_set()
169 /* Disable capture/compare */ in cntr_cmp_set()
194 /* Set compare register values */ in cntr_cmp_set()
198 /* Enable compare */ in cntr_cmp_set()
/Zephyr-latest/drivers/pwm/
Dpwm_mcux_qtmr.c75 /* Setup the compare registers for PWM output */ in mcux_qtmr_pwm_set_cycles()
84 /* Setup the compare load control for COMP1 and COMP2. in mcux_qtmr_pwm_set_cycles()
94 /* Set OFLAG output on compare */ in mcux_qtmr_pwm_set_cycles()
97 /* Clear OFLAG output on compare */ in mcux_qtmr_pwm_set_cycles()
100 /* Toggle OFLAG output using alternating compare register */ in mcux_qtmr_pwm_set_cycles()

1234567891011