MCPcopy Create free account

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

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

↓ 1 callersFunctionget_mac_address
Returns a stable MAC address based on the device identity.
src/ariel-os-stm32/src/ethernet.rs:39
↓ 1 callersMethodget_next
(&self)
src/ariel-os-runqueue/src/runqueue.rs:123
↓ 1 callersMethodget_next_filter
Returns the next thread from the runqueue that fulfills the predicate.
src/ariel-os-runqueue/src/runqueue.rs:141
↓ 1 callersMethodget_priority
Returns the priority of a thread.
src/ariel-os-threads/src/lib.rs:316
↓ 1 callersFunctionget_random_addr
Generates a random address.
src/ariel-os-embassy/src/ble.rs:42
↓ 1 callersFunctionget_spi_read_command
(addr: u8)
tests/spi-main/src/main.rs:81
↓ 1 callersFunctionget_uart_driver
(peripherals: &mut crate::hal::OptionalPeripherals)
src/ariel-os-embassy/src/debug_uart.rs:63
↓ 1 callersMethodget_unused
Returns an unused [`ThreadId`] / Thread slot.
src/ariel-os-threads/src/lib.rs:250
↓ 1 callersFunctionh_accuracy
(humi: i32)
src/sensors/ariel-os-sensor-aht20/src/lib.rs:93
↓ 1 callersMethodhandle_alarm
(&mut self, now: u64)
src/ariel-os-esp/src/time_driver.rs:111
↓ 1 callersMethodhandle_gnss_stream
( &'static self, mut gnss_stream: GnssStream, configuration: &Config, )
src/sensors/ariel-os-sensor-nrf91-gnss/src/lib.rs:152
↓ 1 callersFunctioni32_from_i24_be_bytes
(bytes: [u8; 3])
src/sensors/ariel-os-sensor-lps22df/src/lib.rs:62
↓ 1 callersMethodinfo
(&self)
src/ariel-os-hal/src/hal/dummy/usb.rs:54
↓ 1 callersMethodinit
Initializes the driver.
src/sensors/ariel-os-sensor-aht20/src/i2c.rs:60
↓ 1 callersMethodinit
Initializes the driver.
src/sensors/ariel-os-sensor-stts22h/src/i2c.rs:74
↓ 1 callersFunctioninit_
(p: &mut OptionalPeripherals)
src/ariel-os-storage/src/lib.rs:67
↓ 1 callersFunctioninit_embedded_alloc
()
src/ariel-os-alloc/src/lib.rs:46
↓ 1 callersFunctioninit_esp_alloc
()
src/ariel-os-alloc/src/lib.rs:80
↓ 1 callersFunctioninit_none
()
src/ariel-os-alloc/src/lib.rs:121
↓ 1 callersMethodinsert_raw
Inserts a [`Value`] into this [`Storage`] instance. # Panics Currently panics if `key.len() > MAX_KEY_LEN`.
src/ariel-os-storage/src/storage.rs:66
↓ 1 callersFunctioninterface_eui48
Generates an EUI-48 identifier ("6-byte MAC address") based on the device identity. The argument `if_index` allows the system to generate addresses f
src/ariel-os-identity/src/lib.rs:72
↓ 1 callersMethodinto_arg
(self)
src/ariel-os-threads/src/lib.rs:611
↓ 1 callersMethodinto_inner
Turns this [`PostcardValue`] into the wrapped object.
src/ariel-os-storage/src/postcard_value.rs:20
↓ 1 callersMethodinto_pins
(self)
examples/thermometer/src/pins.rs:49
↓ 1 callersMethodis_affine_to_curr_core
(&self, tid: ThreadId)
src/ariel-os-threads/src/lib.rs:505
↓ 1 callersMethodis_important
(&self)
src/lib/coapcore/src/seccfg.rs:628
↓ 1 callersFunctionis_unspec_ip
Is the IP address in this type the unspecified address? FIXME: What of `::ffff:0.0.0.0`? Is that expected to bind to all v4 addresses?
src/ariel-os-coap/src/udp_nal/util.rs:31
↓ 1 callersFunctionisr_stack_core1_get_limits
Returns the isr stack limits for the second core as `(lowest, highest)`.
src/ariel-os-threads/src/smp/mod.rs:22
↓ 1 callersFunctionisr_stack_core1_set_limits
(stack: &StackType)
src/ariel-os-threads/src/smp/mod.rs:11
↓ 1 callersMethoditer
( &self, )
src/ariel-os-sensors/src/sensor/reading_channels.rs:135
↓ 1 callersMethodkind
(&self)
src/sensors/ariel-os-sensor-aht20/src/i2c.rs:327
↓ 1 callersMethodlend
Lends an object. This blocks until [`Delegate::with()`] is called on the instance. # Safety This must only be called *once* per [`Delegate`] instan
src/ariel-os-embassy/src/delegate.rs:76
↓ 1 callersMethodlimits
Returns (lowest, highest) of this stack.
src/ariel-os-threads/src/smp/mod.rs:52
↓ 1 callersFunctionlimits_core1
()
src/ariel-os-rt/src/lib.rs:121
↓ 1 callersMethodlowest_running_prio
(&self, _tid: ThreadId)
src/ariel-os-threads/src/lib.rs:481
↓ 1 callersFunctionmain
()
tests/coap/fauxhoc.py:150
↓ 1 callersFunctionmain
()
examples/coap-client/server.py:27
↓ 1 callersMethodmask
(&self)
src/ariel-os-coap/build.rs:43
↓ 1 callersMethodmeasure
Triggers a measurement and asynchronously returns the readings when available. # Errors Returns `ReadingError::SensorAccess` in case of a communicat
src/sensors/ariel-os-sensor-lis2du12/src/i2c.rs:148
↓ 1 callersMethodmeasure
Trigger a measurement and process the results. # Errors - When the I2C connection fails. - When the received CRC is incorrect.
src/sensors/ariel-os-sensor-aht20/src/i2c.rs:161
↓ 1 callersMethodmeasure
Triggers a measurement and asynchronously returns the readings when available. # Errors Returns `ReadingError::SensorAccess` in case of a communicat
src/sensors/ariel-os-sensor-stts22h/src/i2c.rs:139
↓ 1 callersMethodmeasure
Triggers a measurement and asynchronously returns the readings when available. # Errors Returns `ReadingError::SensorAccess` in case of a communicat
src/sensors/ariel-os-sensor-lps22df/src/i2c.rs:144
↓ 1 callersFunctionmodem_task
(runner: Runner<'static>)
src/ariel-os-nrf/src/ltem.rs:46
↓ 1 callersFunctionmpsl_task
(mpsl: &'static MultiprotocolServiceLayer<'static>)
src/ariel-os-nrf/src/ble.rs:255
↓ 1 callersFunctionnet_task
(mut runner: Runner<'static, NetworkDevice>)
src/ariel-os-embassy/src/net.rs:80
↓ 1 callersFunctionnew_dummy
()
src/ariel-os-embassy/src/net.rs:106
↓ 1 callersFunctionnew_int_enabled
( _pin: impl IntoPeripheral<'a, T>, _pull: ariel_os_embassy_common::gpio::Pull, _schmi
src/ariel-os-hal/src/hal/dummy/gpio.rs:98
↓ 1 callersMethodnext
(self)
src/ariel-os-stm32/src/i2c/controller/mod.rs:63
↓ 1 callersFunctionnext_smaller_power_of_two
(val: u8)
src/lib/rbi/src/lib.rs:22
↓ 1 callersMethodnosec_authorization
(&self)
src/ariel-os-coap/src/stored.rs:64
↓ 1 callersMethodnotify
(&self)
src/ariel-os-esp/src/semaphore.rs:329
↓ 1 callersMethodnotify_from_isr
(&self, _higher_prio_task_waken: Option<&mut bool>)
src/ariel-os-esp/src/semaphore.rs:334
↓ 1 callersMethodnow
(&mut self)
src/lib/coapcore/src/time.rs:33
↓ 1 callersFunctionnrf_modem_info
()
examples/device-metadata/src/main.rs:29
↓ 1 callersMethodown_edhoc_credential
(&self)
src/lib/coapcore/src/seccfg.rs:353
↓ 1 callersMethodparse
Parses macro attributes. # Errors Returns an error when an unsupported parameter is found.
src/ariel-os-macros/src/config.rs:109
↓ 1 callersMethodparse
Parse macro attributes. # Errors Returns an error when an unsupported parameter is found.
src/ariel-os-macros/src/thread.rs:151
↓ 1 callersMethodparse
(&mut self, attr: &syn::meta::ParseNestedMeta<'_>)
src/ariel-os-macros/src/task.rs:142
↓ 1 callersMethodparse
(&mut self, attr: &syn::meta::ParseNestedMeta<'_>)
src/ariel-os-macros/src/spawner.rs:117
↓ 1 callersMethodpeek_next
(&self, curr: u8)
src/ariel-os-runqueue/src/runqueue.rs:363
↓ 1 callersFunctionperipheral_cfg_from_metapac
Enable peripheral `cfg` flags, data taken from `stm32-metapac`. Similar to https://github.com/embassy-rs/embassy/blob/ef32187ed7349f3883d997b6f1590e11
src/ariel-os-stm32/build.rs:33
↓ 1 callersFunctionpin
()
src/ariel-os-embassy/src/cellular_networking.rs:116
↓ 1 callersMethodpoll_wait
(&self, cx: &mut Context<'_>)
src/ariel-os-sensors/src/signal.rs:75
↓ 1 callersMethodpop_next
Pop the thread that should run next. Pops the next runnable thread of the runqueue with the highest index.
src/ariel-os-runqueue/src/runqueue.rs:156
↓ 1 callersFunctionpressure_accuracy
(_pressure: i32)
src/sensors/ariel-os-sensor-lps22df/src/lib.rs:42
↓ 1 callersFunctionprint_gnss_time
(sensor: &dyn Sensor, samples: &ariel_os_sensors::sensor::Samples)
examples/sensors-debug/src/main.rs:178
↓ 1 callersFunctionprint_panic
(info: &core::panic::PanicInfo<'_>)
src/ariel-os-log/src/lib.rs:47
↓ 1 callersFunctionprint_sample
(sensor: &dyn Sensor, sample: Sample, reading_channel: ReadingChannel)
examples/sensors-debug/src/main.rs:65
↓ 1 callersFunctionprint_temp_to_lcd
(lcd: &mut Lcd, sample: Sample, reading_channel: ReadingChannel)
examples/thermometer/src/main.rs:68
↓ 1 callersFunctionprocess_acecbor_authz_info
Given an application/ace+cbor payload as is posted to an /authz-info endpoint, decrypt all that's needed for the ACE-OSCORE profile. This needs to be
src/lib/coapcore/src/ace.rs:435
↓ 1 callersMethodprocess_edhoc_in_payload
Processes an EDHOC message 3 at the beginning of a payload, and returns the number of bytes that were in the message. # Errors This produces errors
src/lib/coapcore/src/seccontext.rs:592
↓ 1 callersFunctionprocess_edhoc_token
( ead3: &[u8], authorities: &impl crate::seccfg::ServerSecurityConfig<GeneralClaims = GeneralClaims>,
src/lib/coapcore/src/ace.rs:520
↓ 1 callersFunctionreboot
Reboots the MCU. This function initiates a software reset of the microcontroller and never returns.
src/ariel-os-power/src/reset.rs:4
↓ 1 callersMethodrelease
Releases the mutex. If there are waiters, the first waiter will be woken up.
src/ariel-os-threads/src/sync/mutex.rs:149
↓ 1 callersMethodremove
Deletes an item from flash. Additional calls to [`Storage::get()`] with the same key will return `None` until a new one is stored again. <div class=
src/ariel-os-storage/src/storage.rs:150
↓ 1 callersMethodremove_inner
(&mut self, scheduler: &mut Scheduler, thread_id: ThreadId)
src/ariel-os-threads/src/threadlist.rs:71
↓ 1 callersFunctionrender_error
(e: lakers::EDHOCError)
src/lib/coapcore/src/seccontext.rs:963
↓ 1 callersMethodrepaint
Repaints the stack. # Panics Only panics if its internal sanity check fails, which would point to a bug.
src/ariel-os-rt/src/stack.rs:169
↓ 1 callersMethodrun
(self)
scripts/editor-config.rs:47
↓ 1 callersMethodrun
(self, matrix: &schema::Matrix)
doc/gen_book.rs:61
↓ 1 callersFunctionrun_client_operations
In parallel to server operation, this function performs some operations as a client. This doubles as an experimentation ground for the client side of
tests/coap/src/main.rs:41
↓ 1 callersMethodschedule
Triggers software interrupt for the context switch.
src/ariel-os-threads/src/arch/riscv.rs:77
↓ 1 callersMethodschmitt_trigger
(self, enable: bool)
src/ariel-os-hal/src/gpio.rs:244
↓ 1 callersMethodsend
( &mut self, local: SocketAddr, remote: SocketAddr, buf: &[u8], )
src/ariel-os-coap/src/udp_nal/mod.rs:134
↓ 1 callersFunctionsend_http_get_request
( client: &mut HttpClient<'_, TcpClient<'_, MAX_CONCURRENT_CONNECTIONS>, DnsSocket<'_>>, url: &str, )
examples/http-client/src/main.rs:72
↓ 1 callersFunctionset_spawner
(spawner: SendSpawner)
src/ariel-os-embassy/src/asynch.rs:35
↓ 1 callersFunctionsetup_idle_threads
()
src/ariel-os-threads/src/lib.rs:573
↓ 1 callersFunctionsleep
Put the current thread to sleep for the given duration.
src/ariel-os-threads/src/timeout.rs:207
↓ 1 callersFunctionsp
Returns the current stack pointer register value
src/ariel-os-rt/src/xtensa.rs:23
↓ 1 callersFunctionspawner
(args: TokenStream, item: TokenStream)
src/ariel-os-macros/src/spawner.rs:34
↓ 1 callersFunctionstack
Returns a `Stack` handle for the currently active thread.
src/ariel-os-rt/src/riscv.rs:32
↓ 1 callersFunctionstart
# Safety The caller must ensure that this function is only called once.
src/ariel-os-rt/src/threading.rs:8
↓ 1 callersFunctionstatus_to_config
(status: &Status)
src/ariel-os-nrf/src/ltem.rs:140
↓ 1 callersFunctiont_accuracy
(temp: i32)
src/sensors/ariel-os-sensor-aht20/src/lib.rs:61
↓ 1 callersFunctiontake_pins
# Panics Panics if at least one of these pins is already taken: - `PIN_23` - `PIN_24` - `PIN_25` - `PIN_29` - `PIO0` - `DMA_CH0`
src/ariel-os-rp/src/cyw43/rpi_pico_w.rs:37
↓ 1 callersFunctiontask
(args: TokenStream, item: TokenStream)
src/ariel-os-macros/src/task.rs:38
↓ 1 callersFunctiontemp_accuracy
(_temp: i32)
src/sensors/ariel-os-sensor-lps22df/src/lib.rs:53
↓ 1 callersMethodtime_of_fix_subsec_nanos
(&self)
src/ariel-os-sensors-gnss-time-ext/src/lib.rs:122
↓ 1 callersMethodtime_of_fix_timestamp
(&self)
src/ariel-os-sensors-gnss-time-ext/src/lib.rs:115
↓ 1 callersMethodtime_of_fix_timestamp_nanos
Returns the time of the last fix in nanoseconds since the UNIX epoch. # Errors Returns errors if the reading is not compatible with this extension o
src/ariel-os-sensors-gnss-time-ext/src/lib.rs:99
← previousnext →301–400 of 1,194, ranked by callers