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

#pragma once
#include <fwupdplugin.h>
/**
 * FuHughskiColorhugCmd:
 */
typedef enum {
    /**
     * FU_HUGHSKI_COLORHUG_CMD_GET_FIRMWARE_VERSION:
     */
    FU_HUGHSKI_COLORHUG_CMD_GET_FIRMWARE_VERSION = 0x07,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_RESET:
     */
    FU_HUGHSKI_COLORHUG_CMD_RESET = 0x24,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_READ_FLASH:
     */
    FU_HUGHSKI_COLORHUG_CMD_READ_FLASH = 0x25,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_WRITE_FLASH:
     */
    FU_HUGHSKI_COLORHUG_CMD_WRITE_FLASH = 0x26,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_BOOT_FLASH:
     */
    FU_HUGHSKI_COLORHUG_CMD_BOOT_FLASH = 0x27,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_SET_FLASH_SUCCESS:
     */
    FU_HUGHSKI_COLORHUG_CMD_SET_FLASH_SUCCESS = 0x28,
    /**
     * FU_HUGHSKI_COLORHUG_CMD_ERASE_FLASH:
     */
    FU_HUGHSKI_COLORHUG_CMD_ERASE_FLASH = 0x29,
}  FuHughskiColorhugCmd;
/**
 * FuHughskiColorhugError:
 */
typedef enum {
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_NONE:
     */
    FU_HUGHSKI_COLORHUG_ERROR_NONE,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_UNKNOWN_CMD:
     */
    FU_HUGHSKI_COLORHUG_ERROR_UNKNOWN_CMD,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_WRONG_UNLOCK_CODE:
     */
    FU_HUGHSKI_COLORHUG_ERROR_WRONG_UNLOCK_CODE,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_NOT_IMPLEMENTED:
     */
    FU_HUGHSKI_COLORHUG_ERROR_NOT_IMPLEMENTED,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_UNDERFLOW_SENSOR:
     */
    FU_HUGHSKI_COLORHUG_ERROR_UNDERFLOW_SENSOR,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_NO_SERIAL:
     */
    FU_HUGHSKI_COLORHUG_ERROR_NO_SERIAL,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_WATCHDOG:
     */
    FU_HUGHSKI_COLORHUG_ERROR_WATCHDOG,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INVALID_ADDRESS:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INVALID_ADDRESS,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INVALID_LENGTH:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INVALID_LENGTH,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INVALID_CHECKSUM:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INVALID_CHECKSUM,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INVALID_VALUE:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INVALID_VALUE,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_UNKNOWN_CMD_FOR_BOOTLOADER:
     */
    FU_HUGHSKI_COLORHUG_ERROR_UNKNOWN_CMD_FOR_BOOTLOADER,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_NO_CALIBRATION:
     */
    FU_HUGHSKI_COLORHUG_ERROR_NO_CALIBRATION,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_MULTIPLY:
     */
    FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_MULTIPLY,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_ADDITION:
     */
    FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_ADDITION,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_SENSOR:
     */
    FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_SENSOR,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_STACK:
     */
    FU_HUGHSKI_COLORHUG_ERROR_OVERFLOW_STACK,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_DEVICE_DEACTIVATED:
     */
    FU_HUGHSKI_COLORHUG_ERROR_DEVICE_DEACTIVATED,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INCOMPLETE_REQUEST:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INCOMPLETE_REQUEST,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_SENSOR:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_SENSOR,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_RED:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_RED,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_GREEN:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_GREEN,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_BLUE:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_BLUE,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_COLOR_SELECT:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_COLOR_SELECT,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_MULTIPLIER:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_MULTIPLIER,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_INVALID_CALIBRATION:
     */
    FU_HUGHSKI_COLORHUG_ERROR_INVALID_CALIBRATION,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SRAM_FAILED:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SRAM_FAILED,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_OUT_OF_MEMORY:
     */
    FU_HUGHSKI_COLORHUG_ERROR_OUT_OF_MEMORY,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_TEMPERATURE:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_TEMPERATURE,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_I2C:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_I2C,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VDD:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VDD,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VSS:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VSS,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VREF:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_ADC_VREF,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_I2C_TARGET_ADDRESS:
     */
    FU_HUGHSKI_COLORHUG_ERROR_I2C_TARGET_ADDRESS,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_I2C_TARGET_CONFIG:
     */
    FU_HUGHSKI_COLORHUG_ERROR_I2C_TARGET_CONFIG,
    /**
     * FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_EEPROM:
     */
    FU_HUGHSKI_COLORHUG_ERROR_SELF_TEST_EEPROM,
}  FuHughskiColorhugError;
#define FU_HUGHSKI_COLORHUG_ERROR_LAST 36
const gchar *fu_hughski_colorhug_error_to_string(FuHughskiColorhugError val) G_GNUC_CONST;
