mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
bd1465ca50
Conflicts: SConstruct doc/en/arch_platform.html doc/en/comunity.html doc/en/overview.html doc/en/refman.html doc/en/refman_gen.html doc/en/status.html doc/en/tut_bootstick.html doc/images/lng_pt.png doc/images/minusnode.png doc/images/next.png doc/images/node.png doc/images/nodelast.png doc/images/plusnode.png doc/images/plusnodelast.png doc/images/previous.png doc/images/showall.png doc/images/sync.png doc/images/vertline.png doc/pt/arch.html doc/pt/arch_coding.html doc/pt/arch_con_term.html doc/pt/arch_newport.html doc/pt/arch_overview.html doc/pt/arch_platform.html doc/pt/arch_tcpip.html doc/pt/building.html doc/pt/comunity.html doc/pt/dl_binaries.html doc/pt/dl_old.html doc/pt/dl_sources.html doc/pt/downloads.html doc/pt/examples.html doc/pt/faq.html doc/pt/installing_i386.html doc/pt/installing_lm3s.html doc/pt/news.html doc/pt/overview.html doc/pt/refman_dep.html doc/pt/refman_gen.html doc/pt/status.html doc/pt/tc_386.html doc/pt/toolchains.html doc/pt/tut_openocd.html doc/pt/using.html romfs/LM3S.lua romfs/led.lua romfs/morse.lua romfs/pong.lua src/lua/linit.c src/modules/auxmods.h src/platform/lm3s/platform.c src/platform/lm3s/platform_conf.h src/platform/sim/platform_conf.h
60 lines
1.4 KiB
Lua
60 lines
1.4 KiB
Lua
-- eLua platform interface - CPU
|
|
|
|
data_en =
|
|
{
|
|
-- Title
|
|
title = "eLua platform interface - CPU",
|
|
|
|
-- Menu name
|
|
menu_name = "CPU",
|
|
|
|
-- Overview
|
|
overview = "This part of the platform interface groups functions related to the CPU and its functional modules (interrupt controller, memory controller and others).",
|
|
|
|
-- Functions
|
|
funcs =
|
|
{
|
|
{ sig = "void #platform_cpu_enable_interrupts#();",
|
|
desc = "Enable global interrupt on the CPU."
|
|
},
|
|
|
|
{ sig = "void #platform_cpu_disable_interrupts#();",
|
|
desc = "Disable global interrupts on the CPU."
|
|
},
|
|
|
|
{ sig = "u32 #platform_cpu_get_frequency#();",
|
|
desc = "Get the CPU frequency.",
|
|
ret = "the CPU $core$ frequency (in Hertz)."
|
|
},
|
|
}
|
|
}
|
|
|
|
data_pt =
|
|
{
|
|
-- Title
|
|
title = "eLua platform interface - CPU",
|
|
|
|
-- Menu name
|
|
menu_name = "CPU",
|
|
|
|
-- Overview
|
|
overview = "This part of the platform interface groups functions related to the CPU and its functional modules (interrupt controller, memory controller and others).",
|
|
|
|
-- Functions
|
|
funcs =
|
|
{
|
|
{ sig = "void #platform_cpu_enable_interrupts#();",
|
|
desc = "Enable global interrupt on the CPU."
|
|
},
|
|
|
|
{ sig = "void #platform_cpu_disable_interrupts#();",
|
|
desc = "Disable global interrupts on the CPU."
|
|
},
|
|
|
|
{ sig = "u32 #platform_cpu_get_frequency#();",
|
|
desc = "Get the CPU frequency.",
|
|
ret = "the CPU $core$ frequency (in Hertz)."
|
|
},
|
|
}
|
|
}
|