2022-04-20 19:25:15 +02:00
2022-04-20 19:25:15 +02:00
2022-04-10 20:45:43 +02:00

Interfaces

The intention of these interfaces is to provide an abstraction layer for commonly used resources. Libraries using these interfaces can be reused on different platforms by simply implementing the required interfaces for the selected platform.

Interfaces for the following resources are provided:

  • GPIO pin
  • Mutex
  • Signal
  • SPI
  • UART

HAL implementations

Implementations using the HAL are provided for the following interfaces:

  • GpioPin
  • SpiInterface, SpiDevice
  • UART

To enable these implementations follow the instructions from the individual headers.

Atomic implementations

Implementations using atomic variables are provided for the following interfaces:

  • Mutex
  • Signal

To enable these implementations define STA_ATOMIC_ENABLE in <sta/config.hpp>.

Description
Space Team's HAL supporting STM32, Arduino and RasPi
Readme GPL-3.0 660 KiB
Languages
C++ 99.1%
CMake 0.9%