提交 eb190501 编写于 作者: D duangavin123

更新快速入门

Signed-off-by: Nduangavin123 <duanxichao@huawei.com>
上级 28dcf451
......@@ -5,7 +5,7 @@
### 功能简介
​ Light驱动模型为上层Light硬件服务层提供稳定的灯控制能力接口,包括获取灯类型、配置点灯模式、配置灯闪烁效果、点灯、熄灯等。基于HDF(Hardware Driver Foundation)驱动框架开发的Light驱动模型,实现跨操作系统迁移,器件差异配置等功能。实现Light驱动“一次开发,多系统部署”的目标。Light驱动模型如[图1](#Light驱动模型图)示:
​ Light驱动模型为上层Light硬件服务层提供稳定的灯控制能力接口,包括获取灯类型、配置点灯模式、配置灯闪烁效果、点灯、熄灯等。基于HDF(Hardware Driver Foundation)驱动框架开发的Light驱动模型,实现跨操作系统迁移,器件差异配置等功能。实现Light驱动“一次开发,多系统部署”的目标。Light驱动模型如图1示:
**图 1** Light驱动模型图
......@@ -13,7 +13,7 @@
### 运作机制
通过介绍Light驱动模型的加载以及运行流程,对模型内部关键组件以及关联组件之间的关系进行了划分,整体加载流程如[图2](#Light驱动运行图)所示:
通过介绍Light驱动模型的加载以及运行流程,对模型内部关键组件以及关联组件之间的关系进行了划分,整体加载流程如图2所示:
**图 2** Light驱动运行图
......@@ -36,7 +36,7 @@ Light驱动模型以标准系统Hi3516DV300为例,介绍整个驱动加载及
### 接口说明
Light驱动模型支持获取系统中所有灯的信息,动态配置闪烁模式和闪烁时间的能力。Light硬件服务调用GetLightInfo获取Light设备的基本信息;调用TurnOnLight接口启动配置的闪烁效果。Light驱动模型对外开放的API接口能力,参考[表1](#Light驱动模型对外API接口能力介绍)
Light驱动模型支持获取系统中所有灯的信息,动态配置闪烁模式和闪烁时间的能力。Light硬件服务调用GetLightInfo获取Light设备的基本信息;调用TurnOnLight接口启动配置的闪烁效果。Light驱动模型对外开放的API接口能力,参考表1
**表1** Light驱动模型对外API接口能力介绍
......@@ -148,7 +148,7 @@ Light驱动模型支持获取系统中所有灯的信息,动态配置闪烁模
HdfWorkDestroy(&drvData->work);
HdfWorkQueueDestroy(&drvData->workQueue);
(void)OsalMutexDestroy(&drvData->mutex);
(void)OsalMemFree(drvData);
OsalMemFree(drvData);
g_lightDrvData = NULL;
}
```
......
# 快速入门
- 轻量和小型系统入门
- [轻量与小型系统入门概述](quickstart-ide-lite-overview.md)
- 准备轻量与小型系统环境
- [搭建系统环境](quickstart-ide-lite-env-system.md)
- [获取源码](quickstart-ide-lite-sourcecode-acquire.md)
- [创建源码工程](quickstart-ide-lite-create-project.md)
- 运行Hello World
- Hi3861开发板
- [编写“Hello World”程序](quickstart-ide-lite-steps-hi3861-application-framework.md)
- [编译](quickstart-ide-lite-steps-hi3861-building.md)
- [烧录](quickstart-ide-lite-steps-hi3861-burn.md)
- [联网](quickstart-ide-lite-steps-hi3861-netconfig.md)
- [调试验证](quickstart-ide-lite-steps-hi3861-debug.md)
- [运行](quickstart-ide-lite-steps-hi3816-running.md)
- Hi3516开发板
- [编写“Hello World”程序](quickstart-ide-lite-steps-hi3516-application-framework.md)
- [编译](quickstart-ide-lite-steps-hi3516-building.md)
- [烧录](quickstart-ide-lite-steps-hi3516-burn.md)
- [运行](quickstart-ide-lite-steps-hi3516-running.md)
- 附录
- 开发板介绍
- [Hi3861开发板介绍](quickstart-ide-lite-introduction-hi3861.md)
- [Hi3516开发板介绍](quickstart-ide-lite-introduction-hi3516.md)
- 标准系统入门
- [标准系统入门概述](quickstart-ide-standard-overview.md)
- 准备标准系统环境
- [搭建系统环境](quickstart-ide-standard-env-system.md)
- [获取源码](quickstart-ide-standard-sourcecode-acquire.md)
- [创建源码工程](quickstart-ide-standard-create-project.md)
- 运行“Hello World”
- Hi3516开发板
- [编写“Hello World”程序](quickstart-ide-standard-running-hi3516-create.md)
- [编译](quickstart-ide-standard-running-hi3516-build.md)
- [烧录](quickstart-ide-standard-running-hi3516-burning.md)
- [运行](quickstart-ide-standard-running-hi3516-running.md)
- RK3568开发板
- [编写“Hello World”程序](quickstart-ide-standard-running-rk3568-create.md)
- [编译](quickstart-ide-standard-running-rk3568-build.md)
- [烧录](quickstart-ide-standard-running-rk3568-burning.md)
- [运行](quickstart-ide-standard-running-rk3568-running.md)
- 附录
- 开发板介绍
- [Hi3516开发板介绍](quickstart-ide-standard-board-introduction-hi3516.md)
- [RK3568开发板介绍](quickstart-ide-standard-board-introduction-rk3568.md)
# quick-start
- 快速入门
- 轻量和小型系统入门
- 轻量和小型系统快速入门-安装包
- [轻量与小型系统入门概述](quickstart-lite-overview.md)
- [搭建轻量与小型系统环境](quickstart-lite-env-setup.md)
- 运行“Hello World”
- Hi3861开发板
- [安装Hi3861开发板环境](quickstart-lite-steps-hi3861-setting.md)
- [编写“Hello World”程序](quickstart-lite-steps-hi3861-application-framework.md)
- [编译](quickstart-lite-steps-hi3861-building.md)
- [烧录](quickstart-lite-steps-hi3861-burn.md)
- [联网](quickstart-lite-steps-hi3861-netconfig.md)
- [调试验证](quickstart-lite-steps-hi3861-debug.md)
- [运行](quickstart-lite-steps-hi3816-running.md)
- Hi3516开发板
- [安装Hi3516开发板环境](quickstart-lite-steps-hi3516-setting.md)
- [编写“Hello World”程序](quickstart-lite-steps-hi3516-application-framework.md)
- [编译](quickstart-lite-steps-hi3516-building.md)
- [烧录](quickstart-lite-steps-hi3516-burn.md)
- [运行](quickstart-lite-steps-hi3516-running.md)
- 常见问题
- [hb安装异常](quickstart-lite-faq-hb.md)
- [编译异常](quickstart-lite-faq-compose.md)
- [烧录异常](quickstart-lite-faq-burning.md)
- 附录
- 开发板介绍
- [Hi3861开发板介绍](quickstart-lite-introduction-hi3861.md)
- [Hi3516开发板介绍](quickstart-lite-introduction-hi3516.md)
- [参考信息](quickstart-lite-reference.md)
- 轻量和小型系统快速入门-IDE
- [轻量与小型系统入门概述](quickstart-ide-lite-overview.md)
- 准备轻量与小型系统环境
- [搭建Windows+Ubuntu混合开发环境](quickstart-ide-lite-env-setup-win-ubuntu.md)
- [获取源码](quickstart-ide-lite-sourcecode-acquire.md)
- [创建源码工程](quickstart-ide-lite-create-project.md)
- 运行“Hello World”
- Hi3861开发板
- [编写“Hello World”程序](quickstart-ide-lite-steps-hi3861-application-framework.md)
- [编译](quickstart-ide-lite-steps-hi3861-building.md)
- [烧录](quickstart-ide-lite-steps-hi3861-burn.md)
- [联网](quickstart-ide-lite-steps-hi3861-netconfig.md)
- [调试验证](quickstart-ide-lite-steps-hi3861-debug.md)
- [运行](quickstart-ide-lite-steps-hi3816-running.md)
- Hi3516开发板
- [编写“Hello World”程序](quickstart-ide-lite-steps-hi3516-application-framework.md)
- [编译](quickstart-ide-lite-steps-hi3516-building.md)
- [烧录](quickstart-ide-lite-steps-hi3516-burn.md)
- [运行](quickstart-ide-lite-steps-hi3516-running.md)
- 附录
- 开发板介绍
- [Hi3861开发板介绍](quickstart-ide-lite-introduction-hi3861.md)
- [Hi3516开发板介绍](quickstart-ide-lite-introduction-hi3516.md)
- 标准系统入门
- 标准系统快速入门-安装包
- [标准系统入门概述](quickstart-standard-overview.md)
- [搭建标准系统环境](quickstart-standard-env-setup.md)
- 运行“Hello World”
- Hi3516开发板
- [编写“Hello World”程序](quickstart-standard-running-hi3516-create.md)
- [编译](quickstart-standard-running-hi3516-build.md)
- [烧录](quickstart-standard-running-hi3516-burning.md)
- [运行](quickstart-standard-running-hi3516-running.md)
- RK3568开发板
- [编写“Hello World”程序](quickstart-standard-running-rk3568-create.md)
- [编译](quickstart-standard-running-rk3568-build.md)
- [烧录](quickstart-standard-running-rk3568-burning.md)
- [运行](quickstart-standard-running-rk3568-running.md)
- 常见问题
- [hb安装异常](quickstart-standard-faq-hb.md)
- [编译异常](quickstart-standard-faq-compose.md)
- [烧录异常](quickstart-standard-faq-burning.md)
- 附录
- 开发板介绍
- [Hi3516开发板介绍](quickstart-standard-board-introduction-hi3516.md)
- [RK3568开发板介绍](quickstart-standard-board-introduction-rk3568.md)
- [参考信息](quickstart-standard-reference.md)
- 标准系统快速入门-IDE
- [标准系统入门概述](quickstart-ide-standard-overview.md)
- 准备标准系统环境
- [搭建Windows+Ubuntu混合开发环境](quickstart-ide-standard-env-setup-win-ubuntu.md)
- [获取源码](quickstart-ide-standard-sourcecode-acquire.md)
- [创建源码工程](quickstart-ide-standard-create-project.md)
- 运行“Hello World”
- Hi3516开发板
- [编写“Hello World”程序](quickstart-ide-standard-running-hi3516-create.md)
- [编译](quickstart-ide-standard-running-hi3516-build.md)
- [烧录](quickstart-ide-standard-running-hi3516-burning.md)
- [运行](quickstart-ide-standard-running-hi3516-running.md)
- RK3568开发板
- [编写“Hello World”程序](quickstart-ide-standard-running-rk3568-create.md)
- [编译](quickstart-ide-standard-running-rk3568-build.md)
- [烧录](quickstart-ide-standard-running-rk3568-burning.md)
- [运行](quickstart-ide-standard-running-rk3568-running.md)
- 附录
- 开发板介绍
- [Hi3516开发板介绍](quickstart-ide-standard-board-introduction-hi3516.md)
- [RK3568开发板介绍](quickstart-ide-standard-board-introduction-rk3568.md)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册