Skip to content

File lt_types.h

FileList > base > lt_types.h

Go to the source code of this file.

  • #include <stdint.h>

Public Types

Type Name
enum lt_cpu_family_t
enum lt_cpu_model_t

Macros

Type Name
define CPU_MODEL (family, chip_id) (((family >> 24) << 8) | chip_id)
define CPU_MODEL_ENUM (family, chip_id) (lt_cpu_model_t) CPU_MODEL(family, chip_id)

Public Types Documentation

enum lt_cpu_family_t

enum lt_cpu_family_t {
    F_RTL8710A = 0x9FFFD543,
    F_RTL8710B = 0x22E0D6FC,
    F_RTL8720C = 0xE08F7564,
    F_RTL8720D = 0x3379CFE2,
    F_BK7231Q = 0xAFE81D49,
    F_BK7231T = 0x675A40B0,
    F_BK7231N = 0x7B3EF230,
    F_BK7251 = 0x6A82CC42,
    F_BL60X = 0xDE1270B7
};

enum lt_cpu_model_t

enum lt_cpu_model_t {
    RTL8710BL = CPU_MODEL(F_RTL8710B, 0xE0),
    RTL8710BN = CPU_MODEL(F_RTL8710B, 0xFF),
    RTL8710BU = CPU_MODEL(F_RTL8710B, 0xFE),
    RTL8710BX = CPU_MODEL(F_RTL8710B, 0xF6),
    RTL8710L0 = CPU_MODEL(F_RTL8710B, 0xFB),
    RTL8711BN = CPU_MODEL(F_RTL8710B, 0xFD),
    RTL8711BU = CPU_MODEL(F_RTL8710B, 0xFC),
    MX1290 = RTL8710BN,
    MX1290V2 = RTL8710BX,
    W302 = RTL8710BN,
    RTL8720CM = CPU_MODEL(F_RTL8720C, 0xEC),
    RTL8720CF = CPU_MODEL(F_RTL8720C, 0xED),
    RTL8720CX = RTL8720CM,
    BK7231Q = CPU_MODEL(F_BK7231Q, 0x31),
    BK7231T = CPU_MODEL(F_BK7231T, 0x1A),
    BK7231N = CPU_MODEL(F_BK7231N, 0x1C),
    BK7252 = CPU_MODEL(F_BK7251, 0x00),
    BL2028N = BK7231N,
    BK7231S = BK7231T,
    BK7231U = BK7231T
};

Macro Definition Documentation

define CPU_MODEL

#define CPU_MODEL (
    family,
    chip_id
) (((family >> 24) << 8) | chip_id)

define CPU_MODEL_ENUM

#define CPU_MODEL_ENUM (
    family,
    chip_id
) (lt_cpu_model_t) CPU_MODEL(family, chip_id)

The documentation for this class was generated from the following file cores/common/base/lt_types.h