M5UnitUnified 0.0.2 git rev:a353e8c
Loading...
Searching...
No Matches
m5::unit::BusImpl Struct Reference
Inheritance diagram for m5::unit::BusImpl:

Public Member Functions

 BusImpl (m5::hal::bus::Bus *bus, const uint8_t addr)
 
virtual Impl * duplicate (const uint8_t addr) override
 
virtual m5::hal::error::error_t readWithTransaction (uint8_t *data, const size_t len) override
 
virtual m5::hal::error::error_t writeWithTransaction (const uint8_t *data, const size_t len, const bool stop) override
 
virtual m5::hal::error::error_t writeWithTransaction (const uint8_t reg, const uint8_t *data, const size_t len, const bool stop) override
 
virtual m5::hal::error::error_t writeWithTransaction (const uint16_t reg, const uint8_t *data, const size_t len, const bool stop) override
 
virtual m5::hal::error::error_t generalCall (const uint8_t *data, const size_t len) override
 
virtual m5::hal::error::error_t wakeup ()
 

Protected Member Functions

m5::hal::error::error_t write_with_transaction (const m5::hal::bus::I2CMasterAccessConfig &cfg, const uint8_t *data, const size_t len, const bool stop)