/hal_rpi_pico-latest/test/pico_time_test/ |
D | pico_time_test.c | 34 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/ |
D | timer.c | 63 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/ |
D | binary_info.bzl | 3 …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/ |
D | CMakeLists.txt | 47 # 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 …]
|
D | BUILD.bazel | 4 # that occur within the dependency chain of the pico_platform target below.
|
/hal_rpi_pico-latest/src/rp2_common/pico_time_adapter/include/pico/ |
D | time_adapter.h | 38 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/ |
D | timer.c | 92 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/ |
D | timeout_helper.c | 13 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()
|
D | time.c | 23 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/ |
D | time_adapter.h | 21 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/ |
D | time_adapter.c | 27 …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/ |
D | pio_types.h | 136 } 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()
|
D | python_output.cpp | 103 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/ |
D | timer.h | 321 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/ |
D | timeout_helper.h | 23 check_timeout_fn init_single_timeout_until(timeout_state_t *ts, absolute_time_t target);
|
/hal_rpi_pico-latest/cmake/preload/toolchains/ |
D | pico_arm_clang_arm.cmake | 30 # Add target system root to cmake find path. 34 # Look for includes and libraries only in the target system prefix.
|
D | pico_arm_cortex_m0plus_clang.cmake | 6 set(PICO_COMMON_LANG_FLAGS "--target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m")
|
D | pico_arm_cortex_m33_clang.cmake | 6 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/ |
D | CMakeLists.txt | 64 …# 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/ |
D | README.md | 3 by the actual target `PICO_PLATFORM``
|
/hal_rpi_pico-latest/cmake/preload/toolchains/util/ |
D | pico_arm_gcc_common.cmake | 47 # Add target system root to cmake find path. 51 # Look for includes and libraries only in the target system prefix.
|
D | pico_arm_clang_common.cmake | 29 # 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/ |
D | uf2_aspect.bzl | 10 def _pico_uf2_aspect_impl(target, ctx): 15 binary_to_convert = target[DefaultInfo].files_to_run.executable
|
D | CMakeLists.txt | 2 # 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/ |
D | CMakeLists.txt | 2 # Pass the target library name library type and the list of httpd content
|