Merge branch 'raspi-support' of ssh://git.intern.spaceteamaachen.de:22222/ALPAKA/sta-core into raspi-support

This commit is contained in:
dario
2023-08-20 17:39:17 +02:00
5 changed files with 46 additions and 20 deletions

View File

@@ -28,6 +28,7 @@ namespace sta
void transfer(const uint8_t * buffer, size_t size) override;
void receive(uint8_t * buffer, size_t size) override;
void selectAddress();
void acquire() override;
void release() override;
@@ -41,7 +42,8 @@ namespace sta
class RaspiI2CDevice : public I2CDevice
{
RaspiI2CDevice(RaspiI2C * intf, uint16_t address_10bit, Mutex* mutex=nullptr, bool master=false, bool blocking=true);
public:
RaspiI2CDevice(RaspiI2C * intf, uint16_t address_10bit, bool master=true, bool blocking=true);
};
} // namespace sta