You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/drivers/dummyDriver/driver.hpp

23 lines
355 B

#ifndef _DRIVER_HPP_
#define _DRIVER_HPP_
#include <stdint.h>
struct Driver
{
typedef void (i2c_write_buffer_t) (const uint8_t& , const uint8_t* , uint8_t );
Driver(i2c_write_buffer_t& i2cWB) : i2cWriteBuffer(i2cWB)
{
}
void doSomething();
private:
i2c_write_buffer_t& i2cWriteBuffer;
};
#endif // _DRIVER_HPP_