embassy/embassy-rp
2024-03-18 23:28:58 +01:00
..
src fix minor clippy lints in embassy_rp 2024-03-18 23:28:58 +01:00
build.rs Fix all warnings on embassy-rp and embassy-rp-examples and 2021-05-20 08:32:26 +10:00
Cargo.toml Additional features docs for embassy-rp 2024-01-14 13:21:50 +11:00
funcsel.txt rp: add initial version 2021-03-29 21:35:25 +02:00
link-rp.x.in rp: add precompiled boot2 to avoid depending on gcc 2021-03-29 22:28:36 +02:00
README.md More readme fixes. 2024-01-11 21:23:07 +01:00

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 feature. If you enable it, you must link an embassy-time driver in your project.