mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
25 lines
347 B
C++
25 lines
347 B
C++
#ifndef STA_CORE_UART_SETTINGS_HPP
|
|
#define STA_CORE_UART_SETTINGS_HPP
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace sta
|
|
{
|
|
enum class UARTMode
|
|
{
|
|
RX,
|
|
TX,
|
|
RX_TX
|
|
};
|
|
|
|
/**
|
|
* @brief %UART settings.
|
|
*/
|
|
struct UARTSettings
|
|
{
|
|
UARTMode mode;
|
|
};
|
|
} // namespace sta
|
|
|
|
#endif // STA_CORE_UART_SETTINGS_HPP
|