repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/buffered_uart_spam.rs
tests/nrf/src/bin/buffered_uart_spam.rs
// required-features: two-uarts #![no_std] #![no_main] #[path = "../common.rs"] mod common; use core::mem; use core::ptr::NonNull; use defmt::{assert_eq, *}; use embassy_executor::Spawner; use embassy_nrf::buffered_uarte::{self, BufferedUarteRx}; use embassy_nrf::gpio::{Level, Output, OutputDrive}; use embassy_nrf::...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/uart_halves.rs
tests/nrf/src/bin/uart_halves.rs
// required-features: two-uarts #![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert_eq, *}; use embassy_executor::Spawner; use embassy_futures::join::join; use embassy_nrf::uarte::{UarteRx, UarteTx}; use embassy_nrf::{peripherals, uarte}; use {defmt_rtt as _, panic_probe as _}; #[embassy_e...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/timer.rs
tests/nrf/src/bin/timer.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert, info}; use embassy_executor::Spawner; use embassy_time::{Instant, Timer}; use {defmt_rtt as _, panic_probe as _}; #[embassy_executor::main] async fn main(_spawner: Spawner) { let _p = embassy_nrf::init(Default::default()); info!(...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/buffered_uart_full.rs
tests/nrf/src/bin/buffered_uart_full.rs
// required-features: easydma #![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert_eq, *}; use embassy_executor::Spawner; use embassy_nrf::buffered_uarte::{self, BufferedUarte}; use embassy_nrf::{peripherals, uarte}; use embedded_io_async::{Read, Write}; use {defmt_rtt as _, panic_probe as _...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/spim.rs
tests/nrf/src/bin/spim.rs
// required-features: easydma #![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert_eq, *}; use embassy_executor::Spawner; use embassy_nrf::spim::Spim; use embassy_nrf::{peripherals, spim}; use {defmt_rtt as _, panic_probe as _}; #[embassy_executor::main] async fn main(_spawner: Spawner) { ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/uart_split.rs
tests/nrf/src/bin/uart_split.rs
// required-features: easydma #![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert_eq, *}; use embassy_executor::Spawner; use embassy_futures::join::join; use embassy_nrf::uarte::Uarte; use embassy_nrf::{peripherals, uarte}; use embassy_time::Timer; use {defmt_rtt as _, panic_probe as _}; #...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/buffered_uart.rs
tests/nrf/src/bin/buffered_uart.rs
// required-features: easydma #![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{panic, *}; use embassy_executor::Spawner; use embassy_futures::join::join; use embassy_nrf::buffered_uarte::{self, BufferedUarte}; use embassy_nrf::{peripherals, uarte}; use {defmt_rtt as _, panic_probe as _}; #[emb...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/wifi_esp_hosted_perf.rs
tests/nrf/src/bin/wifi_esp_hosted_perf.rs
// required-features: nrf52840 #![no_std] #![no_main] teleprobe_meta::target!(b"nrf52840-dk"); teleprobe_meta::timeout!(120); use defmt::{info, unwrap}; use embassy_executor::Spawner; use embassy_net::{Config, StackResources}; use embassy_nrf::gpio::{Input, Level, Output, OutputDrive, Pull}; use embassy_nrf::rng::Rng;...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/nrf/src/bin/gpio.rs
tests/nrf/src/bin/gpio.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use defmt::{assert, info}; use embassy_executor::Spawner; use embassy_nrf::gpio::{Input, Level, Output, OutputDrive, Pull}; use embassy_time::Timer; #[embassy_executor::main] async fn main(_spawner: Spawner) { let p = embassy_nrf::init(Default::default(...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/riscv32/build.rs
tests/riscv32/build.rs
use std::error::Error; fn main() -> Result<(), Box<dyn Error>> { println!("cargo:rustc-link-arg-bins=-Tmemory.x"); println!("cargo:rustc-link-arg-bins=-Tlink.x"); Ok(()) }
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/riscv32/src/bin/empty.rs
tests/riscv32/src/bin/empty.rs
#![no_std] #![no_main] use embassy_executor::Spawner; #[panic_handler] fn panic(_info: &core::panic::PanicInfo) -> ! { loop {} } #[embassy_executor::main] async fn main(_spawner: Spawner) { // Don't do anything, just make sure it compiles. loop {} }
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/build.rs
tests/stm32/build.rs
use std::error::Error; use std::path::PathBuf; use std::{env, fs}; fn main() -> Result<(), Box<dyn Error>> { let out = PathBuf::from(env::var("OUT_DIR").unwrap()); fs::write(out.join("link_ram.x"), include_bytes!("../link_ram_cortex_m.x")).unwrap(); println!("cargo:rustc-link-search={}", out.display()); ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/common.rs
tests/stm32/src/common.rs
#![macro_use] pub use defmt::*; use embassy_stm32::Config; #[allow(unused)] use embassy_stm32::rcc::*; #[allow(unused)] use embassy_stm32::time::Hertz; use {defmt_rtt as _, panic_probe as _}; #[cfg(feature = "stm32f103c8")] teleprobe_meta::target!(b"bluepill-stm32f103c8"); #[cfg(feature = "stm32g491re")] teleprobe_me...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/can_common.rs
tests/stm32/src/can_common.rs
use defmt::{assert, *}; use embassy_stm32::can; use embassy_time::{Duration, Instant}; #[derive(Clone, Copy, Debug)] pub struct TestOptions { pub max_latency: Duration, pub max_buffered: u8, } pub async fn run_can_tests<'d>(can: &mut can::Can<'d>, options: &TestOptions) { //pub async fn run_can_tests<'d, ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/rtc.rs
tests/stm32/src/bin/rtc.rs
// required-features: chrono #![no_std] #![no_main] #[path = "../common.rs"] mod common; use chrono::{NaiveDate, NaiveDateTime}; use common::*; use defmt::assert; use embassy_executor::Spawner; use embassy_stm32::rcc::LsConfig; #[cfg(feature = "stop")] use embassy_stm32::rtc::Rtc; #[cfg(not(feature = "stop"))] use em...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/dac_l1.rs
tests/stm32/src/bin/dac_l1.rs
#![no_std] #![no_main] // required-features: stm32l152re #[path = "../common.rs"] mod common; use core::f32::consts::PI; use common::*; use defmt::assert; use embassy_executor::Spawner; use embassy_stm32::adc::{Adc, SampleTime}; use embassy_stm32::dac::{DacCh1, Value}; use embassy_stm32::{bind_interrupts, peripheral...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/hsem.rs
tests/stm32/src/bin/hsem.rs
// required-features: hsem #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::bind_interrupts; use embassy_stm32::hsem::{HardwareSemaphore, HardwareSemaphoreInterruptHandler}; use embassy_stm32::peripherals::HSEM; bind_interrupts!(struct Irqs{...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/usart.rs
tests/stm32/src/bin/usart.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::{assert, assert_eq, unreachable}; use embassy_executor::Spawner; use embassy_stm32::mode::Blocking; use embassy_stm32::usart::{Config, ConfigError, Error, Uart}; use embassy_time::{Duration, Instant, block_for}; #[embassy_executor::...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/usart_rx_ringbuffered.rs
tests/stm32/src/bin/usart_rx_ringbuffered.rs
// required-features: not-gpdma #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::{assert_eq, panic}; use embassy_executor::Spawner; use embassy_stm32::mode::Async; use embassy_stm32::usart::{Config, DataBits, Parity, RingBufferedUartRx, StopBits, Uart, UartTx}; use embassy_time::T...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/eth.rs
tests/stm32/src/bin/eth.rs
// required-features: eth #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_net::StackResources; use embassy_stm32::eth::{Ethernet, GenericPhy, PacketQueue, Sma}; use embassy_stm32::peripherals::{ETH, ETH_SMA}; use embassy_stm32::rng::Rng; use embassy...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/usart_dma.rs
tests/stm32/src/bin/usart_dma.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert_eq; use embassy_executor::Spawner; use embassy_futures::join::join; use embassy_stm32::usart::{Config, Error, Uart}; #[embassy_executor::main] async fn main(_spawner: Spawner) { let p = init(); info!("Hello World!"); ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/eeprom.rs
tests/stm32/src/bin/eeprom.rs
#![no_std] #![no_main] // required-features: eeprom #[path = "../common.rs"] mod common; use common::*; use defmt::assert_eq; use embassy_executor::Spawner; use embassy_stm32::flash::Flash; use {defmt_rtt as _, panic_probe as _}; #[embassy_executor::main] async fn main(_spawner: Spawner) { // Initialize the boa...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/spi_dma.rs
tests/stm32/src/bin/spi_dma.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert_eq; use embassy_executor::Spawner; use embassy_stm32::gpio::{Level, Output, Speed}; use embassy_stm32::mode::Async; use embassy_stm32::spi::mode::Master; use embassy_stm32::spi::{self, Spi, Word}; use embassy_stm32::time::Hert...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/dac.rs
tests/stm32/src/bin/dac.rs
#![no_std] #![no_main] // required-features: dac #[path = "../common.rs"] mod common; use core::f32::consts::PI; use common::*; use defmt::assert; use embassy_executor::Spawner; use embassy_stm32::adc::{Adc, SampleTime}; use embassy_stm32::dac::{DacCh1, Value}; use embassy_time::Timer; use micromath::F32Ext; use {de...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/can.rs
tests/stm32/src/bin/can.rs
#![no_std] #![no_main] // required-features: can #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::bind_interrupts; use embassy_stm32::can::filter::Mask32; use embassy_stm32::can::{Fifo, Rx0InterruptHandler, Rx1InterruptHandler, SceInterruptHandler, TxInterruptHandl...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/wpan_mac.rs
tests/stm32/src/bin/wpan_mac.rs
// required-features: mac #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::bind_interrupts; use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler}; use embassy_stm32::rcc::WPAN_DEFAULT; use embassy_stm32_wpan::Tl...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/ucpd.rs
tests/stm32/src/bin/ucpd.rs
// required-features: ucpd #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::{assert, assert_eq}; use embassy_executor::Spawner; use embassy_futures::join::join; use embassy_stm32::ucpd::{self, CcPhy, CcPull, CcSel, CcVState, RxError, Ucpd}; use embassy_stm32::{Peri, bind_interrupts...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/timer.rs
tests/stm32/src/bin/timer.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert; use embassy_executor::Spawner; use embassy_futures::select::{Either, select}; use embassy_futures::yield_now; use embassy_time::{Instant, Timer}; #[embassy_executor::main] async fn main(_spawner: Spawner) { let _p = init...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/spi.rs
tests/stm32/src/bin/spi.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert_eq; use embassy_executor::Spawner; use embassy_stm32::gpio::{Level, Output, Speed}; use embassy_stm32::mode::Blocking; use embassy_stm32::spi::mode::Master; use embassy_stm32::spi::{self, Spi, Word}; use embassy_stm32::time::H...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/afio.rs
tests/stm32/src/bin/afio.rs
// required-features: afio #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::gpio::{AfioRemap, OutputType, Pull}; use embassy_stm32::pac::AFIO; use embassy_stm32::time::khz; use embassy_stm32::timer::complementary_pwm::{ComplementaryPwm, Comple...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
true
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/wpan_ble.rs
tests/stm32/src/bin/wpan_ble.rs
// required-features: ble #![no_std] #![no_main] #[path = "../common.rs"] mod common; use core::time::Duration; use common::*; use embassy_executor::Spawner; use embassy_stm32::bind_interrupts; use embassy_stm32::ipcc::{Config, ReceiveInterruptHandler, TransmitInterruptHandler}; use embassy_stm32::rcc::WPAN_DEFAULT;...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/cordic.rs
tests/stm32/src/bin/cordic.rs
// required-features: rng, cordic // Test Cordic driver, with Q1.31 format, Sin function, at 24 iterations (aka PRECISION = 6), using DMA transfer #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::cordic::utils; use embassy_stm32::{bind_inter...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/hash.rs
tests/stm32/src/bin/hash.rs
// required-features: hash #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::hash::*; use embassy_stm32::mode::Blocking; use embassy_stm32::{bind_interrupts, hash, peripherals}; use hmac::{Hmac, Mac}; use sha2::{Digest, Sha224, Sha256}; use {de...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/fdcan.rs
tests/stm32/src/bin/fdcan.rs
#![no_std] #![no_main] // required-features: fdcan #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::peripherals::*; use embassy_stm32::{Config, bind_interrupts, can}; use embassy_time::Duration; use {defmt_rtt as _, panic_probe as _}; #[path = "../can_common.rs"] ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/cryp.rs
tests/stm32/src/bin/cryp.rs
// required-features: cryp #![no_std] #![no_main] #[path = "../common.rs"] mod common; use aes_gcm::Aes128Gcm; use aes_gcm::aead::heapless::Vec; use aes_gcm::aead::{AeadInPlace, KeyInit}; use common::*; use embassy_executor::Spawner; use embassy_stm32::cryp::{self, *}; use embassy_stm32::{bind_interrupts, peripherals...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/sdmmc.rs
tests/stm32/src/bin/sdmmc.rs
// required-features: sdmmc #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert_eq; use embassy_executor::Spawner; use embassy_stm32::sdmmc::Sdmmc; use embassy_stm32::sdmmc::sd::{CmdBlock, DataBlock, StorageDevice}; use embassy_stm32::time::mhz; use embassy_stm32::{bind_interru...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/rng.rs
tests/stm32/src/bin/rng.rs
// required-features: rng #![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::rng::Rng; use embassy_stm32::{bind_interrupts, peripherals, rng}; use {defmt_rtt as _, panic_probe as _}; #[cfg(any( feature = "stm32l4a6zg", feature = "stm32h...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/adc.rs
tests/stm32/src/bin/adc.rs
#![no_std] #![no_main] // required-features: dac #[path = "../common.rs"] mod common; use common::*; use embassy_executor::Spawner; use embassy_stm32::adc::{Adc, SampleTime}; use embassy_time::Timer; use {defmt_rtt as _, panic_probe as _}; #[embassy_executor::main] async fn main(_spawner: Spawner) { // Initiali...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/stop.rs
tests/stm32/src/bin/stop.rs
// required-features: stop,chrono #![no_std] #![no_main] #[path = "../common.rs"] mod common; use chrono::NaiveDate; use common::*; use embassy_executor::Spawner; use embassy_stm32::low_power::{StopMode, stop_ready}; use embassy_stm32::rcc::LsConfig; use embassy_stm32::rtc::Rtc; use embassy_stm32::{Config, low_power}...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/tests/stm32/src/bin/gpio.rs
tests/stm32/src/bin/gpio.rs
#![no_std] #![no_main] #[path = "../common.rs"] mod common; use common::*; use defmt::assert; use embassy_executor::Spawner; use embassy_stm32::gpio::{Flex, Input, Level, Output, OutputOpenDrain, Pull, Speed}; #[embassy_executor::main] async fn main(_spawner: Spawner) { let p = init(); info!("Hello World!"); ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/temp.rs
embassy-nrf/src/temp.rs
//! Builtin temperature sensor driver. use core::future::poll_fn; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_sync::waitqueue::AtomicWaker; use fixed::types::I30F2; use crate::interrupt::InterruptExt; use crate::peripherals::TEMP; use crate::{Peri, interrupt, pac}; /// Interrupt handle...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/qspi.rs
embassy-nrf/src/qspi.rs
//! Quad Serial Peripheral Interface (QSPI) flash driver. #![macro_use] use core::future::{Future, poll_fn}; use core::marker::PhantomData; use core::ptr; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sync::waitqueue::AtomicWaker; use embe...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/rtc.rs
embassy-nrf/src/rtc.rs
//! Low-level RTC driver. #![macro_use] use core::marker::PhantomData; use embassy_hal_internal::interrupt::InterruptExt; use embassy_hal_internal::{Peri, PeripheralType}; use crate::interrupt::typelevel::Interrupt as _; use crate::{interrupt, pac}; /// Prescaler has an invalid value which exceeds 12 bits. #[deriv...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/nvmc.rs
embassy-nrf/src/nvmc.rs
//! Non-Volatile Memory Controller (NVMC, AKA internal flash) driver. use core::{ptr, slice}; use embedded_storage::nor_flash::{ ErrorType, MultiwriteNorFlash, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash, }; use crate::pac::nvmc::vals; use crate::peripherals::NVMC; use crate::{Peri, pac}; #[cfg(not...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/time_driver.rs
embassy-nrf/src/time_driver.rs
use core::cell::{Cell, RefCell}; #[cfg(not(feature = "_grtc"))] use core::sync::atomic::{AtomicU32, Ordering, compiler_fence}; use critical_section::CriticalSection; use embassy_sync::blocking_mutex::CriticalSectionMutex as Mutex; use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; use embassy_time_driver:...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/saadc.rs
embassy-nrf/src/saadc.rs
//! Successive Approximation Analog-to-Digital Converter (SAADC) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::sync::atomic::{Ordering, compiler_fence}; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{Peri, impl_peripheral}; use emb...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/lib.rs
embassy-nrf/src/lib.rs
#![no_std] #![allow(async_fn_in_trait)] #![allow(unsafe_op_in_unsafe_fn)] #![cfg_attr( docsrs, doc = "<div style='padding:30px;background:#810;color:#fff;text-align:center;'><p>You might want to <a href='https://docs.embassy.dev/embassy-nrf'>browse the `embassy-nrf` documentation on the Embassy website</a> inst...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
true
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/gpiote.rs
embassy-nrf/src/gpiote.rs
//! GPIO task/event (GPIOTE) driver. #![macro_use] use core::convert::Infallible; use core::future::{Future, poll_fn}; use core::task::{Context, Poll}; use embassy_hal_internal::{Peri, PeripheralType, impl_peripheral}; use embassy_sync::waitqueue::AtomicWaker; use crate::gpio::{AnyPin, Flex, Input, Level, Output, Ou...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/nfct.rs
embassy-nrf/src/nfct.rs
//! NFC tag emulator driver. //! //! This driver implements support for emulating an ISO14443-3 card. Anticollision and selection //! are handled automatically in hardware, then the driver lets you receive and reply to //! raw ISO14443-3 frames in software. //! //! Higher layers such as ISO14443-4 aka ISO-DEP and ISO78...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/spis.rs
embassy-nrf/src/spis.rs
//! Serial Peripheral Instance in slave mode (SPIS) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::sync::atomic::{Ordering, compiler_fence}; use core::task::Poll; use embassy_embedded_hal::SetConfig; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sync::waitque...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/power.rs
embassy-nrf/src/power.rs
//! Power #[cfg(feature = "nrf52840")] use crate::chip::pac::POWER; #[cfg(any(feature = "nrf9160-s", feature = "nrf9160-ns"))] use crate::chip::pac::REGULATORS; /// Puts the MCU into "System Off" mode with minimal power usage pub fn set_system_off() { #[cfg(feature = "nrf52840")] POWER.systemoff().write(|w| w...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/pwm.rs
embassy-nrf/src/pwm.rs
//! Pulse Width Modulation (PWM) driver. #![macro_use] use core::sync::atomic::{Ordering, compiler_fence}; use embassy_hal_internal::{Peri, PeripheralType}; use crate::gpio::{AnyPin, DISCONNECTED, Level, OutputDrive, Pin as GpioPin, PselBits, SealedPin as _, convert_drive}; use crate::pac::gpio::vals as gpiovals; u...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
true
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/twim.rs
embassy-nrf/src/twim.rs
//! I2C-compatible Two Wire Interface in master mode (TWIM) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::sync::atomic::Ordering::SeqCst; use core::sync::atomic::compiler_fence; use core::task::Poll; use embassy_embedded_hal::SetConfig; use embassy_hal_internal::{Peri, Per...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/egu.rs
embassy-nrf/src/egu.rs
//! EGU driver. //! //! The event generator driver provides a higher level API for task triggering //! and events to use with PPI. #![macro_use] use core::marker::PhantomData; use embassy_hal_internal::PeripheralType; use crate::ppi::{Event, Task}; use crate::{Peri, interrupt, pac}; /// An instance of the EGU. pub...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/wdt.rs
embassy-nrf/src/wdt.rs
//! Watchdog Timer (WDT) driver. //! //! This HAL implements a basic watchdog timer with 1..=8 handles. //! Once the watchdog has been started, it cannot be stopped. #![macro_use] use core::hint::unreachable_unchecked; use embassy_hal_internal::PeripheralType; use crate::pac::wdt::vals; pub use crate::pac::wdt::val...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/twis.rs
embassy-nrf/src/twis.rs
//! I2C-compatible Two Wire Interface in slave mode (TWIM) driver. #![macro_use] use core::future::{Future, poll_fn}; use core::marker::PhantomData; use core::sync::atomic::Ordering::SeqCst; use core::sync::atomic::compiler_fence; use core::task::Poll; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sy...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/util.rs
embassy-nrf/src/util.rs
#![allow(dead_code)] const SRAM_LOWER: usize = 0x2000_0000; const SRAM_UPPER: usize = 0x3000_0000; /// Does this slice reside entirely within RAM? pub(crate) fn slice_in_ram<T>(slice: *const [T]) -> bool { if slice.is_empty() { return true; } let ptr = slice as *const T as usize; ptr >= SRAM_...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/pdm.rs
embassy-nrf/src/pdm.rs
//! Pulse Density Modulation (PDM) microphone driver #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::sync::atomic::{Ordering, compiler_fence}; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sync::waitqueue:...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/timer.rs
embassy-nrf/src/timer.rs
//! Timer driver. //! //! Important note! This driver is very low level. For most time-related use cases, like //! "sleep for X seconds", "do something every X seconds", or measuring time, you should //! use [`embassy-time`](https://crates.io/crates/embassy-time) instead! #![macro_use] use core::marker::PhantomData; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/i2s.rs
embassy-nrf/src/i2s.rs
//! Inter-IC Sound (I2S) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::mem::size_of; use core::ops::{Deref, DerefMut}; use core::sync::atomic::{AtomicBool, Ordering, compiler_fence}; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{P...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/spim.rs
embassy-nrf/src/spim.rs
//! Serial Peripheral Instance in master mode (SPIM) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; #[cfg(feature = "_nrf52832_anomaly_109")] use core::sync::atomic::AtomicU8; use core::sync::atomic::{Ordering, compiler_fence}; use core::task::Poll; use embassy_embedded_hal::SetConfi...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/uarte.rs
embassy-nrf/src/uarte.rs
//! Universal Asynchronous Receiver Transmitter (UART) driver. //! //! The UART driver is provided in two flavors - this one and also [crate::buffered_uarte::BufferedUarte]. //! The [Uarte] here is useful for those use-cases where reading the UARTE peripheral is //! exclusively awaited on. If the [Uarte] is required to...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
true
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/embassy_net_802154_driver.rs
embassy-nrf/src/embassy_net_802154_driver.rs
//! embassy-net IEEE 802.15.4 driver use embassy_futures::select::{Either3, select3}; use embassy_net_driver_channel::driver::LinkState; use embassy_net_driver_channel::{self as ch}; use embassy_time::{Duration, Ticker}; use crate::radio::InterruptHandler; use crate::radio::ieee802154::{Packet, Radio}; use crate::{se...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/reset.rs
embassy-nrf/src/reset.rs
//! Reset #![macro_use] use bitflags::bitflags; use nrf_pac::reset::regs::Resetreas; #[cfg(not(feature = "_nrf5340-net"))] use nrf_pac::reset::vals::Forceoff; use crate::chip::pac::RESET; bitflags! { #[derive(Debug, Copy, Clone, PartialEq)] /// Bitflag representation of the `RESETREAS` register pub stru...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/cracen.rs
embassy-nrf/src/cracen.rs
//! CRACEN - Cryptographic Accelerator Engine driver. #![macro_use] use core::marker::PhantomData; use crate::mode::{Blocking, Mode}; use crate::{Peri, interrupt, pac, peripherals}; /// A wrapper around an nRF54 CRACEN peripheral. /// /// It has a blocking api through `rand`. pub struct Cracen<'d, M: Mode> { _p...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/qdec.rs
embassy-nrf/src/qdec.rs
//! Quadrature decoder (QDEC) driver. #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::task::Poll; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sync::waitqueue::AtomicWaker; use crate::gpio::{AnyPin, Pin as GpioPin, SealedPin as _}; use crate::interrupt::typelevel::...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/rng.rs
embassy-nrf/src/rng.rs
//! Random Number Generator (RNG) driver. #![macro_use] use core::cell::{RefCell, RefMut}; use core::future::poll_fn; use core::marker::PhantomData; use core::ptr; use core::task::Poll; use critical_section::{CriticalSection, Mutex}; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{Peri, Peripheral...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/rramc.rs
embassy-nrf/src/rramc.rs
//! Resistive Random-Access Memory Controller driver. use core::marker::PhantomData; use core::{ptr, slice}; use embedded_storage::nor_flash::{ ErrorType, MultiwriteNorFlash, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash, }; use crate::peripherals::RRAMC; use crate::{Peri, pac}; /// Unbuffered RRAMC ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/fmt.rs
embassy-nrf/src/fmt.rs
#![macro_use] #![allow(unused)] use core::fmt::{Debug, Display, LowerHex}; #[cfg(all(feature = "defmt", feature = "log"))] compile_error!("You may not enable both `defmt` and `log` features."); #[collapse_debuginfo(yes)] macro_rules! assert { ($($x:tt)*) => { { #[cfg(not(feature = "defmt"))] ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/gpio.rs
embassy-nrf/src/gpio.rs
//! General purpose input/output (GPIO) driver. #![macro_use] use core::convert::Infallible; use core::hint::unreachable_unchecked; use cfg_if::cfg_if; use embassy_hal_internal::{Peri, PeripheralType, impl_peripheral}; use crate::pac; use crate::pac::common::{RW, Reg}; use crate::pac::gpio; use crate::pac::gpio::val...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/ipc.rs
embassy-nrf/src/ipc.rs
//! InterProcessor Communication (IPC) #![macro_use] use core::future::poll_fn; use core::marker::PhantomData; use core::task::Poll; use embassy_hal_internal::{Peri, PeripheralType}; use embassy_sync::waitqueue::AtomicWaker; use crate::interrupt::typelevel::Interrupt; use crate::{interrupt, pac, ppi}; const EVENT_...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/usb/vbus_detect.rs
embassy-nrf/src/usb/vbus_detect.rs
//! Trait and implementations for performing VBUS detection. use core::future::{Future, poll_fn}; use core::sync::atomic::{AtomicBool, Ordering}; use core::task::Poll; use embassy_sync::waitqueue::AtomicWaker; use super::BUS_WAKER; use crate::interrupt::typelevel::Interrupt; use crate::{interrupt, pac}; /// Trait f...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/usb/mod.rs
embassy-nrf/src/usb/mod.rs
//! Universal Serial Bus (USB) driver. #![macro_use] pub mod vbus_detect; use core::future::{Future, poll_fn}; use core::marker::PhantomData; use core::mem::MaybeUninit; use core::sync::atomic::{AtomicU32, Ordering, compiler_fence}; use core::task::Poll; use cortex_m::peripheral::NVIC; use embassy_hal_internal::{Pe...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/ppi/mod.rs
embassy-nrf/src/ppi/mod.rs
#![macro_use] //! Programmable Peripheral Interconnect (PPI/DPPI) driver. //! //! The (Distributed) Programmable Peripheral Interconnect interface allows for an autonomous interoperability //! between peripherals through their events and tasks. There are fixed PPI channels and fully //! configurable ones. Fixed channe...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/ppi/ppi.rs
embassy-nrf/src/ppi/ppi.rs
use super::{Channel, ConfigurableChannel, Event, Ppi, Task}; use crate::{Peri, pac}; impl<'d> Task<'d> { fn reg_val(&self) -> u32 { self.0.as_ptr() as _ } } impl<'d> Event<'d> { fn reg_val(&self) -> u32 { self.0.as_ptr() as _ } } pub(crate) fn regs() -> pac::ppi::Ppi { pac::PPI } ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/ppi/dppi.rs
embassy-nrf/src/ppi/dppi.rs
use super::{Channel, ConfigurableChannel, Event, Ppi, Task}; use crate::Peri; const DPPI_ENABLE_BIT: u32 = 0x8000_0000; const DPPI_CHANNEL_MASK: u32 = 0x0000_00FF; #[cfg(not(feature = "_nrf54l"))] pub(crate) fn regs() -> crate::pac::dppic::Dppic { crate::pac::DPPIC } impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/radio/ieee802154.rs
embassy-nrf/src/radio/ieee802154.rs
//! IEEE 802.15.4 radio driver use core::marker::PhantomData; use core::sync::atomic::{Ordering, compiler_fence}; use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use super::{Error, InterruptHandler, TxPower}; use crate::Peri; use crate::interrupt::typelevel::Interrupt; use crate::interrupt::{self}; use...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/radio/mod.rs
embassy-nrf/src/radio/mod.rs
//! Integrated 2.4 GHz Radio //! //! The 2.4 GHz radio transceiver is compatible with multiple radio standards //! such as 1Mbps, 2Mbps and Long Range Bluetooth Low Energy. #![macro_use] /// Bluetooth Low Energy Radio driver. #[cfg(any( feature = "nrf52811", feature = "nrf52820", feature = "nrf52833", ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/buffered_uarte/v2.rs
embassy-nrf/src/buffered_uarte/v2.rs
//! Async buffered UART driver. //! //! Note that discarding a future from a read or write operation may lead to losing //! data. For example, when using `futures_util::future::select` and completion occurs //! on the "other" future, you should capture the incomplete future and continue to use //! it for the next read ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/buffered_uarte/mod.rs
embassy-nrf/src/buffered_uarte/mod.rs
//! Async buffered UART driver. //! //! Note that discarding a future from a read or write operation may lead to losing //! data. For example, when using `futures_util::future::select` and completion occurs //! on the "other" future, you should capture the incomplete future and continue to use //! it for the next read ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/buffered_uarte/v1.rs
embassy-nrf/src/buffered_uarte/v1.rs
//! Async buffered UART driver. //! //! Note that discarding a future from a read or write operation may lead to losing //! data. For example, when using `futures_util::future::select` and completion occurs //! on the "other" future, you should capture the incomplete future and continue to use //! it for the next read ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf54l10_app.rs
embassy-nrf/src/chips/nrf54l10_app.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ FICR_NS as FICR, DPPIC00_NS as DPPIC00, PPIB00_NS as PPIB00, PPIB01_NS as PPIB01, AAR00_NS as AAR0...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf5340_app.rs
embassy-nrf/src/chips/nrf5340_app.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ CLOCK_NS as CLOCK, COMP_NS as COMP, CTRLAP_NS as CTRLAP, DCNF_NS as DCNF, DPPIC_NS as DPPIC, ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52805.rs
embassy-nrf/src/chips/nrf52805.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 14) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 256; pub const FLASH_SIZE: usize = 192 * 1024; pub const RESET_PIN: u32 = 21; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'B'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf5340_net.rs
embassy-nrf/src/chips/nrf5340_net.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[doc(no_inline)] pub use nrf_pac::{ AAR_NS as AAR, ACL_NS as ACL, APPMUTEX_NS as APPMUTEX, APPMUTEX_S as APPMUTEX_S, CCM_NS as CCM, CLOCK_NS as CLOCK, ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52811.rs
embassy-nrf/src/chips/nrf52811.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 14) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 256; pub const FLASH_SIZE: usize = 192 * 1024; pub const RESET_PIN: u32 = 21; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'B'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52810.rs
embassy-nrf/src/chips/nrf52810.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 10) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 256; pub const FLASH_SIZE: usize = 192 * 1024; pub const RESET_PIN: u32 = 21; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'E'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf54l05_app.rs
embassy-nrf/src/chips/nrf54l05_app.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ FICR_NS as FICR, DPPIC00_NS as DPPIC00, PPIB00_NS as PPIB00, PPIB01_NS as PPIB01, AAR00_NS as AAR0...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf54l15_app.rs
embassy-nrf/src/chips/nrf54l15_app.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ FICR_NS as FICR, DPPIC00_NS as DPPIC00, PPIB00_NS as PPIB00, PPIB01_NS as PPIB01, AAR00_NS as AAR0...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52833.rs
embassy-nrf/src/chips/nrf52833.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 16) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 512; pub const FLASH_SIZE: usize = 512 * 1024; pub const RESET_PIN: u32 = 18; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'B'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf9160.rs
embassy-nrf/src/chips/nrf9160.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ CLOCK_NS as CLOCK, DPPIC_NS as DPPIC, EGU0_NS as EGU0, EGU1_NS as EGU1, EGU2_NS as EGU2, E...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52840.rs
embassy-nrf/src/chips/nrf52840.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 16) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 512; pub const FLASH_SIZE: usize = 1024 * 1024; pub const RESET_PIN: u32 = 18; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'F'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf9120.rs
embassy-nrf/src/chips/nrf9120.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ CLOCK_NS as CLOCK, DPPIC_NS as DPPIC, EGU0_NS as EGU0, EGU1_NS as EGU1, EGU2_NS as EGU2, E...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf51.rs
embassy-nrf/src/chips/nrf51.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 14) - 1; pub const FLASH_SIZE: usize = 128 * 1024; embassy_hal_internal::peripherals! { // RTC RTC0, #[cfg(not(feature = "time-driver-rtc1"))] RTC1, // WDT ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52820.rs
embassy-nrf/src/chips/nrf52820.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 15) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 512; pub const FLASH_SIZE: usize = 256 * 1024; pub const RESET_PIN: u32 = 18; pub const APPROTECT_MIN_BUILD_CODE: u8 = b'D'; ...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf52832.rs
embassy-nrf/src/chips/nrf52832.rs
pub use nrf_pac as pac; /// The maximum buffer size that the EasyDMA can send/recv in one operation. pub const EASY_DMA_SIZE: usize = (1 << 8) - 1; pub const FORCE_COPY_BUFFER_SIZE: usize = 255; // There are two variants. We set the higher size to make the entire flash // usable in xxAA, but we'll probably split this...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-nrf/src/chips/nrf54lm20_app.rs
embassy-nrf/src/chips/nrf54lm20_app.rs
/// Peripheral Access Crate #[allow(unused_imports)] #[rustfmt::skip] pub mod pac { pub use nrf_pac::*; #[cfg(feature = "_ns")] #[doc(no_inline)] pub use nrf_pac::{ FICR_NS as FICR, DPPIC00_NS as DPPIC00, PPIB00_NS as PPIB00, PPIB01_NS as PPIB01, AAR00_NS as AAR0...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/cyw43-pio/src/lib.rs
cyw43-pio/src/lib.rs
#![no_std] #![allow(async_fn_in_trait)] #![doc = include_str!("../README.md")] #![warn(missing_docs)] use core::slice; use cyw43::SpiBusCyw43; use embassy_rp::Peri; use embassy_rp::clocks::clk_sys_freq; use embassy_rp::dma::Channel; use embassy_rp::gpio::{Drive, Level, Output, Pull, SlewRate}; use embassy_rp::pio::pr...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-dfu/src/consts.rs
embassy-usb-dfu/src/consts.rs
//! USB DFU constants, taken from //! https://www.usb.org/sites/default/files/DFU_1.1.pdf /// Device Firmware Upgrade class, App specific pub(crate) const USB_CLASS_APPN_SPEC: u8 = 0xFE; /// Device Firmware Upgrade subclass, App specific pub(crate) const APPN_SPEC_SUBCLASS_DFU: u8 = 0x01; #[allow(unused)] /// USB inter...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false
embassy-rs/embassy
https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-dfu/src/lib.rs
embassy-usb-dfu/src/lib.rs
#![no_std] #![doc = include_str!("../README.md")] #![warn(missing_docs)] mod fmt; pub mod consts; #[cfg(feature = "dfu")] pub mod dfu; #[cfg(all(feature = "dfu", not(feature = "application")))] pub use self::dfu::*; #[cfg(feature = "application")] pub mod application; #[cfg(all(feature = "application", not(feature =...
rust
Apache-2.0
f242d794e3325bc9b3559e50d2ea7fc293e1d574
2026-01-04T15:48:40.485023Z
false