4 releases (breaking)

new 0.3.0 Jan 6, 2025
0.2.0 Aug 5, 2024
0.1.0 Jan 11, 2024
0.0.0 Apr 21, 2021

#644 in Embedded development

Download history 4901/week @ 2024-09-20 1286/week @ 2024-09-27 1185/week @ 2024-10-04 1727/week @ 2024-10-11 2293/week @ 2024-10-18 1660/week @ 2024-10-25 1522/week @ 2024-11-01 2082/week @ 2024-11-08 1796/week @ 2024-11-15 2232/week @ 2024-11-22 1936/week @ 2024-11-29 1979/week @ 2024-12-06 1924/week @ 2024-12-13 1260/week @ 2024-12-20 753/week @ 2024-12-27 2065/week @ 2025-01-03

6,288 downloads per month
Used in 12 crates

MIT/Apache

1MB
25K SLoC

Embassy RP HAL

HALs implement safe, idiomatic Rust APIs to use the hardware capabilities, so raw register manipulation is not needed.

The embassy-rp HAL targets the Raspberry Pi RP2040 microcontroller. The HAL implements both blocking and async APIs for many peripherals. The benefit of using the async APIs is that the HAL takes care of waiting for peripherals to complete operations in low power mode and handling interrupts, so that applications can focus on more important matters.

embassy-time time driver

If the time-driver feature is enabled, the HAL uses the TIMER peripheral as a global time driver for embassy-time, with a tick rate of 1MHz.

Embedded-hal

The embassy-rp HAL implements the traits from embedded-hal (v0.2 and 1.0) and embedded-hal-async, as well as embedded-io and embedded-io-async.

Interoperability

This crate can run on any executor.

Optionally, some features requiring embassy-time can be activated with the time-driver feature. If you enable it, you must link an embassy-time driver in your project.

Dependencies

~17–27MB
~342K SLoC