mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-05 18:21:54 +00:00
Implemented SPI for Arduino and a few fixes
This commit is contained in:
@@ -31,8 +31,8 @@ namespace sta
|
||||
*/
|
||||
enum class SPIClkPolarity
|
||||
{
|
||||
LOW, /**< Low idle clock */
|
||||
HIGH /**< High idle clock */
|
||||
SPI_LOW, /**< Low idle clock */
|
||||
SPI_HIGH /**< High idle clock */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
extern BasePrintable * Debug;
|
||||
extern Printable * Debug;
|
||||
} // namespace sta
|
||||
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
class PrintableSerial: public sta::BasePrintable
|
||||
class PrintableSerial: public Printable
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@@ -25,7 +25,7 @@ namespace sta
|
||||
*
|
||||
* @ingroup sta_core
|
||||
*/
|
||||
class PrintableUART : public BasePrintable
|
||||
class PrintableUART : public Printable
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@@ -1,9 +1,9 @@
|
||||
#ifndef STA_CORE_ARDUINO_HAL_HPP
|
||||
#define STA_CORE_ARDUINO_HAL_HPP
|
||||
|
||||
#include<Arduino.h>
|
||||
#include<Wire.h>
|
||||
#include<SPI.h>
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include <SPI.h>
|
||||
|
||||
/**
|
||||
* @defgroup sta_core_arduino Arduino
|
||||
@@ -11,4 +11,10 @@
|
||||
* @brief Modules implemented for the Arduino platform.
|
||||
*/
|
||||
|
||||
namespace hal
|
||||
{
|
||||
using SPISettings = SPISettings;
|
||||
} // namespace hal
|
||||
|
||||
|
||||
#endif // STA_CORE_ARDUINO_HAL_HPP
|
Reference in New Issue
Block a user