/hal_rpi_pico-latest/src/rp2_common/pico_async_context/ |
D | async_context_threadsafe_background.c | 17 static void process_under_lock(async_context_threadsafe_background_t *self); 45 … async_context_threadsafe_background_t *self = (async_context_threadsafe_background_t *)self_base; in async_context_threadsafe_background_wake_up() local 49 irq_set_pending(self->low_priority_irq_num); in async_context_threadsafe_background_wake_up() 55 alarm_id_t force_alarm_id = self->force_alarm_id; in async_context_threadsafe_background_wake_up() 57 alarm_pool_cancel_alarm(self->alarm_pool, force_alarm_id); in async_context_threadsafe_background_wake_up() 63 …self->force_alarm_id = alarm_pool_add_alarm_at_force_in_context(self->alarm_pool, from_us_since_bo… in async_context_threadsafe_background_wake_up() 64 alarm_handler, self); in async_context_threadsafe_background_wake_up() 68 irq_set_pending(self->low_priority_irq_num); in async_context_threadsafe_background_wake_up() 70 sem_release(&self->work_needed_sem); in async_context_threadsafe_background_wake_up() 76 static inline void lock_acquire(async_context_threadsafe_background_t *self) { in lock_acquire() argument [all …]
|
D | async_context_freertos.c | 42 static void process_under_lock(async_context_freertos_t *self) { in process_under_lock() argument 44 async_context_freertos_lock_check(&self->core); in process_under_lock() 49 absolute_time_t next_time = async_context_base_execute_once(&self->core); in process_under_lock() 59 repeat = pdFALSE == xTimerChangePeriod(self->timer_handle, ticks, ticks); in process_under_lock() 67 async_context_freertos_t *self = (async_context_freertos_t *)vself; in async_context_task() local 70 if (self->task_should_exit) break; in async_context_task() 71 async_context_freertos_acquire_lock_blocking(&self->core); in async_context_task() 72 process_under_lock(self); in async_context_task() 73 async_context_freertos_release_lock(&self->core); in async_context_task() 75 } while (!self->task_should_exit); in async_context_task() [all …]
|
D | async_context_base.c | 9 bool async_context_base_add_at_time_worker(async_context_t *self, async_at_time_worker_t *worker) { in async_context_base_add_at_time_worker() argument 10 async_at_time_worker_t **prev = &self->at_time_list; in async_context_base_add_at_time_worker() 22 bool async_context_base_remove_at_time_worker(async_context_t *self, async_at_time_worker_t *worker… in async_context_base_remove_at_time_worker() argument 23 async_at_time_worker_t **prev = &self->at_time_list; in async_context_base_remove_at_time_worker() 34 bool async_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t … in async_context_base_add_when_pending_worker() argument 35 async_when_pending_worker_t **prev = &self->when_pending_list; in async_context_base_add_when_pending_worker() 47 bool async_context_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker… in async_context_base_remove_when_pending_worker() argument 48 async_when_pending_worker_t **prev = &self->when_pending_list; in async_context_base_remove_when_pending_worker() 59 async_at_time_worker_t *async_context_base_remove_ready_at_time_worker(async_context_t *self) { in async_context_base_remove_ready_at_time_worker() argument 61 if (self->at_time_list) { in async_context_base_remove_ready_at_time_worker() [all …]
|
D | async_context_poll.c | 16 bool async_context_poll_init_with_defaults(async_context_poll_t *self) { in async_context_poll_init_with_defaults() argument 17 memset(self, 0, sizeof(*self)); in async_context_poll_init_with_defaults() 18 self->core.core_num = get_core_num(); in async_context_poll_init_with_defaults() 19 self->core.type = &template; in async_context_poll_init_with_defaults() 20 self->core.flags = ASYNC_CONTEXT_FLAG_POLLED | ASYNC_CONTEXT_FLAG_CALLBACK_FROM_NON_IRQ; in async_context_poll_init_with_defaults() 21 sem_init(&self->sem, 1, 1); in async_context_poll_init_with_defaults() 44 async_context_poll_t *self = (async_context_poll_t *)self_base; in async_context_poll_wait_for_work_until() local 45 sem_acquire_block_until(&self->sem, absolute_time_min(next_time, until)); in async_context_poll_wait_for_work_until()
|
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/include/pico/ |
D | async_context_base.h | 17 bool async_context_base_add_at_time_worker(async_context_t *self, async_at_time_worker_t *worker); 18 bool async_context_base_remove_at_time_worker(async_context_t *self, async_at_time_worker_t *worker… 20 bool async_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t … 21 bool async_context_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker… 23 async_at_time_worker_t *async_context_base_remove_ready_at_time_worker(async_context_t *self); 24 void async_context_base_refresh_next_timeout(async_context_t *self); 26 absolute_time_t async_context_base_execute_once(async_context_t *self); 27 bool async_context_base_needs_servicing(async_context_t *self);
|
D | async_context.h | 158 void (*acquire_lock_blocking)(async_context_t *self); 159 void (*release_lock)(async_context_t *self); 160 void (*lock_check)(async_context_t *self); 162 bool (*add_at_time_worker)(async_context_t *self, async_at_time_worker_t *worker); 163 bool (*remove_at_time_worker)(async_context_t *self, async_at_time_worker_t *worker); 164 bool (*add_when_pending_worker)(async_context_t *self, async_when_pending_worker_t *worker); 165 bool (*remove_when_pending_worker)(async_context_t *self, async_when_pending_worker_t *worker); 166 void (*set_work_pending)(async_context_t *self, async_when_pending_worker_t *worker); 167 void (*poll)(async_context_t *self); // may be NULL 168 void (*wait_until)(async_context_t *self, absolute_time_t until); [all …]
|
D | async_context_threadsafe_background.h | 82 bool async_context_threadsafe_background_init(async_context_threadsafe_background_t *self, async_co… 103 …ync_context_threadsafe_background_init_with_defaults(async_context_threadsafe_background_t *self) { in async_context_threadsafe_background_init_with_defaults() argument 105 return async_context_threadsafe_background_init(self, &config); in async_context_threadsafe_background_init_with_defaults()
|
D | async_context_freertos.h | 89 bool async_context_freertos_init(async_context_freertos_t *self, async_context_freertos_config_t *c… 120 static inline bool async_context_freertos_init_with_defaults(async_context_freertos_t *self) { in async_context_freertos_init_with_defaults() argument 122 return async_context_freertos_init(self, &config); in async_context_freertos_init_with_defaults()
|
D | async_context_poll.h | 43 bool async_context_poll_init_with_defaults(async_context_poll_t *self);
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/ |
D | cyw43_bus_pio_spi.c | 106 int cyw43_spi_init(cyw43_int_t *self) { in cyw43_spi_init() argument 110 assert(!self->bus_data); in cyw43_spi_init() 111 self->bus_data = &bus_data_instance; in cyw43_spi_init() 112 bus_data_t *bus_data = (bus_data_t *)self->bus_data; in cyw43_spi_init() 120 cyw43_spi_deinit(self); in cyw43_spi_init() 156 cyw43_spi_deinit(self); in cyw43_spi_init() 162 void cyw43_spi_deinit(cyw43_int_t *self) { in cyw43_spi_deinit() argument 163 if (self->bus_data) { in cyw43_spi_deinit() 164 bus_data_t *bus_data = (bus_data_t *)self->bus_data; in cyw43_spi_deinit() 179 self->bus_data = NULL; in cyw43_spi_deinit() [all …]
|
D | cyw43_driver.c | 187 void __attribute__((weak)) cyw43_cb_tcpip_init(cyw43_t *self, int itf) { in cyw43_cb_tcpip_init() argument 189 void __attribute__((weak)) cyw43_cb_tcpip_deinit(cyw43_t *self, int itf) { in cyw43_cb_tcpip_deinit() argument 191 void __attribute__((weak)) cyw43_cb_tcpip_set_link_up(cyw43_t *self, int itf) { in cyw43_cb_tcpip_set_link_up() argument 194 void __attribute__((weak)) cyw43_cb_tcpip_set_link_down(cyw43_t *self, int itf) { in cyw43_cb_tcpip_set_link_down() argument
|
/hal_rpi_pico-latest/tools/ |
D | compare_build_systems.py | 169 def matches(self, other): argument 170 matches = (self.name == other.name) and (self.attrs == other.attrs) 171 if not self.name in BUILD_SYSTEM_DESCRIPTION_DIFFERENCE_ALLOWLIST: 172 matches = matches and (self.description == other.description)
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/ |
D | cybt_shared_bus.c | 112 int cyw43_btbus_init(cyw43_ll_t *self) { in cyw43_btbus_init() argument 118 cybt_sharedbus_driver_init(self); in cyw43_btbus_init()
|
/hal_rpi_pico-latest/bazel/ |
D | README.md | 68 You'll need Bazel (v7.0.0 or higher) or Bazelisk (a self-updating Bazel
|