mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Fix indentation. Update doxygen comments
This commit is contained in:
@@ -8,28 +8,39 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief GPIO pin state.
|
||||
*/
|
||||
enum class GpioPinState
|
||||
{
|
||||
LOW,
|
||||
HIGH
|
||||
};
|
||||
/**
|
||||
* @defgroup sta_core_gpio GPIO
|
||||
* @ingroup sta_core
|
||||
* @brief GPIO pins.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Interface for GPIO pins.
|
||||
*/
|
||||
class GpioPin
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @brief Set pin output state.
|
||||
*
|
||||
* @param state Output state
|
||||
*/
|
||||
virtual void setState(GpioPinState state) = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* @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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user