mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-bmi088.git
synced 2025-09-29 00:37:33 +00:00
initial commit
This commit is contained in:
27
src/bmi088.cpp
Normal file
27
src/bmi088.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#include <sta/drivers/BMI088.hpp>
|
||||
|
||||
#include <sta/debug/assert.hpp>
|
||||
|
||||
namespace sta
|
||||
{
|
||||
BMI088::BMI088(STM32SPIDevice* gyro_device, STM32SPIDevice* accel_device)
|
||||
: gyro_device{gyro_device}, accel_device(accel_device)
|
||||
{
|
||||
STA_ASSERT(device != nullptr);
|
||||
}
|
||||
|
||||
bool BMI088::init()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BMI088::busRead(Part part, uint8_t reg, uint8_t * buffer, size_t length)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BMI088::busWrite(Part part, uint8_t reg, uint8_t * buffer, size_t length)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
} // namespace sta
|
Reference in New Issue
Block a user