class Gt6853Device

Defined at line 53 of file ../../src/ui/input/drivers/gt6853/gt6853.h

Public Methods

void Gt6853Device (zx_device_t * parent, async_dispatcher_t * dispatcher, ddk::I2cChannel i2c)

Defined at line 78 of file ../../src/ui/input/drivers/gt6853/gt6853.h

void Gt6853Device (zx_device_t * parent, async_dispatcher_t * dispatcher, ddk::I2cChannel i2c, fidl::ClientEnd<fuchsia_hardware_gpio::Gpio> interrupt_gpio, fidl::ClientEnd<fuchsia_hardware_gpio::Gpio> reset_gpio)

Defined at line 81 of file ../../src/ui/input/drivers/gt6853/gt6853.h

zx_status_t Create (void * ctx, zx_device_t * parent)

Defined at line 87 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

bool RunUnitTests (void * ctx, zx_device_t * parent, zx_handle_t channel)
void ~Gt6853Device ()

Defined at line 89 of file ../../src/ui/input/drivers/gt6853/gt6853.h

void DdkRelease ()

Defined at line 94 of file ../../src/ui/input/drivers/gt6853/gt6853.h

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_input_report::InputDevice> metadata, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 108 of file ../../src/ui/input/drivers/gt6853/gt6853.h

void DdkUnbind (ddk::UnbindTxn txn)

Defined at line 135 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void GetInputReportsReader (GetInputReportsReaderRequestView request, GetInputReportsReaderCompleter::Sync & completer)

Defined at line 140 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void GetDescriptor (GetDescriptorCompleter::Sync & completer)

Defined at line 148 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void SendOutputReport (SendOutputReportRequestView request, SendOutputReportCompleter::Sync & completer)

Defined at line 195 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void GetFeatureReport (GetFeatureReportCompleter::Sync & completer)

Defined at line 200 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void SetFeatureReport (SetFeatureReportRequestView request, SetFeatureReportCompleter::Sync & completer)

Defined at line 204 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void GetInputReport (GetInputReportRequestView request, GetInputReportCompleter::Sync & completer)

Defined at line 208 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

void WaitForNextReader ()

Visible for testing.

Defined at line 213 of file ../../src/ui/input/drivers/gt6853/gt6853.cc

Enumerations

enum class Register : uint16_t
Name Value
kDspMcuPower 0x2010
kBankSelect 0x2048
kCache 0x204b
kAccessPatch0 0x204d
kWtdTimer 0x20b0
kCpuCtrl 0x2180
kScramble 0x2218
kEsdKey 0x2318
kEventStatusReg 0x4100
kContactsReg 0x4101
kContactsStartReg 0x4102
kCpuRunFrom 0x4506
kSensorIdReg 0x4541
kIspRunFlag 0x6006
kSubsysType 0x6020
kFlashFlag 0x6022
kCommandReg 0x60cc
kConfigDataReg 0x60dc
kIspBuffer 0x6100
kIspAddr 0xc000

Defined at line 55 of file ../../src/ui/input/drivers/gt6853/gt6853.h