<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/misc/adc.c, branch copilot/remove-finish-function-export-alias</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/misc/adc.c?h=copilot%2Fremove-finish-function-export-alias</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/misc/adc.c?h=copilot%2Fremove-finish-function-export-alias'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-06-10T06:21:46Z</updated>
<entry>
<title>components: drivers: adc: fixed cppcheck error</title>
<updated>2025-06-10T06:21:46Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-06-09T06:48:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=60c6fc0e3a2d4a60543a288b16a7a57ab924cce9'/>
<id>urn:sha1:60c6fc0e3a2d4a60543a288b16a7a57ab924cce9</id>
<content type='text'>
[cpp_check.py 80 INFO] components/drivers/misc/adc.c:76:12:
error: Uninitialized variable: result [legacyUninitvar]
    return result;
           ^

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>componnets: drivers: adc: remove build warnings</title>
<updated>2025-06-10T06:21:46Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-06-09T02:38:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ae86c6e8bbd026890456330898b59cc54d5354a6'/>
<id>urn:sha1:ae86c6e8bbd026890456330898b59cc54d5354a6</id>
<content type='text'>
gcc build warnings:
cast from pointer to integer of different size [-Wpointer-to-int-cast]

For rt_adc_ops.enabled, the type of second param is rt_int8_t,
original _adc_control also called with wrong type casting.

Convert first to rt_base_t, then cast to rt_int8_t to remove the
build warnings.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>[bsp][stm32]Optimize ADCs and fix some bugs</title>
<updated>2024-06-26T12:26:52Z</updated>
<author>
<name>yiyi</name>
<email>55530868+youzuwei@users.noreply.github.com</email>
</author>
<published>2024-06-26T12:26:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bc3afab2c9ae8aaee793f22d03f6961386d2680f'/>
<id>urn:sha1:bc3afab2c9ae8aaee793f22d03f6961386d2680f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][misc][adc] 修复 ADC 电压转换的计算错误</title>
<updated>2024-06-03T03:31:30Z</updated>
<author>
<name>sp-cai</name>
<email>70000077+sp-cai@users.noreply.github.com</email>
</author>
<published>2024-06-01T05:27:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=884e391954b33342bbe0a8af60b04689f8caf5f5'/>
<id>urn:sha1:884e391954b33342bbe0a8af60b04689f8caf5f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[adc] remove dead code</title>
<updated>2023-06-13T21:47:54Z</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2023-06-13T21:07:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=177f3d4056512b3979fe599042aea8ac2bf5234f'/>
<id>urn:sha1:177f3d4056512b3979fe599042aea8ac2bf5234f</id>
<content type='text'>
The variable result_str is never used after this assignment.
</content>
</entry>
<entry>
<title>[HUST CSE] Fix many abnormal symbols in annotations and format code</title>
<updated>2023-04-18T02:26:23Z</updated>
<author>
<name>7YZ7</name>
<email>82019212+7YZ7@users.noreply.github.com</email>
</author>
<published>2023-04-18T02:26:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=501b22aabede2d4e179bfc47f3b75522e5933da4'/>
<id>urn:sha1:501b22aabede2d4e179bfc47f3b75522e5933da4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[adc] modify adc channel data type from rt_uint32_t to rt_int8_t</title>
<updated>2023-04-09T02:40:37Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-04-09T02:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e9bbc2e3490d1259c3a597a6305ca1376e767878'/>
<id>urn:sha1:e9bbc2e3490d1259c3a597a6305ca1376e767878</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt_device_write/read return data type as rt_ssize_t</title>
<updated>2023-02-08T02:43:57Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-02-05T23:35:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f58d3c5200d5a51a39503c5311422e2fb99d3d20'/>
<id>urn:sha1:f58d3c5200d5a51a39503c5311422e2fb99d3d20</id>
<content type='text'>
rt_ssize_t can give negative error code, which follows the unix style correctly
</content>
</entry>
<entry>
<title>[bsp][c28x] 新增adc驱动 (#6520)</title>
<updated>2022-10-15T04:56:00Z</updated>
<author>
<name>YuQi</name>
<email>qiyu_sjtu@163.com</email>
</author>
<published>2022-10-15T04:56:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=94221bbdd88cbd6edd208b67d7c246b7f934a17e'/>
<id>urn:sha1:94221bbdd88cbd6edd208b67d7c246b7f934a17e</id>
<content type='text'>
1. 在c28x文件目录上一层再套一层文件夹ti，目前28379的项目路径为rt-thread\bsp\ti\c28x\tms320f28379d
2. 新增adc驱动与kconfig配置</content>
</entry>
<entry>
<title>[device][adc] implement adc_get_vref (#5988)</title>
<updated>2022-05-29T02:22:33Z</updated>
<author>
<name>Stanley Lwin</name>
<email>98496195+byte-me-stan@users.noreply.github.com</email>
</author>
<published>2022-05-29T02:22:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=04a17d469a686282254f038f78d634a7420a1e0d'/>
<id>urn:sha1:04a17d469a686282254f038f78d634a7420a1e0d</id>
<content type='text'>
* add adc_get_vref

add stm32_adc_get_vref</content>
</entry>
</feed>
