Flatten directories

This commit is contained in:
Henrik Stickann
2023-01-19 23:14:39 +01:00
parent b7e24cd5a3
commit 2a5a816c57
7 changed files with 0 additions and 0 deletions

35
include/sta/gpio_pin.hpp Normal file
View File

@@ -0,0 +1,35 @@
/**
* @brief GPIO pin interface definitions.
*/
#ifndef STA_GPIO_PIN_HPP
#define STA_GPIO_PIN_HPP
namespace sta
{
/**
* @brief GPIO pin state.
*/
enum class GpioPinState
{
LOW,
HIGH
};
/**
* @brief Interface for GPIO pins.
*/
class GpioPin
{
public:
/**
* @brief Set pin output state.
*
* @param state Output state
*/
virtual void setState(GpioPinState state) = 0;
};
} // namespace sta
#endif // STA_GPIO_PIN_HPP