コンテンツにスキップ

タグ: i2c

8 crates にこのタグが付けられています。

Embassy Embedded HAL (embassy-embedded-hal)

Embassy と embedded-hal / embedded-storage trait をつなぐユーティリティ集。共有バス、Flash の partitioning、async/blocking trait の橋渡しなど、実アプリで必要になりやすい接続層を提供します。

Stable no_std
embassyembedded-halembedded-hal-asyncno-std +3

embassy-nrf

注目

Nordic Semiconductor nRF シリーズ向けの Embassy HAL。GPIO、UART/UARTE、SPI/SPIM、I2C/TWIM、ADC/SAADC、PWM、Timer、Radio など多くのペリフェラルに対して、blocking API と async API を提供します。

Stable no_std
no-stdasyncembassyembedded-hal +11

Embassy RP (embassy-rp)

注目

Raspberry Pi RP2040 / RP235x 向けの Embassy HAL。PIO、DMA、USB、GPIO、SPI、I2C、UART、Timer などを async-first な Embassy エコシステムで扱うための基盤です。

Stable no_std
embassyasyncno-stdembedded-hal +7

embedded-hal-async

注目

embedded-hal 1.0 と対になる async 版 HAL trait 群。I2C、SPI、delay などを async/await で抽象化し、Embassy などの非同期ランタイム上でドライバを共通化しやすくします。

Mature no_std
embedded-hal-asyncembedded-halasyncno-std +2

embedded-hal-bus

embedded-hal 向けの bus/device 接続補助 crate。SPI や I2C の共有、排他、デバイス単位のラッパを提供し、複数デバイスが同じバスを使う構成を組みやすくします。

Stable no_std
embedded-halno-stdspii2c +1

esp-hal

注目

Espressif ESP32 系デバイス向けの bare-metal HAL。GPIO、UART、SPI、I2C、Timer、DMA などを Rust で扱うための基盤で、std を使わないファームウェアや embassy 連携の土台になります。

Stable no_std
no-stdembedded-halembedded-hal-asyncwifi +6

lsm303agr

STMicroelectronics LSM303AGR 向けのプラットフォーム非依存 Rust ドライバ。embedded-hal による I2C/SPI 接続で、3軸加速度・3軸地磁気・温度・FIFO・割り込み設定などを扱えます。

Stable no_std
accelerometermagnetometerembedded-halembedded-hal-async +3

nb (Non-Blocking) (nb)

Non-blocking I/O のためのトレイトとユーティリティ。embedded-hal で広く使われる「WouldBlock を返す」非同期パターン(Future ベースではない)を表現するための基盤です。

Mature no_std
no-stdbare-metalinterruptuart +2