# Copyright (c) 2024 JJTech # # SPDX-License-Identifier: GPL-2.0-or-later """ HDQ (High-speed Data Queue) is a simple protocol used for Texas Instruments 'Gas Gauge' battery fuel gauges. It is used to read and write data to the fuel gauge's memory. Similarly to the '1-wire' protocol, it is a single-wire protocol that uses a single data line to communicate with the fuel gauge. Protocol documentation: https://www.ti.com/lit/pdf/slua408 """ import sigrokdecode as srd # type: ignore from .pd import Decoder