class FakeLightSensor

Defined at line 28 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

Public Methods

uint8_t GetRegisterLastWrite (const uint8_t address)

Defined at line 30 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

uint8_t GetRegisterAtIndex (size_t index, const uint8_t address)

Defined at line 34 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

void SetRegister (const uint8_t address, const uint8_t value)

Defined at line 39 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

void set_fail_transactions (bool fail_transactions)

Defined at line 44 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

sync_completion_t * read_completion ()

Defined at line 46 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc

sync_completion_t * configuration_completion ()

Defined at line 48 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-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 51 of file ../../src/devices/light-sensor/drivers/ams-light/tcs3400-test.cc