/*
 * This file is auto-generated, do not modify!
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once
#include <fwupdplugin.h>
/**
 * FuWchCh341aCmd:
 */
typedef enum {
    /**
     * FU_WCH_CH341A_CMD_SET_OUTPUT:
     */
    FU_WCH_CH341A_CMD_SET_OUTPUT = 0xA1,
    /**
     * FU_WCH_CH341A_CMD_IO_ADDR:
     */
    FU_WCH_CH341A_CMD_IO_ADDR = 0xA2,
    /**
     * FU_WCH_CH341A_CMD_PRINT_OUT:
     */
    FU_WCH_CH341A_CMD_PRINT_OUT = 0xA3,
    /**
     * FU_WCH_CH341A_CMD_SPI_STREAM:
     */
    FU_WCH_CH341A_CMD_SPI_STREAM = 0xA8,
    /**
     * FU_WCH_CH341A_CMD_SIO_STREAM:
     */
    FU_WCH_CH341A_CMD_SIO_STREAM = 0xA9,
    /**
     * FU_WCH_CH341A_CMD_I2C_STREAM:
     */
    FU_WCH_CH341A_CMD_I2C_STREAM = 0xAA,
    /**
     * FU_WCH_CH341A_CMD_UIO_STREAM:
     */
    FU_WCH_CH341A_CMD_UIO_STREAM = 0xAB,
}  FuWchCh341aCmd;
/**
 * FuWchCh341aCmdI2c:
 */
typedef enum {
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_START:
     */
    FU_WCH_CH341A_CMD_I2C_STM_START = 0x74,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_STOP:
     */
    FU_WCH_CH341A_CMD_I2C_STM_STOP = 0x75,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_OUT:
     */
    FU_WCH_CH341A_CMD_I2C_STM_OUT = 0x80,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_IN:
     */
    FU_WCH_CH341A_CMD_I2C_STM_IN = 0xC0,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_SET:
     */
    FU_WCH_CH341A_CMD_I2C_STM_SET = 0x60,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_US:
     */
    FU_WCH_CH341A_CMD_I2C_STM_US = 0x40,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_MS:
     */
    FU_WCH_CH341A_CMD_I2C_STM_MS = 0x50,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_DLY:
     */
    FU_WCH_CH341A_CMD_I2C_STM_DLY = 0x0F,
    /**
     * FU_WCH_CH341A_CMD_I2C_STM_END:
     */
    FU_WCH_CH341A_CMD_I2C_STM_END = 0x00,
}  FuWchCh341aCmdI2c;
/**
 * FuWchCh341aCmdUio:
 */
typedef enum {
    /**
     * FU_WCH_CH341A_CMD_UIO_STM_IN:
     */
    FU_WCH_CH341A_CMD_UIO_STM_IN = 0x00,
    /**
     * FU_WCH_CH341A_CMD_UIO_STM_DIR:
     */
    FU_WCH_CH341A_CMD_UIO_STM_DIR = 0x40,
    /**
     * FU_WCH_CH341A_CMD_UIO_STM_OUT:
     */
    FU_WCH_CH341A_CMD_UIO_STM_OUT = 0x80,
    /**
     * FU_WCH_CH341A_CMD_UIO_STM_US:
     */
    FU_WCH_CH341A_CMD_UIO_STM_US = 0xC0,
    /**
     * FU_WCH_CH341A_CMD_UIO_STM_END:
     */
    FU_WCH_CH341A_CMD_UIO_STM_END = 0x20,
}  FuWchCh341aCmdUio;
/**
 * FuWchCh341aStmI2cSpeed:
 */
typedef enum {
    /**
     * FU_WCH_CH341A_STM_I2C_SPEED_LOW:
     */
    FU_WCH_CH341A_STM_I2C_SPEED_LOW = 0x00,
    /**
     * FU_WCH_CH341A_STM_I2C_SPEED_STANDARD:
     */
    FU_WCH_CH341A_STM_I2C_SPEED_STANDARD = 0x01,
    /**
     * FU_WCH_CH341A_STM_I2C_SPEED_FAST:
     */
    FU_WCH_CH341A_STM_I2C_SPEED_FAST = 0x02,
    /**
     * FU_WCH_CH341A_STM_I2C_SPEED_HIGH:
     */
    FU_WCH_CH341A_STM_I2C_SPEED_HIGH = 0x03,
}  FuWchCh341aStmI2cSpeed;
