#include <i2c_new.h>
|
| Bus (Bus const &other)=delete |
|
| Bus (Bus &&other)=delete |
|
Bus & | operator= (Bus const &other)=delete |
|
Bus & | operator= (Bus &&other)=delete |
|
| ~Bus () |
|
Device | DeviceAt (const Address addr) const noexcept |
|
int | Write (const Address addr, const std::uint8_t *data, const std::size_t size, Error *ec) |
|
int | Read (const Address addr, std::uint8_t *data, const std::size_t size, Error *ec) |
|
int | ReadRegister (const Address addr, const std::uint8_t reg, std::uint8_t *data, const std::size_t size, Error *ec) |
|
void | SetRetries (const int retries) noexcept |
|
◆ Ptr
◆ WeakPtr
◆ Bus() [1/2]
i2c::Bus::Bus |
( |
Bus const & |
other | ) |
|
|
delete |
◆ Bus() [2/2]
i2c::Bus::Bus |
( |
Bus && |
other | ) |
|
|
delete |
◆ ~Bus()
◆ DeviceAt()
◆ operator=() [1/2]
Bus& i2c::Bus::operator= |
( |
Bus && |
other | ) |
|
|
delete |
◆ operator=() [2/2]
Bus& i2c::Bus::operator= |
( |
Bus const & |
other | ) |
|
|
delete |
◆ Read()
int i2c::Bus::Read |
( |
const Address |
addr, |
|
|
std::uint8_t * |
data, |
|
|
const std::size_t |
size, |
|
|
Error * |
ec |
|
) |
| |
◆ ReadRegister()
int i2c::Bus::ReadRegister |
( |
const Address |
addr, |
|
|
const std::uint8_t |
reg, |
|
|
std::uint8_t * |
data, |
|
|
const std::size_t |
size, |
|
|
Error * |
ec |
|
) |
| |
◆ SetRetries()
void i2c::Bus::SetRetries |
( |
const int |
retries | ) |
|
|
noexcept |
◆ Write()
int i2c::Bus::Write |
( |
const Address |
addr, |
|
|
const std::uint8_t * |
data, |
|
|
const std::size_t |
size, |
|
|
Error * |
ec |
|
) |
| |
◆ Open
The documentation for this class was generated from the following files: