10 #ifndef PAS_CO2_SBUS_HPP_ 11 #define PAS_CO2_SBUS_HPP_ 66 uint16_t length = 1) = 0;
80 uint16_t length = 1) = 0;
Definition: pas-co2-sbus.hpp:33
Definition: pas-co2-i2c.hpp:21
virtual Error_t init(void)=0
Initializes the serial interface.
Error_t
Definition: pas-co2-types.hpp:24
Definition: pas-co2-sbus.hpp:23
virtual Error_t write(const uint8_t regAddr, const uint8_t *data, uint16_t length=1)=0
Writes data to a register or set of consecutive registers.
Proto_t
Definition: pas-co2-sbus.hpp:31
virtual Error_t deinit(void)=0
Deinitializes the serial interface.
virtual Proto_t getProtocol(void)=0
Gets the specific serial protocol.
virtual Error_t read(const uint8_t regAddr, uint8_t *data, uint16_t length=1)=0
Reads data from a register or set of consecutive registers.
Definition: pas-co2-sbus.hpp:34