system_struct.md 356 B

平台架构

总体架构

Luat核心流程

  1. 系统启动,创建消息队列
  2. 注册周边回调函数
  3. 执行lua脚本
  4. lua脚本轮训等待消息队列

    while 1 do
    local msg = rtos.receive(0)
    if msg then
        handle(msg)
    end
    end