mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 02:27:33 +00:00
Merge branch 'raspi-support' of ssh://git.intern.spaceteamaachen.de:22222/ALPAKA/sta-core into raspi-support
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user