Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 47) sorted by relevance

12

/hal_rpi_pico-latest/test/pico_time_test/
Dpico_time_test.c34 absolute_time_t target; member
54 int64_t delta = absolute_time_diff_us(tb->target, ta->target); in sort_by_target()
100 absolute_time_t target; in main() local
104 target = timeouts[i-1].target; in main()
107 target = delayed_by_us(time_base, init_ms + (rand() % TEST_LENGTH_US)); in main()
110 timeouts[i].target = target; in main()
112 … alarm_id_t id = alarm_pool_add_alarm_at(pools[pool], target, timer_callback1, timeouts + i, true); in main()
128 …outs[i].fired_count, to_us_since_boot(timeouts[i].fired_at), to_us_since_boot(timeouts[i].target)); in main()
133 … to_us_since_boot(timeouts[i].target)) - RESOLUTION_ALLOWANCE, "Timer fired early"); in main()
136 …to_us_since_boot(timeouts[i].target) == last_target[timeouts[i].pool], "Timer fired out of order"); in main()
[all …]
/hal_rpi_pico-latest/src/host/hardware_timer/
Dtimer.c63 uint64_t target = to_us_since_boot(t); in PICO_WEAK_FUNCTION_DEF() local
64 return time_us_64() >= target; in PICO_WEAK_FUNCTION_DEF()
68 void PICO_WEAK_FUNCTION_IMPL_NAME(busy_wait_until)(absolute_time_t target) { in PICO_WEAK_FUNCTION_DEF()
71 tspec.tv_sec = to_us_since_boot(target) / 1000000; in PICO_WEAK_FUNCTION_DEF()
72 tspec.tv_nsec = (to_us_since_boot(target) % 1000000) * 1000; in PICO_WEAK_FUNCTION_DEF()
76 uint64_t target_us = to_us_since_boot(target); in PICO_WEAK_FUNCTION_DEF()
113 bool PICO_WEAK_FUNCTION_IMPL_NAME(hardware_alarm_set_target)(uint alarm_num, absolute_time_t target in PICO_WEAK_FUNCTION_DEF()
/hal_rpi_pico-latest/src/common/pico_binary_info/
Dbinary_info.bzl3 …by PICO_DEFAULT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, grou…
4 …by PICO_DEFAULT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, grou…
5 …by PICO_DEFAULT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, grou…
6 …by PICO_DEFAULT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, grou…
7 …LD_DEFINE: PICO_TARGET_NAME, The name of the build target being compiled, type=string, default=tar…
/hal_rpi_pico-latest/src/
DCMakeLists.txt47 # takes dependencies after the target
50 message(FATAL_ERROR "expected a target, scope and at least one dependency")
75 # add map file generation for the given target
86 # create a hardware_NAME_headers target (see pico_simple_hardware_headers_target)
87 # create a hardware_NAME target (see pico_simple_hardware_target)
93 # create an INTERFACE library named target, and define LIB_TARGET=1 (upper case) as a compile option
96 function(pico_add_impl_library target)
97 add_library(${target} INTERFACE)
98 string(TOUPPER ${target} TARGET_UPPER)
104 target_compile_definitions(${target} INTERFACE LIB_${TARGET_UPPER}=1)
[all …]
DBUILD.bazel4 # that occur within the dependency chain of the pico_platform target below.
/hal_rpi_pico-latest/src/rp2_common/pico_time_adapter/include/pico/
Dtime_adapter.h38 static inline void ta_set_timeout(alarm_pool_timer_t *timer, uint alarm_num, int64_t target) { in ta_set_timeout() argument
41 uint32_t time_til_target = (uint32_t) target - current; in ta_set_timeout()
52 timer_hw_from_timer(timer)->alarm[alarm_num] = (uint32_t) target; in ta_set_timeout()
56 …c inline bool ta_wakes_up_on_or_before(alarm_pool_timer_t *timer, uint alarm_num, int64_t target) { in ta_wakes_up_on_or_before() argument
58 uint32_t time_til_target = (uint32_t) target - current; in ta_wakes_up_on_or_before()
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/
Dtimer.c92 uint64_t target = base + delay_us; in timer_busy_wait_us() local
93 if (target < base) { in timer_busy_wait_us()
94 target = (uint64_t)-1; in timer_busy_wait_us()
97 update_us_since_boot(&t, target); in timer_busy_wait_us()
111 uint64_t target = to_us_since_boot(t); in timer_busy_wait_until() local
112 uint32_t hi_target = (uint32_t)(target >> 32u); in timer_busy_wait_until()
118 while (hi == hi_target && timer->timerawl < (uint32_t) target) { in timer_busy_wait_until()
215 bool timer_hardware_alarm_set_target(timer_hw_t *timer, uint alarm_num, absolute_time_t target) { in timer_hardware_alarm_set_target() argument
218 uint64_t t = to_us_since_boot(target); in timer_hardware_alarm_set_target()
/hal_rpi_pico-latest/src/common/pico_time/
Dtimeout_helper.c13 check_timeout_fn init_single_timeout_until(timeout_state_t *ts, absolute_time_t target) { in init_single_timeout_until() argument
14 ts->next_timeout = target; in init_single_timeout_until()
Dtime.c23 int64_t target; member
162 earliest_target = earliest_entry->target; in alarm_pool_irq_handler()
191 earliest_entry->target = next_time; in alarm_pool_irq_handler()
193 … if (earliest_entry->next >= 0 && next_time - pool->entries[earliest_entry->next].target >= 0) { in alarm_pool_irq_handler()
198 while (*prev >= 0 && (next_time - pool->entries[*prev].target) >= 0) { in alarm_pool_irq_handler()
226 int64_t new_entry_time = new_entry->target; in alarm_pool_irq_handler()
229 while (*prev >= 0 && (new_entry_time - pool->entries[*prev].target) >= 0) { in alarm_pool_irq_handler()
250 entry->target = -1; in alarm_pool_irq_handler()
267 earliest_target = earliest_entry->target; in alarm_pool_irq_handler()
337 entry->target = (int64_t)to_us_since_boot(time); in alarm_pool_add_alarm_at_force_in_context()
[all …]
/hal_rpi_pico-latest/src/host/pico_time_adapter/include/pico/
Dtime_adapter.h21 void ta_set_timeout(alarm_pool_timer_t *timer, uint hardware_alarm_num, int64_t target);
22 bool ta_wakes_up_on_or_before(alarm_pool_timer_t *timer, uint alarm_num, int64_t target);
/hal_rpi_pico-latest/src/host/pico_time_adapter/
Dtime_adapter.c27 …ION_IMPL_NAME(ta_set_timeout)(alarm_pool_timer_t *timer, uint hardware_alarm_num, int64_t target) { in PICO_WEAK_FUNCTION_DEF()
31 …AME(ta_wakes_up_on_or_before)(alarm_pool_timer_t *timer, uint hardware_alarm_num, int64_t target) { in PICO_WEAK_FUNCTION_DEF()
/hal_rpi_pico-latest/tools/pioasm/
Dpio_types.h136 } target; member
140 …wait_source(type target, rvalue param = 0, int irq_type = 0) : target(target), param(std::move(par… in target() function
381 rvalue target; member
383 …jmp(const yy::location &l, condition c, rvalue target) : instruction(l), cond(c), target(std::move… in instr_jmp()
Dpython_output.cpp103 uint target = inst &0x1fu; in output() local
104 jmp_labels.insert(std::pair<uint,std::string>(target, std::to_string(target))); in output()
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/include/hardware/
Dtimer.h321 uint64_t target = to_us_since_boot(t); in timer_time_reached() local
322 uint32_t hi_target = (uint32_t)(target >> 32u); in timer_time_reached()
324 return (hi >= hi_target && (timer->timerawl >= (uint32_t) target || hi != hi_target)); in timer_time_reached()
/hal_rpi_pico-latest/src/common/pico_time/include/pico/
Dtimeout_helper.h23 check_timeout_fn init_single_timeout_until(timeout_state_t *ts, absolute_time_t target);
/hal_rpi_pico-latest/cmake/preload/toolchains/
Dpico_arm_clang_arm.cmake30 # Add target system root to cmake find path.
34 # Look for includes and libraries only in the target system prefix.
Dpico_arm_cortex_m0plus_clang.cmake6 set(PICO_COMMON_LANG_FLAGS "--target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m")
Dpico_arm_cortex_m33_clang.cmake6 set(PICO_COMMON_LANG_FLAGS "-mcpu=cortex-m33 --target=armv8m.main-none-eabi -mfloat-abi=softfp -mar…
/hal_rpi_pico-latest/src/rp2_common/pico_standard_link/
DCMakeLists.txt64 …# LINKER script will be PICO_TARGET_LINKER_SCRIPT if set on target, or ${CMAKE_CURRENT_LIST_DIR}/m…
65 …# if PICO_TARGET_BINARY_TYPE is set to foo on the target, otherwise ${CMAKE_CURRENT_LIST_DIR}/memm…
73 …# PICO_NO_FLASH will be set based on PICO_TARGET_BUILD_TYPE target property being equal to no_flas…
76 …# PICO_USE_BLOCKED_RAM will be set based on PICO_TARGET_BUILD_TYPE target property being equal to …
79 …# PICO_COPY_TO_RAM will be set based on PICO_TARGET_BUILD_TYPE target property being equal to copy…
/hal_rpi_pico-latest/src/common/
DREADME.md3 by the actual target `PICO_PLATFORM``
/hal_rpi_pico-latest/cmake/preload/toolchains/util/
Dpico_arm_gcc_common.cmake47 # Add target system root to cmake find path.
51 # Look for includes and libraries only in the target system prefix.
Dpico_arm_clang_common.cmake29 # Add target system root to cmake find path.
33 # Look for includes and libraries only in the target system prefix.
/hal_rpi_pico-latest/tools/
Duf2_aspect.bzl10 def _pico_uf2_aspect_impl(target, ctx):
15 binary_to_convert = target[DefaultInfo].files_to_run.executable
DCMakeLists.txt2 # All INHERITED, so can be defined globally, or per target
4 # The picotool functions all set the specified target properties,
304 # Sign the target binary with the given PEM signature. This sets
311 # Enforce signing through target properties
334 # Hash the target binary. This sets PICOTOOL_HASH_OUTPUT to true.
337 # Enforce hashing through target properties
354 # Encrypt the target binary with the given AES key (should be a binary
444 # Read target properties
/hal_rpi_pico-latest/src/rp2_common/pico_lwip/tools/
DCMakeLists.txt2 # Pass the target library name library type and the list of httpd content

12