mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 10:27:34 +00:00
Added I2C support for raspi & first rework of debugging
This commit is contained in:
25
include/sta/bus/uart/uart.hpp
Normal file
25
include/sta/bus/uart/uart.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef STA_CORE_UART_UART_HPP
|
||||
#define STA_CORE_UART_UART_HPP
|
||||
|
||||
#include <sta/bus/interface.hpp>
|
||||
#include <sta/bus/uart/settings.hpp>
|
||||
|
||||
namespace sta
|
||||
{
|
||||
class UART : public Interface
|
||||
{
|
||||
public:
|
||||
UART(const UARTSettings & settings, Mutex * mutex=nullptr);
|
||||
|
||||
/**
|
||||
* @brief Get %UART interface settings.
|
||||
*
|
||||
* @return %UART settings
|
||||
*/
|
||||
const UARTSettings & settings();
|
||||
private:
|
||||
UARTSettings settings_; /**< %UART settings */
|
||||
};
|
||||
} // namespace sta
|
||||
|
||||
#endif // STA_CORE_UART_UART_HPP
|
Reference in New Issue
Block a user