class FakeI2c

Defined at line 20 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

Public Methods

void FakeI2c ()

Defined at line 22 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

uint16_t configuration ()

Defined at line 27 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

uint16_t calibration ()

Defined at line 28 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

uint16_t mask_enable ()

Defined at line 29 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

uint16_t alert_limit ()

Defined at line 30 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

void set_bus_voltage (uint16_t voltage)

Defined at line 32 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

void set_power (uint16_t power)

Defined at line 33 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc

Protected Methods

zx_status_t Transact (const uint8_t * write_buffer, size_t write_buffer_size, uint8_t * read_buffer, size_t * read_buffer_size)

Defined at line 36 of file ../../src/devices/power/drivers/ti-ina231/ti-ina231-test.cc