Move interfaces to subdir

This commit is contained in:
Henrik Stickann
2022-05-02 13:37:03 +02:00
parent f8666b69c8
commit 01312ef97d
11 changed files with 15 additions and 12 deletions

View File

@@ -8,7 +8,7 @@
namespace sta
{
/**
* @brief GPIO pin state
* @brief GPIO pin state.
*/
enum class GpioPinState
{

View File

@@ -14,11 +14,11 @@ namespace sta
{
public:
/**
* @brief Block until mutex has been acquired
* @brief Block until mutex has been acquired.
*/
virtual void acquire() = 0;
/**
* @brief Release mutex
* @brief Release mutex.
*/
virtual void release() = 0;

View File

@@ -4,10 +4,10 @@
#ifndef STA_SPI_DEVICE_HPP
#define STA_SPI_DEVICE_HPP
#include <sta/spi_interface.hpp>
#include <sta/intf/spi_interface.hpp>
#include <cstdint>
#include <cstddef>
#include <cstdint>
namespace sta

View File

@@ -4,11 +4,11 @@
#ifndef STA_SPI_INTERFACE_HPP
#define STA_SPI_INTERFACE_HPP
#include <sta/mutex.hpp>
#include <sta/intf/mutex.hpp>
#include <sta/spi_settings.hpp>
#include <cstdint>
#include <cstddef>
#include <cstdint>
namespace sta

View File

@@ -1,3 +1,6 @@
/**
* @brief Signatures for time related functions.
*/
#ifndef STA_TIME_HPP
#define STA_TIME_HPP