embassy/docs/pages/hal.adoc

15 lines
723 B
Plaintext
Raw Normal View History

2021-12-09 09:40:26 +00:00
= Hardware Abstraction Layer (HAL)
Embassy provides HALs for several microcontroller families:
2021-12-09 09:40:26 +00:00
2022-01-06 09:56:47 +00:00
* `embassy-nrf` for the nRF microcontrollers from Nordic Semiconductor
2021-12-10 11:04:12 +00:00
* `embassy-stm32` for STM32 microcontrollers from ST Microelectronics
* `embassy-rp` for the Raspberry Pi RP2040 microcontrollers
2021-12-09 09:40:26 +00:00
These HALs implement async/await functionality for most peripherals while also implementing the
async traits in `embedded-hal` and `embedded-hal-async`. You can also use these HALs with another executor.
For the ESP32 series, there is an link:https://github.com/esp-rs/esp-hal[esp-hal] which you can use.
2024-05-01 00:15:22 +00:00
For the WCH 32-bit RISC-V series, there is an link:https://github.com/ch32-rs/ch32-hal[ch32-hal], which you can use.