Benign rust 24 installs Download

microsdxpansion-driver 0.1.1

“A driver for the microsdxpansion module.”

Large registry install base (10k+ downloads)Near-zero recent downloads for registry package
SHA-25600c18cbf8066e56073bfed8f706245182af4b1c7d7d2fe94de8cefa32c6b05be
MaleculeH(F)Md

Evidence

imports core::ops::ControlFlow lines 1–26
1use core::ops::ControlFlow;
2
3use embassy_rp::gpio::Output;
4use embassy_time::Delay;
5
6use embedded_hal_bus::spi::ExclusiveDevice;
7
8use embedded_sdmmc::{
9 Mode,
10 RawDirectory,
11 RawVolume,
12 SdCard as EmbeddedSdCard,
13 TimeSource,
14 Timestamp,
15 VolumeIdx,
16 VolumeManager,
17};
18
19use xpanse_api::bus::spi::SpiBusHandle;
20
21use crate::MicroSdCard;
22
23pub type SdSpiDevice =
24 ExclusiveDevice<SpiBusHandle, Output<'static>, Delay>;
25
26pub type S …
English function-word token "for" lines 35–39
35:5… struct SdTime;
36
37impl TimeSource for SdTime {
38 fn get_timestamp(&self) -> Timestamp {
39 Tim …
Rust write_file identifier lines 125–140
⋯6 lines
131
132
133pub fn write_file(
134 fs: &SdVolumeManager,
135 root_dir: RawDirectory,
⋯5 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.