<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/hc32/libraries/hc32_drivers/drv_adc.c, branch copilot/remove-vbus-code-implementation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/hc32/libraries/hc32_drivers/drv_adc.c?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/hc32/libraries/hc32_drivers/drv_adc.c?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-08-22T10:42:44Z</updated>
<entry>
<title>Update bsp drivers for F334.</title>
<updated>2025-08-22T10:42:44Z</updated>
<author>
<name>JamieTx</name>
<email>juicebro@126.com</email>
</author>
<published>2025-08-18T06:12:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5f4319a6ca96f598cc4ba44271c3efdfb3da2479'/>
<id>urn:sha1:5f4319a6ca96f598cc4ba44271c3efdfb3da2479</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ev_hc32f334_lqfp64 board and update package relation. #10522</title>
<updated>2025-07-18T07:50:00Z</updated>
<author>
<name>Jamie</name>
<email>48308473+JamieTx@users.noreply.github.com</email>
</author>
<published>2025-07-18T07:50:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4423c6f01f9ee55e6a9e793a4020d9f8c0029f43'/>
<id>urn:sha1:4423c6f01f9ee55e6a9e793a4020d9f8c0029f43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[BSP] add some bsp drivers for F448, F472 and add bsp test codes</title>
<updated>2025-01-20T03:13:22Z</updated>
<author>
<name>Jamie</name>
<email>48308473+JamieTx@users.noreply.github.com</email>
</author>
<published>2025-01-20T03:13:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=77e95594db92ba4beac83b39e7b0920f0edd39cf'/>
<id>urn:sha1:77e95594db92ba4beac83b39e7b0920f0edd39cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[bsp][hc32] support hc32f448</title>
<updated>2024-02-22T17:34:35Z</updated>
<author>
<name>skllii</name>
<email>48580851+skllii@users.noreply.github.com</email>
</author>
<published>2024-02-22T17:34:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6fe69d7431ed54fcea863ed68d7c4f9746e771b0'/>
<id>urn:sha1:6fe69d7431ed54fcea863ed68d7c4f9746e771b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[hc32] Add some bsp drivers. (#8480)</title>
<updated>2024-01-09T13:56:37Z</updated>
<author>
<name>Jamie</name>
<email>48308473+JamieTx@users.noreply.github.com</email>
</author>
<published>2024-01-09T13:56:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=48244f25f88c72907119f9778789bb3c773d8b52'/>
<id>urn:sha1:48244f25f88c72907119f9778789bb3c773d8b52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[bsp][hc32]优化can驱动和pwm驱动 (#8217)</title>
<updated>2023-11-14T14:18:32Z</updated>
<author>
<name>梁生</name>
<email>37073099+lianghongquan@users.noreply.github.com</email>
</author>
<published>2023-11-14T14:18:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7a56058c612ba86e1d0403490029b916efe87b87'/>
<id>urn:sha1:7a56058c612ba86e1d0403490029b916efe87b87</id>
<content type='text'>
**为什么提交这份PR (why to submit this PR)**
1. hc32驱动函数和rtt函数声明之间的参数类型不一致，在mdk编译时产生警告。
2. hc32的can设备，在注册时就把can中断使能了。导致can设备在打开前，就会产生中断。
3. hc32的pwm驱动，不支持PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令，导致rt_pwm_set_pulse()函数返回失败。
**你的解决方案是什么 (what is your solution)**
1. 修改hc32驱动函数参数类型和声明一致。
2. 注册can设备时主动禁止can中断，因为打开设备时会主动打开中断。
3. 修改pwm驱动，增加PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令支持。</content>
</entry>
<entry>
<title>[errno code][-RT_ERROR] fix that use RT_ERROR without -</title>
<updated>2023-03-20T04:06:16Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-03-17T04:12:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0f461e870c481a24ce2690cca1949706bb80f9e7'/>
<id>urn:sha1:0f461e870c481a24ce2690cca1949706bb80f9e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix bugs of hc32 driver adc and can (#6077)</title>
<updated>2022-06-15T02:37:27Z</updated>
<author>
<name>cmbjxxiao</name>
<email>48663789+cmbjxxiao@users.noreply.github.com</email>
</author>
<published>2022-06-15T02:37:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c8d92d752915781fd0adb003cbbdeb67fd5acf40'/>
<id>urn:sha1:c8d92d752915781fd0adb003cbbdeb67fd5acf40</id>
<content type='text'>
* fix bugs of hc32 driver adc and can
</content>
</entry>
<entry>
<title>添加HC32F460系列ADC外设驱动支持 (#6067)</title>
<updated>2022-06-13T13:13:51Z</updated>
<author>
<name>xiaoxiaolisunny</name>
<email>88809599+xiaoxiaolisunny@users.noreply.github.com</email>
</author>
<published>2022-06-13T13:13:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5ccf6a0fa8cc85eee1797489a21091e92e727def'/>
<id>urn:sha1:5ccf6a0fa8cc85eee1797489a21091e92e727def</id>
<content type='text'>
* 添加HC32F460系列ADC外设驱动支持</content>
</entry>
<entry>
<title>Hc32 pr (#6003)</title>
<updated>2022-05-31T03:53:56Z</updated>
<author>
<name>levizhxl</name>
<email>31306568+levizh@users.noreply.github.com</email>
</author>
<published>2022-05-31T03:53:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1d6347796d82f58ef9c5f23b4913aa92c053a7b7'/>
<id>urn:sha1:1d6347796d82f58ef9c5f23b4913aa92c053a7b7</id>
<content type='text'>
* HC32F460 supported

Co-authored-by: JamieTx &lt;yangjp24@126.com&gt;
Co-authored-by: Jamie &lt;48308473+JamieTx@users.noreply.github.com&gt;</content>
</entry>
</feed>
