2021-12-09 10:40:26 +01:00
|
|
|
= Hardware Abstraction Layer (HAL)
|
|
|
|
|
2022-08-16 11:23:04 +02:00
|
|
|
Embassy provides HALs for several microcontroller families:
|
2021-12-09 10:40:26 +01:00
|
|
|
|
2022-01-06 10:56:47 +01:00
|
|
|
* `embassy-nrf` for the nRF microcontrollers from Nordic Semiconductor
|
2021-12-10 12:04:12 +01:00
|
|
|
* `embassy-stm32` for STM32 microcontrollers from ST Microelectronics
|
|
|
|
* `embassy-rp` for the Raspberry Pi RP2040 microcontrollers
|
2021-12-09 10:40:26 +01:00
|
|
|
|
2022-08-16 11:23:04 +02:00
|
|
|
These HALs implement async/await functionality for most peripherals while also implementing the
|
2023-10-03 21:35:31 +02:00
|
|
|
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.
|