WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
System configuration items
System configuration items 的协作图:

宏定义

#define OS_SYS_CLOCK   (get_bus_clk())
 
#define OS_TIME_TIMER_CLOCK   OS_SYS_CLOCK
 
#define LOSCFG_BASE_CORE_ADJ_PER_SECOND   500
 
#define SCHED_CLOCK_INTETRVAL_TICKS   100
 
#define LOSCFG_KERNEL_CORE_NUM   1
 
#define GET_SYS_CLOCK()   (g_sysClock)
 
#define SET_SYS_CLOCK(clock)   (g_sysClock = (clock))
 

变量

UINTPTR g_sys_mem_addr_end
 
UINT32 g_sysClock
 
UINT32 g_tickPerSecond
 

详细描述

宏定义说明

◆ GET_SYS_CLOCK

#define GET_SYS_CLOCK ( )    (g_sysClock)

get system clock

◆ LOSCFG_BASE_CORE_ADJ_PER_SECOND

#define LOSCFG_BASE_CORE_ADJ_PER_SECOND   500

Microseconds of adjtime in one second

◆ LOSCFG_KERNEL_CORE_NUM

#define LOSCFG_KERNEL_CORE_NUM   1

The core number is one in non-SMP architecture.

◆ OS_SYS_CLOCK

#define OS_SYS_CLOCK   (get_bus_clk())

System clock (unit: HZ)

◆ OS_TIME_TIMER_CLOCK

#define OS_TIME_TIMER_CLOCK   OS_SYS_CLOCK

time timer clock (unit: HZ)

◆ SCHED_CLOCK_INTETRVAL_TICKS

#define SCHED_CLOCK_INTETRVAL_TICKS   100

Sched clock interval

◆ SET_SYS_CLOCK

#define SET_SYS_CLOCK (   clock)    (g_sysClock = (clock))

set system clock

变量说明

◆ g_sys_mem_addr_end

UINTPTR g_sys_mem_addr_end
extern

The end address of system memory.

◆ g_sysClock

UINT32 g_sysClock
extern

system clock

◆ g_tickPerSecond

UINT32 g_tickPerSecond
extern

ticks per second