Skip to content

File lt_cpu.c

FileList > api > lt_cpu.c

Go to the source code of this file.

  • #include "lt_cpu.h"

Public Functions

Type Name
__attribute__ ((weak))
lt_cpu_family_t lt_cpu_get_family ()
Get CPU family ID (as lt_cpu_family_t enum member).
const char * lt_cpu_get_family_name ()
Get CPU family name as string.
uint32_t lt_cpu_get_freq_mhz ()
Get CPU frequency in MHz.
const char * lt_cpu_get_model_code ()
Get CPU model name as string (lowercase).
const char * lt_cpu_get_model_name ()
Get CPU model name as string (uppercase).

Public Functions Documentation

function __attribute__

__attribute__ (
    (weak)
) 

function lt_cpu_get_family

lt_cpu_family_t lt_cpu_get_family () 

function lt_cpu_get_family_name

const char * lt_cpu_get_family_name () 

function lt_cpu_get_freq_mhz

uint32_t lt_cpu_get_freq_mhz () 

function lt_cpu_get_model_code

const char * lt_cpu_get_model_code () 

function lt_cpu_get_model_name

const char * lt_cpu_get_model_name () 

The documentation for this class was generated from the following file cores/common/base/api/lt_cpu.c