|
template<typename T > |
concept | modm::Bmi088Transport |
|
lbuild module: modm:driver:bmi088
Datasheet
template<typename T >
concept modm::Bmi088Transport |
Initial value:requires(T& transport, Bmi088TransportBase::AccRegister reg1,
Bmi088TransportBase::GyroRegister reg2, uint8_t
data)
{
{ transport.initialize() };
{ transport.readRegisters(reg1,
data) } -> std::same_as<std::span<uint8_t>>;
{ transport.readRegisters(reg2,
data) } -> std::same_as<std::span<uint8_t>>;
{ transport.writeRegister(reg1,
data) } -> std::same_as<bool>;
{ transport.writeRegister(reg2,
data) } -> std::same_as<bool>;
}
Definition: sab/interface_test.cpp:73