Files
luban-lite/doc/topics/sdk/cmu/cmu-interface-design-2.html

637 lines
95 KiB
HTML
Raw Normal View History

2025-04-23 17:54:31 +08:00
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.1">
2025-07-22 11:15:46 +08:00
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="Clock API CMU 驱动提供了 Clock API 接口函数,不同类型时钟支持的 API 接口函数如下表: 表 1 . Clock API 接口函数 API 函数 功能描述 fixed rate clock fixed parent clock multi parent clock disp clock pll clock hal_clk_enable() 使能时钟 - √ √ - √ ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="concept"/><meta name="DC.relation" content="../../../topics/sdk/cmu/cmu-design-guide-lite.html"/><meta name="DC.relation" content="../../../topics/sdk/cmu/cmu-data-structure-design.html"/><meta name="DC.relation" content="../../../topics/sdk/dma/dma-user-guide.html"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2025-05-16"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="cmu_interface_design_2"/><meta name="DC.language" content="zh-CN"/><title>接口设计</title><!-- Generated with build number 2025051600. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content="cmu_interface_design_2-d3752e2917"/><meta name="wh-source-relpath" content="topics/sdk/cmu/cmu-interface-design-2.dita"/><meta name="wh-out-relpath" content="topics/sdk/cmu/cmu-interface-design-2.html"/>
2025-01-23 16:37:00 +08:00
2025-04-23 17:54:31 +08:00
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2024041900"/>
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2024041900"/>
2025-01-23 16:37:00 +08:00
2025-07-22 11:15:46 +08:00
<script src="../../../webhelp/app/options/properties.js?buildId=20250519091401"></script>
2025-04-23 17:54:31 +08:00
<script src="../../../webhelp/app/localization/strings.js?buildId=2024041900"></script>
2025-07-22 11:15:46 +08:00
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250519091401"></script>
2025-04-23 17:54:31 +08:00
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2024041900"></script>
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2024041900"></script>
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-styles-web-internal.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/notes.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-common.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-images.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/footnote.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-highlight-changes.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/search-in-header.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/topic-body-list.css?buildId=2024041900"/></head>
2025-01-23 16:37:00 +08:00
<body id="cmu_interface_design_2" class="wh_topic_page frmBody">
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
跳转到主要内容
</a>
<header class="navbar navbar-default wh_header">
<div class="container-fluid">
2025-04-23 17:54:31 +08:00
<div xmlns:whc="http://www.oxygenxml.com/webhelp/components" class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
2025-01-23 16:37:00 +08:00
<div class="wh_logo_and_publication_title_container">
<div class="wh_logo_and_publication_title">
2025-04-23 17:54:31 +08:00
<a href="https://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo.png" alt=" RTOS SDK 使用指南 SDK 指南文件 "/></a>
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"> <span class="ph mainbooktitle">RTOS SDK 使用指南</span> <span class="ph booktitlealt">SDK 指南文件</span> </span></a></div>
2025-01-23 16:37:00 +08:00
</div>
</div>
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
</div>
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
2025-04-23 17:54:31 +08:00
</div></div>
</div>
</header>
2025-01-23 16:37:00 +08:00
<div class="container-fluid" id="wh_topic_container">
<div class="row">
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
2025-04-23 17:54:31 +08:00
<div data-tooltip-position="bottom" class=" wh_breadcrumb "><ol class="d-print-none"><li><span class="home"><a href="../../../index.html"><span>主页</span></a></span></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/chapter-advanced-app.html">高级应用</a><div class="wh-tooltip"><p class="shortdesc">系统、存储、多媒体、接口、安全等模块的详细配置和设计说明。</p></div></div></div></li><li><div class="topicref" data-id="chapter-system"><div class="title"><a href="../../../topics/chapter-title/chapter-system.html">系统</a><div class="wh-tooltip"><p class="shortdesc"></p></div></div></div></li><li><div class="topicref" data-id="cmu"><div class="title"><a href="../../../topics/sdk/cmu/cmu-introduction.html">CMU 使用指南</a></div></div></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/cmu/cmu-design-guide-lite.html">设计说明</a></div></div></li><li class="active"><div class="topicref" data-id="cmu_interface_design_2"><div class="title"><a href="../../../topics/sdk/cmu/cmu-interface-design-2.html">接口设计</a></div></div></li></ol></div>
2025-01-23 16:37:00 +08:00
<div class="wh_right_tools">
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
<div class=" wh_navigation_links "><span id="topic_navigation_links" class="navheader">
2025-04-23 17:54:31 +08:00
<span class="navprev"><a class="- topic/link link" href="../../../topics/sdk/cmu/cmu-data-structure-design.html" title="数据结构设计" aria-label="上一主题: 数据结构设计" rel="prev"></a></span>
<span class="navnext"><a class="- topic/link link" href="../../../topics/sdk/dma/dma-user-guide.html" title="DMA 使用指南" aria-label="下一主题: DMA 使用指南" rel="next"></a></span> </span></div>
2025-01-23 16:37:00 +08:00
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
<button type="button" id="wh_toc_button" class="custom-toggler navbar-toggler collapsed wh_toggle_button navbar-light" aria-expanded="false" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
</div>
<div class="wh_content_area">
<div class="row">
<nav id="wh_publication_toc" class="col-lg-3 col-md-3 col-sm-12 d-md-block d-none d-print-none" aria-label="Table of Contents Container">
<div id="wh_publication_toc_content">
2025-07-22 11:15:46 +08:00
<div class=" wh_publication_toc " data-tooltip-position="right"><span class="expand-button-action-labels"><span id="button-expand-action" role="button" aria-label="Expand"></span><span id="button-collapse-action" role="button" aria-label="Collapse"></span><span id="button-pending-action" role="button" aria-label="Pending"></span></span><ul role="tree" aria-label="Table of Contents"><li role="treeitem"><div data-tocid="revinfo_linux-d3752e463" class="topicref" data-id="revinfo_linux" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/revinfo/revinfo_rtos.html" id="revinfo_linux-d3752e463-link">修订记录</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e480" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e480-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/sdk-compile.html" id="id-d3752e480-link">SDK 编译</a><div class="wh-tooltip"><p class="shortdesc">介绍不同编译环境下 SDK 的详细编译流程。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e604" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e604-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/advanced/sdk-usage.html" id="id-d3752e604-link">使用指南</a><div class="wh-tooltip"><p class="shortdesc">命令详解,编译选项,镜像和分区配置,添加应用和驱动等的详细使用说明。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="concept_rcx_czh_pzb-d3752e1004" class="topicref" data-id="concept_rcx_czh_pzb" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action concept_rcx_czh_pzb-d3752e1004-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-app.html" id="concept_rcx_czh_pzb-d3752e1004-link">应用场景</a><div class="wh-tooltip"><p class="shortdesc">描述了 SDK 在不同应用场景中的配置和使用包括系统更新、OTA、安全方案等。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e1848" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e1848-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/peripheral/peripheral-intro.html" id="id-d3752e1848-link">外设移植</a><div class="wh-tooltip"><p class="shortdesc"><span class="ph">CTP、U 盘、SD 卡、有线和无线网络</span>等外设的介绍和使用说明。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2022" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2022-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/chapter-bringup.html" id="id-d3752e2022-link">BringUp</a><div class="wh-tooltip"><p class="shortdesc">主要描述板卡的各项配置,使 SDK 的环境和板卡匹配,并确保 SDK 编译后的固件能够在板子上正常运行。</p></div></div></div></li><li role="treeitem" aria-expanded="true"><div data-tocid="id-d3752e2418" class="topicref" data-id="id" data-state="expanded"><span role="button" tabindex="0" aria-labelledby="button-collapse-action id-d3752e2418-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-advanced-app.html" id="id-d3752e2418-link">高级应用</a><div class="wh-tooltip"><p class="shortdesc">系统、存储、多媒体、接口、安全等模块的详细配置和设计说明。</p></div></div></div><ul role="group" class="navbar-nav nav-list"><li role="treeitem" aria-expanded="false"><div data-tocid="_0-d3752e2435" class
2025-01-23 16:37:00 +08:00
</div>
</nav>
<div class="col-lg-7 col-md-9 col-sm-12" id="wh_topic_body">
<button id="wh_close_publication_toc_button" class="close-toc-button d-none" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc" aria-expanded="true">
<span class="close-toc-icon-container">
<span class="close-toc-icon"></span>
</span>
</button>
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_toc" aria-expanded="true">
<span class="close-toc-icon-container">
<span class="close-toc-icon"></span>
</span>
</button>
2025-04-23 17:54:31 +08:00
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic concept/concept topic concept" role="article" aria-labelledby="ariaid-title1">
<span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://aicdocco/taskstopics/sdk/cmu/cmu-interface-design-2.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">接口设计</h1>
2025-07-22 11:15:46 +08:00
<div class="date inPage">16 May 2025</div><div style="color: gray;">
2025-04-23 17:54:31 +08:00
Read time: 4 minute(s)
</div>
<div class="- topic/body concept/conbody body conbody">
<section class="- topic/section section" id="cmu_interface_design_2__clock-api" data-ofbid="cmu_interface_design_2__clock-api"><h2 class="- topic/title title sectiontitle">Clock API</h2>
2025-07-22 11:15:46 +08:00
<div class="- topic/p p" data-ofbid="d117139e37__20250519091517">CMU 驱动提供了 Clock API 接口函数,不同类型时钟支持的 API 接口函数如下表:<div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_tkq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_tkq_yhd_bdc" data-cols="7"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 1</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">Clock API 接口函数</span></caption><colgroup><col style="width:28.571428571428577%"/><col style="width:27.422828427853556%"/><col style="width:8.399138549892319%"/><col style="width:9.691313711414216%"/><col style="width:9.54773869346734%"/><col style="width:9.188801148600145%"/><col style="width:7.178750897343863%"/></colgroup><thead class="- topic/thead thead">
2025-04-23 17:54:31 +08:00
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e66__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">API 函数</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e73__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">功能描述</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e80__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">fixed</div>
<div class="- topic/div div">rate</div>
<div class="- topic/div div">clock</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e93__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">fixed</div>
<div class="- topic/div div">parent</div>
<div class="- topic/div div">clock</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e106__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">multi</div>
<div class="- topic/div div">parent</div>
<div class="- topic/div div">clock</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e120__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">disp</div>
<div class="- topic/div div">clock</div>
2025-04-23 17:54:31 +08:00
</p></th>
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e130__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">pll</div>
<div class="- topic/div div">clock</div>
2025-04-23 17:54:31 +08:00
</p></th>
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e146__20250519091517">hal_clk_enable()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e150__20250519091517">使能时钟</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e154__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e158__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e162__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e167__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e171__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e178__20250519091517">hal_clk_disable()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e182__20250519091517">关闭时钟</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e186__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e190__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e194__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e199__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e203__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e210__20250519091517">hal_clk_enable_deassertrst()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e214__20250519091517">使能时钟的同时放开复位</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e218__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e222__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e226__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e231__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e235__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e242__20250519091517">hal_clk_disable_assertrst()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e246__20250519091517">关闭时钟的同时使能复位</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e250__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e254__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e258__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e263__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e267__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e274__20250519091517">hal_clk_enable_iter()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e278__20250519091517">迭代的使能时钟及其父时钟</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e282__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e286__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e290__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e295__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e299__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e307__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">hal_clk_enable_deassertrst_iter()</div>
2025-04-23 17:54:31 +08:00
</p></td>
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e314__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">
<div class="- topic/div div">迭代的使能时钟及其父时钟</div>
<div class="- topic/div div">同时放开复位</div>
</div>
2025-04-23 17:54:31 +08:00
</p></td>
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e327__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e331__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div"></div>
2025-04-23 17:54:31 +08:00
</p></td>
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e338__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e343__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e347__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e354__20250519091517">hal_clk_get_freq()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e358__20250519091517">获取时钟频率</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e362__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e366__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e370__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e375__20250519091517"></p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e379__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e386__20250519091517">hal_clk_set_freq()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e390__20250519091517">设置时钟频率</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e394__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e398__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e402__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e407__20250519091517"></p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e411__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e418__20250519091517">hal_clk_get_parent()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e422__20250519091517">获取父时钟 id</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e426__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e430__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e434__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e439__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e443__20250519091517"></p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e450__20250519091517">hal_clk_set_parent()</p></td>
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e454__20250519091517">设置父时钟 id</p></td>
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__3"><p class="- topic/p p" data-ofbid="d117139e458__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__4"><p class="- topic/p p" data-ofbid="d117139e462__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__5"><p class="- topic/p p" data-ofbid="d117139e466__20250519091517"></p></td>
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__6"><p class="- topic/p p" data-ofbid="d117139e471__20250519091517">-</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_tkq_yhd_bdc__entry__7"><p class="- topic/p p" data-ofbid="d117139e475__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_ukq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_ukq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 2</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_enable</span></caption><colgroup><col style="width:30.48780487804878%"/><col style="width:69.51219512195121%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_ukq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e497__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_ukq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e501__20250519091517">int hal_clk_enable(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e511__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e515__20250519091517">使能时钟</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e522__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e526__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e533__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e537__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e544__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_ukq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e548__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_vkq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_vkq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 3</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_disable </span></caption><colgroup><col style="width:30.48780487804878%"/><col style="width:69.51219512195121%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_vkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e570__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_vkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e574__20250519091517">int hal_clk_disable(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e584__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e588__20250519091517">关闭时钟</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e595__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e599__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e606__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e610__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e617__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_vkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e621__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_wkq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_wkq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 4</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_enable_deassertrst</span></caption><colgroup><col style="width:29.49852507374631%"/><col style="width:70.50147492625369%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_wkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e643__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_wkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e647__20250519091517">int hal_clk_enable_deassertrst(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e657__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e661__20250519091517">使能时钟的同时放开复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e668__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e672__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e679__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e683__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e690__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_wkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e694__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_xkq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_xkq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 5</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_disable_assertrst</span></caption><colgroup><col style="width:30.03003003003003%"/><col style="width:69.96996996996997%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_xkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e716__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_xkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e720__20250519091517">int hal_clk_disable_assertrst(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e730__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e734__20250519091517">关闭时钟的同时使能复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e741__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e745__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e752__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e756__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e763__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_xkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e767__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_ykq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_ykq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 6</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_enable_iter</span></caption><colgroup><col style="width:30.48780487804878%"/><col style="width:69.51219512195121%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_ykq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e789__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_ykq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e793__20250519091517">int hal_clk_enable_iter(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e803__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e807__20250519091517">迭代的使能时钟及其父时钟</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e814__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e818__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e825__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e829__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e836__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_ykq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e840__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_zkq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_zkq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 7</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_enable_deassertrst_iter</span></caption><colgroup><col style="width:28.011204481792717%"/><col style="width:71.98879551820728%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_zkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e862__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_zkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e866__20250519091517">int hal_clk_enable_deassertrst_iter(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e876__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e880__20250519091517">迭代的使能时钟及其父时钟,同时放开复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e887__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e891__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e898__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e902__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e909__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_zkq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e913__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_alq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_alq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 8</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_get_freq</span></caption><colgroup><col style="width:28.985507246376812%"/><col style="width:71.01449275362319%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_alq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e935__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_alq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e939__20250519091517">unsigned long hal_clk_get_freq(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e949__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e953__20250519091517">获取时钟频率</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e960__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e964__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e971__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e975__20250519091517">时钟频率,单位为 Hz</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e982__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_alq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e986__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_blq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_blq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 9</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_set_freq</span></caption><colgroup><col style="width:26.525198938992045%"/><col style="width:73.47480106100795%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_blq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1008__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_blq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1012__20250519091517">int hal_clk_set_freq(uint32_t clk_id, unsigned long freq)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1022__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1026__20250519091517">设置时钟频率</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1033__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1037__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">
<div class="- topic/div div">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</div>
<div class="- topic/div div">freq时钟频率单位为 Hz</div>
</div>
2025-04-23 17:54:31 +08:00
</p></td>
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1053__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1057__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1064__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_blq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1068__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_clq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_clq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 10</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_get_parent</span></caption><colgroup><col style="width:28.985507246376812%"/><col style="width:71.01449275362319%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_clq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1091__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_clq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1095__20250519091517">unsigned int hal_clk_get_parent(uint32_t clk_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1105__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1109__20250519091517">获取父时钟 ID</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1116__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1120__20250519091517">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1127__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1131__20250519091517">父时钟 ID</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1138__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_clq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1142__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_dlq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_dlq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 11</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_clk_set_parent</span></caption><colgroup><col style="width:23.980815347721823%"/><col style="width:76.01918465227818%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_dlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1164__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_dlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1168__20250519091517">int hal_clk_set_parent(uint32_t clk_id, unsigned int
2025-04-23 17:54:31 +08:00
parent_clk_id)</p></th>
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1178__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1182__20250519091517">设置父时钟 ID</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1189__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1193__20250519091517">
2025-01-23 16:37:00 +08:00
<div class="- topic/div div">
<div class="- topic/div div">clk_id时钟 ID (CLK_xxxx 格式定义的宏)</div>
<div class="- topic/div div">parent_clk_id父时钟 ID</div>
</div>
2025-04-23 17:54:31 +08:00
</p></td>
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1209__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1213__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1220__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_dlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1224__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div></section>
<section class="- topic/section section" id="cmu_interface_design_2__reset-api" data-ofbid="cmu_interface_design_2__reset-api"><h2 class="- topic/title title sectiontitle">Reset API</h2>
2025-07-22 11:15:46 +08:00
<p class="- topic/p p" data-ofbid="d117139e1235__20250519091517">CMU 驱动提供了 Reset API 接口函数:</p><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_elq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_elq_yhd_bdc" data-cols="2"><caption></caption><colgroup><col style="width:53.051643192488264%"/><col style="width:46.948356807511736%"/></colgroup><thead class="- topic/thead thead">
2025-04-23 17:54:31 +08:00
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_elq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1250__20250519091517">API 函数</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_elq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1254__20250519091517">功能描述</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1264__20250519091517">hal_reset_assert()</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1268__20250519091517">使能复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1275__20250519091517">hal_reset_deassert()</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1279__20250519091517">放开复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1286__20250519091517">hal_reset_status()</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_elq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1290__20250519091517">获取复位状态</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_flq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_flq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 12</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_reset_assert</span></caption><colgroup><col style="width:30.03003003003003%"/><col style="width:69.96996996996997%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_flq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1312__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_flq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1316__20250519091517">int hal_reset_assert(uint32_t rst_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1326__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1330__20250519091517">使能复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1337__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1341__20250519091517">rst_idReset ID (RESET_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1348__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1352__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1359__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_flq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1363__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_glq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_glq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 13</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_reset_deassert</span></caption><colgroup><col style="width:30.03003003003003%"/><col style="width:69.96996996996997%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_glq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1385__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_glq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1389__20250519091517">int hal_reset_deassert(uint32_t rst_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1399__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1403__20250519091517">放开复位</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1410__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1414__20250519091517">rst_idReset ID (RESET_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1421__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1425__20250519091517">操作是否成功 (0=OK, other=Error)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1432__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_glq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1436__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div><div class="table-container"><table class="- topic/table table frame-all" id="cmu_interface_design_2__table_hlq_yhd_bdc" data-ofbid="cmu_interface_design_2__table_hlq_yhd_bdc" data-cols="2"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label"><span class="table--title-label-number"> 14</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">hal_reset_status</span></caption><colgroup><col style="width:30.03003003003003%"/><col style="width:69.96996996996997%"/></colgroup><thead class="- topic/thead thead">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<th class="- topic/entry entry colsep-1 rowsep-1" id="cmu_interface_design_2__table_hlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1458__20250519091517">函数原型</p></th>
<th class="- topic/entry entry colsep-0 rowsep-1" id="cmu_interface_design_2__table_hlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1462__20250519091517">int hal_reset_status(uint32_t rst_id)</p></th>
2025-04-23 17:54:31 +08:00
</tr>
</thead><tbody class="- topic/tbody tbody">
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1472__20250519091517">功能说明</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1476__20250519091517">查看复位状态</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1483__20250519091517">参数定义</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1487__20250519091517">rst_idReset ID (RESET_xxxx 格式定义的宏)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1494__20250519091517">返回值</p></td>
<td class="- topic/entry entry colsep-0 rowsep-1" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1498__20250519091517">操作是否成功 (0=复位有效, 1=复位无效)</p></td>
2025-04-23 17:54:31 +08:00
</tr>
<tr class="- topic/row">
2025-07-22 11:15:46 +08:00
<td class="- topic/entry entry colsep-1 rowsep-0" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__1"><p class="- topic/p p" data-ofbid="d117139e1505__20250519091517">注意事项</p></td>
<td class="- topic/entry entry colsep-0 rowsep-0" headers="cmu_interface_design_2__table_hlq_yhd_bdc__entry__2"><p class="- topic/p p" data-ofbid="d117139e1509__20250519091517">-</p></td>
2025-04-23 17:54:31 +08:00
</tr>
</tbody></table></div></section>
</div>
</article></main></div>
2025-01-23 16:37:00 +08:00
</div>
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
<div id="wh_topic_toc_content">
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#cmu_interface_design_2__clock-api" data-tocid="cmu_interface_design_2__clock-api">Clock API</a></div></li><li class="section-item"><div class="section-title"><a href="#cmu_interface_design_2__reset-api" data-tocid="cmu_interface_design_2__reset-api">Reset API</a></div></li></ul></div>
</div>
</nav>
</div>
</div>
</div>
<footer class="navbar navbar-default wh_footer">
<div class=" footer-container mx-auto ">
<title>footer def</title>
2025-04-23 17:54:31 +08:00
<style>
2025-01-23 16:37:00 +08:00
.p1 {
font-family: FangZhengShuSong, Times, serif;
}
.p2 {
font-family: Arial, Helvetica, sans-serif;
}
.p3 {
font-family: "Lucida Console", "Courier New", monospace;
}
2025-04-23 17:54:31 +08:00
</style>
2025-01-23 16:37:00 +08:00
<div class="webhelp.fragment.footer">
2025-04-23 17:54:31 +08:00
<p class="p1">Copyright © 2019-2025 广东匠芯创科技有限公司. All rights reserved.</p>
</div>
<div>
2025-01-23 16:37:00 +08:00
<div class="generation_time">
2025-07-22 11:15:46 +08:00
Update Time: 2025-05-19
2025-01-23 16:37:00 +08:00
</div>
2025-04-23 17:54:31 +08:00
</div>
2025-01-23 16:37:00 +08:00
</div>
</footer>
<div id="go2top" class="d-print-none">
<span class="oxy-icon oxy-icon-up"></span>
</div>
<div id="modal_img_large" class="modal">
<span class="close oxy-icon oxy-icon-remove"></span>
<div id="modal_img_container"></div>
<div id="caption"></div>
</div>
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
</body>
</html>