class Gt6853Device

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

Public Members

static const uint16_t kMaxReportsPerHalfSecond

Public Methods

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

Defined at line 84 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-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 87 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.h

zx_status_t Create (void * ctx, zx_device_t * parent)

Defined at line 91 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

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

Defined at line 95 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.h

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

Defined at line 116 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.h

void DdkRelease ()

Defined at line 209 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

void DdkUnbind (ddk::UnbindTxn txn)

Defined at line 215 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

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

Defined at line 228 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

void GetInputReportsReaderV2 (GetInputReportsReaderV2RequestView request, GetInputReportsReaderV2Completer::Sync & completer)

Defined at line 233 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

void GetDescriptor (GetDescriptorCompleter::Sync & completer)

Defined at line 254 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

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

Defined at line 301 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

void GetFeatureReport (GetFeatureReportCompleter::Sync & completer)

Defined at line 306 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

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

Defined at line 310 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

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

Defined at line 314 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

void WaitForNextReader ()

Visible for testing.

Defined at line 321 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-gt6853.cc

zx_status_t WaitForFirmwareDownload ()

Defined at line 326 of file ../../src/ui/input/drivers/goodix-gt6853/cpp/goodix-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/goodix-gt6853/cpp/goodix-gt6853.h