Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
befae481
D
Docs
项目概览
OpenHarmony
/
Docs
12 个月 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
befae481
编写于
3月 18, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 18, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2145 修改为纯净版
Merge pull request !2145 from Austin/master
上级
233a5f18
c405ca24
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
90 deletion
+11
-90
zh-cn/device-dev/driver/driver-platform-mipicsi-des.md
zh-cn/device-dev/driver/driver-platform-mipicsi-des.md
+11
-90
未找到文件。
zh-cn/device-dev/driver/driver-platform-mipicsi-des.md
浏览文件 @
befae481
...
...
@@ -61,83 +61,14 @@
<a
name=
"table3_MIPI_CSIDes"
></a>
<table border="0" cellpadding="0" cellspacing="0" width="700" style="border-collapse:
collapse;table-layout:fixed;width:855pt">
<colgroup>
<col class="xl66" width="200" style="mso-width-source:userset;mso-width-alt:7072;
width:166pt">
<col
width=
"250"
style=
"mso-width-source:userset;mso-width-alt:8800;width:206pt"
>
<col class="xl71" width="300" style="mso-width-source:userset;mso-width-alt:9792;
width:230pt">
</colgroup><tbody><tr
class=
"xl65"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl65"
width=
"221"
style=
"height:14.25pt;width:166pt"
>
功能分类
</td>
<td
class=
"xl65"
width=
"275"
style=
"width:206pt"
>
接口名
</td>
<td
class=
"xl69"
width=
"306"
style=
"width:230pt"
>
描述
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
rowspan=
"2"
height=
"38"
class=
"xl67"
style=
"height:28.5pt"
>
获取/释放MIPI-CSI控制器操作句柄
</td>
<td
class=
"xl68"
>
MipiCsiOpen
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
获取MIPI-CSI控制器操作句柄
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiClose
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
释放MIPI-CSI控制器操作句柄
</td>
</tr>
<tr
class=
"xl68"
height=
"114"
style=
"height:85.5pt"
>
<td
rowspan=
"4"
height=
"228"
class=
"xl67"
style=
"height:171.0pt"
>
MIPI-CSI相应配置
</td>
<td
class=
"xl68"
>
MipiCsiSetComboDevAttr
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
设置MIPI,CMOS或者LVDS相机的参数给控制器,参数包括工作模式,图像区域,图像深度,数据速率和物理通道等
</td>
</tr>
<tr
class=
"xl68"
height=
"38"
style=
"height:28.5pt"
>
<td
height=
"38"
class=
"xl68"
style=
"height:28.5pt"
>
MipiCsiSetExtDataType(可选)
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
设置YUV和RAW数据格式和位深
</td>
</tr>
<tr
class=
"xl68"
height=
"57"
style=
"height:42.75pt"
>
<td
height=
"57"
class=
"xl68"
style=
"height:42.75pt"
>
MipiCsiSetHsMode
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
设置MIPI RX的Lane分布。根据硬件连接的形式选择具体的mode
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiSetPhyCmvmode
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
设置共模电压模式
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
rowspan=
"2"
height=
"38"
class=
"xl67"
style=
"height:28.5pt"
>
复位/撤销复位Sensor
</td>
<td
class=
"xl68"
>
MipiCsiResetSensor
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
复位Sensor
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiUnresetSensor
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
撤销复位Sensor
</td>
</tr>
<tr
class=
"xl68"
height=
"57"
style=
"height:42.75pt"
>
<td
rowspan=
"2"
height=
"76"
class=
"xl67"
style=
"height:57.0pt"
>
复位/撤销复位MIPI RX
</td>
<td
class=
"xl68"
>
MipiCsiResetRx
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
复位MIPI RX。不同的s32WorkingViNum有不同的enSnsType
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiUnresetRx
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
撤销复位MIPI RX
</td>
</tr>
<tr
class=
"xl68"
height=
"76"
style=
"height:57.0pt"
>
<td
rowspan=
"2"
height=
"95"
class=
"xl67"
style=
"height:71.25pt"
>
使能/关闭MIPI的时钟
</td>
<td
class=
"xl68"
>
MipiCsiEnableClock
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
使能MIPI的时钟。根据上层函数电泳传递的enSnsType参数决定是用MIPI还是LVDS
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiDisableClock
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
关闭MIPI设备的时钟
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
rowspan=
"2"
height=
"38"
class=
"xl67"
style=
"height:28.5pt"
>
使能/禁用MIPI上的Sensor时钟
</td>
<td
class=
"xl68"
>
MipiCsiEnableSensorClock
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
使能MIPI上的Sensor时钟
</td>
</tr>
<tr
class=
"xl68"
height=
"19"
style=
"height:14.25pt"
>
<td
height=
"19"
class=
"xl68"
style=
"height:14.25pt"
>
MipiCsiDisableSensorClock
</td>
<td
class=
"xl70"
width=
"306"
style=
"width:230pt"
>
关闭Sensor的时钟
</td>
</tr>
</tbody></table>
| 功能分类 | 接口名 |
| -------- | -------- |
| 获取/释放MIPI-CSI控制器操作句柄 | MipiCsiOpen:获取MIPI-CSI控制器操作句柄
<br/>
MipiCsiClose:释放MIPI-CSI控制器操作句柄 |
| MIPI-CSI相应配置 | MipiCsiSetComboDevAttr:设置MIPI,CMOS或者LVDS相机的参数给控制器,参数包括工作模式,图像区域,图像深度,数据速率和物理通道等
<br/>
MipiCsiSetExtDataType(可选):设置YUV和RAW数据格式和位深
<br/>
MipiCsiSetHsMode:设置MIPI
RX的Lane分布。根据硬件连接的形式选择具体的mode
<br/>
MipiCsiSetPhyCmvmode:设置共模电压模式 |
| 复位/撤销复位Sensor | MipiCsiResetSensor:复位Sensor
<br/>
MipiCsiUnresetSensor:撤销复位Sensor |
| 复位/撤销复位MIPI
RX | MipiCsiResetRx:复位MIPI
RX。不同的s32WorkingViNum有不同的enSnsType
<br/>
MipiCsiUnresetRx:撤销复位MIPI
RX |
| 使能/关闭MIPI的时钟 | MipiCsiEnableClock:使能MIPI的时钟。根据上层函数电泳传递的enSnsType参数决定是用MIPI还是LVDS
<br/>
MipiCsiDisableClock:关闭MIPI设备的时钟 |
| 使能/禁用MIPI上的Sensor时钟 | MipiCsiEnableSensorClock:使能MIPI上的Sensor时钟
<br/>
MipiCsiDisableSensorClock:关闭Sensor的时钟 |
## 使用指导<a name="section2_MIPI_CSIDes"></a>
...
...
@@ -611,19 +542,9 @@ void MipiCsiClose(DevHandle handle);
<a
name=
"table17_MIPI_CSIDes"
></a>
<table><thead
align=
"left"
><tr
id=
"row1525793312"
><th
class=
"cellrowborder"
valign=
"top"
width=
"50%"
id=
"mcps1.2.3.1.1"
><p
id=
"p115402031153111"
><a
name=
"p115402031153111"
></a><a
name=
"p115402031153111"
></a>
参数
</p>
</th>
<th
class=
"cellrowborder"
valign=
"top"
width=
"50%"
id=
"mcps1.2.3.1.2"
><p
id=
"p65406313319"
><a
name=
"p65406313319"
></a><a
name=
"p65406313319"
></a>
参数描述
</p>
</th>
</tr>
</thead>
<tbody><tr
id=
"row1926109193116"
><td
class=
"cellrowborder"
valign=
"top"
width=
"50%"
headers=
"mcps1.2.3.1.1 "
><p
id=
"p105419317318"
><a
name=
"p105419317318"
></a><a
name=
"p105419317318"
></a>
handle
</p>
</td>
<td
class=
"cellrowborder"
valign=
"top"
width=
"50%"
headers=
"mcps1.2.3.1.2 "
><p
id=
"p132442255912"
><a
name=
"p132442255912"
></a><a
name=
"p132442255912"
></a>
MIPI-CSI控制器操作句柄
</p>
</td>
</tr>
</tbody>
</table>
| 参数 | 参数描述 |
| ------------ | ------------------------------------------------ |
| handle | MIPI-CSI控制器操作句柄 |
```
c
MipiCsiClose
(
MIPIHandle
);
/* 释放掉MIPI-CSI控制器操作句柄 */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录