mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2026-02-05 01:47:33 +00:00
9ea2513e5a52e86b72fc13c148a5cf636e83a247
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>.
Languages
C++
99.1%
CMake
0.9%