MCPcopy Create free account

hub / github.com/ariel-os/ariel-os / functions

Functions1,194 in github.com/ariel-os/ariel-os

↓ 5 callersMethodupdate
Given a state and an option, produce the next state and whether the option should be counted as consumed for the purpose of assessing .well-known/edch
src/lib/coapcore/src/seccontext.rs:1082
↓ 5 callersFunctionwaiter
()
examples/threading-event/src/main.rs:9
↓ 4 callersMethodacquire
Get this lock (blocking). If the lock was unlocked, it will be locked and the function returns. If the lock was locked, this function will block the
src/ariel-os-threads/src/sync/lock.rs:64
↓ 4 callersFunctionadd_custom_filters
(env: &mut Environment)
doc/gen_book.rs:964
↓ 4 callersFunctionariel_os_crate_or_internal
Returns a [`struct@syn::Ident`] identifying the `ariel-os` dependency, or an (internal) fallback crate that provides the same relevant items. # Panic
src/ariel-os-macros/src/utils.rs:24
↓ 4 callersMethodbytes
(&self)
src/ariel-os-nrf/src/identity.rs:21
↓ 4 callersFunctionconfig
()
src/ariel-os-embassy/src/ble.rs:24
↓ 4 callersMethodcorresponding_cown
(&self)
src/lib/coapcore/src/seccontext.rs:146
↓ 4 callersFunctiondevice
# Panics Panics if we fail to launch the cyw43 runner task.
src/ariel-os-rp/src/cyw43.rs:62
↓ 4 callersFunctionffs
(val: usize)
src/ariel-os-runqueue/src/runqueue.rs:206
↓ 4 callersFunctionfind_crate
Returns a [`struct@syn::Ident`] identifying the `name` dependency (or `None`). # Panics - Panics if `name` is used as a dependency of itself.
src/ariel-os-macros/src/utils.rs:42
↓ 4 callersMethodinterface_eui48
Generates an EUI-48 identifier ("6-byte MAC address") based on the device identity. See `ariel_os::identity::interface_eu48` for details.
src/ariel-os-embassy-common/src/identity.rs:88
↓ 4 callersMethodis_set
Returns whether the [`Event`] is set.
src/ariel-os-threads/src/sync/event.rs:55
↓ 4 callersMethodis_valid_tid
Checks if a thread with valid state exists for this `thread_id`.
src/ariel-os-threads/src/lib.rs:260
↓ 4 callersMethodmust_spawn
(&self, _token: SpawnToken<S>)
src/ariel-os-hal/src/hal/dummy/executor.rs:37
↓ 4 callersMethodnotify_one
Notify one waiter.
src/ariel-os-threads/src/sync/wait_queue.rs:114
↓ 4 callersMethodrelease
Releases the lock. If the lock was locked, and there were waiters, the first waiter will be woken up. If the lock was locked and there were no waiter
src/ariel-os-threads/src/sync/lock.rs:99
↓ 4 callersFunctionreport_usage
(label: &str)
tests/stack-painting/src/main.rs:28
↓ 4 callersFunctionschedule_on_core
Triggers the scheduler on core `id`.
src/ariel-os-threads/src/smp/mod.rs:96
↓ 4 callersMethodsend
Send on the channel (blocking). If there is no receiver waiting yet, the current thread is suspended until a receiver is ready. # Panics Panics if
src/ariel-os-threads/src/sync/channel.rs:49
↓ 4 callersFunctionsettings_from_env
()
scripts/editor-config.rs:367
↓ 4 callersFunctionsp
Returns the current `SP` register value.
src/ariel-os-rt/src/riscv.rs:18
↓ 4 callersFunctionstartup
()
src/ariel-os-rt/src/lib.rs:158
↓ 4 callersFunctionwait_any
Waits until any flag in `mask` is set for the current thread. Returns all set flags for this mask and clears them for the thread. # Panics Panics i
src/ariel-os-threads/src/thread_flags.rs:51
↓ 3 callersMethodadd_current_thread_to_rq
(&mut self)
src/ariel-os-threads/src/lib.rs:422
↓ 3 callersMethodas_name
(self)
src/ariel-os-macros/src/config.rs:156
↓ 3 callersFunctionbenchmark
(iterations: usize, mut f: F)
src/ariel-os-bench/src/esp.rs:6
↓ 3 callersFunctionconvert_gnss_config
(config: &Config)
src/sensors/ariel-os-sensor-nrf91-gnss/src/config.rs:34
↓ 3 callersFunctioncreate_raw
( func: fn(), arg: Option<usize>, stack: &'static mut [u8], prio: u8, core_affinity: Optio
src/ariel-os-threads/src/lib.rs:682
↓ 3 callersFunctioncurrent_stack_limits
Returns the current thread's stack limits (lowest, highest).
src/ariel-os-threads/src/lib.rs:826
↓ 3 callersFunctiondriver
(peripherals: Peripherals)
src/ariel-os-esp/src/usb/mod.rs:24
↓ 3 callersMethodflush
(&self)
src/ariel-os-log/src/log_logger.rs:78
↓ 3 callersMethodforce_insert
Inserts an element without regard for its level. The element is inserted unconditionally, and the least priority element is returned by value.
src/lib/coapcore/src/oluru.rs:220
↓ 3 callersFunctiongen_board_functionalities
(matrix: &schema::Matrix)
doc/gen_book.rs:680
↓ 3 callersFunctiongenerate_aai_mac_address
( truncated_board_hash: [u8; 6], device_id_bytes: impl AsRef<[u8]>, if_index: u32, )
src/ariel-os-embassy-common/src/identity.rs:132
↓ 3 callersFunctionget_ble_host_resources
Initializes the BLE host resources. Call this function to get the `HostResources` instance that can be used to initialize the trouBLE stack.
src/ariel-os-embassy-common/src/ble.rs:25
↓ 3 callersMethodget_mut_async
Gets the contents of this [`SameExecutorCell`] exclusively from an exclusive reference. Despite being async, this function never blocks/yields, it re
src/ariel-os-embassy-common/src/cell.rs:83
↓ 3 callersMethodget_next_tid
(&mut self)
src/ariel-os-threads/src/lib.rs:445
↓ 3 callersMethodget_next_with_rq
(&self)
src/ariel-os-runqueue/src/runqueue.rs:129
↓ 3 callersFunctionget_priority
Returns the priority of a thread. Returns `None` if this is not a valid thread.
src/ariel-os-threads/src/lib.rs:814
↓ 3 callersFunctioninit_task
(mut peripherals: hal::OptionalPeripherals)
src/ariel-os-embassy/src/lib.rs:201
↓ 3 callersMethodinput_path
(&self)
doc/gen_book.rs:37
↓ 3 callersMethodinto_hal_peripheral
(self)
src/ariel-os-hal/src/hal/dummy/peripheral.rs:36
↓ 3 callersMethodis_empty
Checks if a runqueue is empty.
src/ariel-os-runqueue/src/runqueue.rs:181
↓ 3 callersFunctionis_in_current_contexts
Returns whether any of the current `cfg` contexts is one of the given contexts.
src/ariel-os-rp/build.rs:31
↓ 3 callersMethoditer_from
( &self, start: ThreadId, rq: RunqueueId, )
src/ariel-os-runqueue/src/runqueue.rs:190
↓ 3 callersMethoditer_mut
(&mut self)
examples/usb-keyboard/src/main.rs:123
↓ 3 callersMethodkhz
(self)
src/ariel-os-hal/src/hal/dummy/i2c/controller.rs:62
↓ 3 callersMethodkhz
(self)
src/ariel-os-esp/src/i2c/controller/mod.rs:69
↓ 3 callersMethodlabel
(&self)
src/ariel-os-sensors-gnss-time-ext/src/lib.rs:280
↓ 3 callersMethodlabel
(&self)
src/ariel-os-sensors/src/sensor.rs:298
↓ 3 callersMethodlookup
Iterate over items from highest priority to lowest, most recently used first. If the function `f_test` (which receives a shared reference to the entr
src/lib/coapcore/src/oluru.rs:153
↓ 3 callersMethodnosec_authorization
(&self)
src/lib/coapcore/src/seccfg.rs:187
↓ 3 callersMethodrecv
Receive on the channel (blocking). If there is no sender waiting yet, the current thread is suspended until a sender is ready. # Panics Panics if t
src/ariel-os-threads/src/sync/channel.rs:125
↓ 3 callersMethodschedule_if_higher_prio
Triggers the scheduler if the thread has a higher priority than (one of) the running thread(s).
src/ariel-os-threads/src/lib.rs:384
↓ 3 callersMethodsensors
(&self)
src/ariel-os-sensors-registry/src/lib.rs:42
↓ 3 callersFunctionset_deadline
Sets up the deadline timer. Returns true if the deadline was in the future. # Panics - panics when not called from a thread
src/ariel-os-threads/src/timeout.rs:66
↓ 3 callersFunctionset_priority
Changes the priority of a thread. This might trigger a context switch.
src/ariel-os-threads/src/lib.rs:821
↓ 3 callersMethodstack_paint_init
(&mut self, sp: usize)
src/ariel-os-threads/src/thread.rs:86
↓ 3 callersMethodstart
(&self, _: crate::hal::SWI)
src/ariel-os-hal/src/hal/dummy/executor.rs:17
↓ 3 callersFunctiontask_priority
(task: ThreadPtr)
src/ariel-os-esp/src/semaphore.rs:37
↓ 3 callersFunctiontest_with_size
(size: u8, n: usize)
src/lib/rbi/src/lib.rs:148
↓ 3 callersMethodto_microg_from_lsb
(self, lsb: i16)
src/sensors/ariel-os-sensor-lis2du12/src/lib.rs:38
↓ 3 callersMethodtoggle
Toggles the output level.
src/ariel-os-hal/src/gpio.rs:371
↓ 3 callersMethodtry_lock
Attempts to acquire this lock, in a non-blocking fashion. If the mutex was unlocked, it will be locked and a [`MutexGuard`] is returned. If the mutex
src/ariel-os-threads/src/sync/mutex.rs:133
↓ 3 callersMethodtry_send
Try to send on the channel (non-blocking). Returns `true` if a receiver was waiting and received the data, `false` otherwise.
src/ariel-os-threads/src/sync/channel.rs:92
↓ 3 callersMethodwait_cs
(&self, cs: CriticalSection<'_>)
src/ariel-os-threads/src/sync/wait_queue.rs:39
↓ 2 callersMethodarm_next_wakeup
Set the next timer wakeup. # Panics - panics if the underlying timer's `schedule()` fails with an unexpected error
src/ariel-os-esp/src/time_driver.rs:54
↓ 2 callersFunctionble_stack
Returns the system ble stack. # Panics - panics if the stack was already taken - panics when not called from the main executor
src/ariel-os-rp/src/ble.rs:27
↓ 2 callersFunctioncalculate_crc
Calculate the CRC of a 5 byte value. The algorithm is described in section 5.4.4 The important information are: - the polynomial: X^8 + X^5 + X^4 + 1,
src/sensors/ariel-os-sensor-aht20/src/lib.rs:121
↓ 2 callersFunctioncan_contain
( _: &heapless_for_nrfmodem::Vec<TContained, N_CONTAINED>, )
src/ariel-os-nrf/src/ltem.rs:126
↓ 2 callersMethodcategories
(&self)
src/sensors/ariel-os-sensor-aht20/src/i2c.rs:282
↓ 2 callersFunctioncfg_only_once
(seen: &mut HashSet<String>, cfg: &str)
src/ariel-os-stm32/build.rs:35
↓ 2 callersFunctionclear_deadline
Clears the current thread's deadline timer. Returns true if the deadline had not been reached yet. # Panics - panics when not called from a thread
src/ariel-os-threads/src/timeout.rs:90
↓ 2 callersFunctioncoap_client
Returns a CoAP client requester. This asynchronously blocks until [`coap_run()`] has been called (which happens at startup when the corresponding fea
src/ariel-os-coap/src/lib.rs:182
↓ 2 callersFunctioncoap_run_impl
Workhorse of [`coap_run`], see there for details. This is a separate function because if that function is not exposed publicly (i.e. when the laze fe
src/ariel-os-coap/src/lib.rs:121
↓ 2 callersFunctionconstruct_rng
(_peripherals: &mut crate::OptionalPeripherals)
src/ariel-os-esp/src/lib.rs:32
↓ 2 callersFunctioncontext_any
Returns the first of the given contexts that is in the current `cfg` contexts.
src/ariel-os-rt/build.rs:132
↓ 2 callersMethodconvert_to_samples
( &'static self, data: &nrf_modem::nrfxlib_sys::nrf_modem_gnss_pvt_data_frame, )
src/sensors/ariel-os-sensor-nrf91-gnss/src/lib.rs:262
↓ 2 callersMethodcown_but_not
Produces a [`COwn`] (as a recipient identifier) that is both available and not equal to the peer's recipient identifier.
src/lib/coapcore/src/seccontext.rs:238
↓ 2 callersMethoddecrypt_symmetric_token
( &self, headers: &HeaderMap<'_>, aad: &[u8], ciphertext_buffer: &'buf mut [u8
src/lib/coapcore/src/seccfg.rs:221
↓ 2 callersFunctiondevice_id_bytes
Obtains a unique identifier of the device in its byte serialized form. See module level documentation for that identifier's properties. # Errors Th
src/ariel-os-identity/src/lib.rs:44
↓ 2 callersFunctiondisable
()
src/ariel-os-nrf/src/ltem.rs:34
↓ 2 callersMethoddisplay_name
(&self)
src/sensors/ariel-os-sensor-aht20/src/i2c.rs:301
↓ 2 callersFunctiondo_something
()
tests/stack-painting/src/main.rs:43
↓ 2 callersFunctionenable
()
src/ariel-os-nrf/src/ltem.rs:41
↓ 2 callersFunctionerase_all
Resets the flash in the entire flash range.
src/ariel-os-storage/src/lib.rs:141
↓ 2 callersMethodextract_oscore_edhoc
( &mut self, request: &M, oscore_option: &OscoreOption, with_edhoc: bool,
src/lib/coapcore/src/seccontext.rs:428
↓ 2 callersFunctionfast_rng
()
src/ariel-os-random/src/lib.rs:279
↓ 2 callersMethodfill_bytes
(&mut self, dest: &mut [u8])
src/ariel-os-native/src/hwrng.rs:17
↓ 2 callersMethodflag_set
thread flags implementation
src/ariel-os-threads/src/thread_flags.rs:101
↓ 2 callersMethodget
Gets the last stored value from the flash that is associated with the given key. If no value with the key is found, `None` is returned. # Panics Cu
src/ariel-os-storage/src/storage.rs:105
↓ 2 callersFunctionget_element_after_marker
( iter: impl Iterator<Item = (ReadingChannel, Sample)>, marker: Label, position: usize, )
src/ariel-os-sensors-gnss-time-ext/src/lib.rs:204
↓ 2 callersFunctionget_keyboard_report
(keycode: u8)
examples/usb-keyboard/src/main.rs:95
↓ 2 callersMethodget_mut
Gets the contents of this [`SameExecutorCell`] exclusively from an exclusive reference.
src/ariel-os-embassy-common/src/cell.rs:54
↓ 2 callersMethodget_pos
(&self, pos: usize)
src/lib/ringbuffer/src/lib.rs:70
↓ 2 callersMethodget_state
Returns the state of a thread.
src/ariel-os-threads/src/lib.rs:307
↓ 2 callersFunctioninit
This module is intended to contain the auto-@generated instantiation and registration of sensor drivers.
examples/sensors-debug/src/sensors.rs:4
↓ 2 callersFunctioninit
This module is intended to contain the auto-@generated instantiation and registration of sensor drivers.
examples/thermometer/src/sensors.rs:4
↓ 2 callersMethodinsert
Stores a key-value pair into flash memory. It will overwrite the last value that has the same key.
src/ariel-os-storage/src/storage.rs:87
← previousnext →101–200 of 1,194, ranked by callers