summaryrefslogtreecommitdiff
path: root/components/drivers/misc/adc.c
AgeCommit message (Collapse)Author
2025-12-09[Driver][MISC] Update ADC/PWM (#11003)GUI
* [DM][MISC] Make Kconfig(ADC/PWM) import for DM * [Driver][MISC][ADC] Fixup ADC 1. Fixup error no. 2. Fixup type of control for args. 3. Fixup value no init. * [Driver][MISC][PWM] Enable `rt_pwm_get` API Signed-off-by: GuEe-GUI <[email protected]>
2025-06-10components: drivers: adc: fixed cppcheck errorChen Wang
[cpp_check.py 80 INFO] components/drivers/misc/adc.c:76:12: error: Uninitialized variable: result [legacyUninitvar] return result; ^ Signed-off-by: Chen Wang <[email protected]>
2025-06-10componnets: drivers: adc: remove build warningsChen Wang
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 <[email protected]>
2024-06-26[bsp][stm32]Optimize ADCs and fix some bugsyiyi
2024-06-03[fix][misc][adc] 修复 ADC 电压转换的计算错误sp-cai
2023-06-13[adc] remove dead codeMingjie Shen
The variable result_str is never used after this assignment.
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-04-08[adc] modify adc channel data type from rt_uint32_t to rt_int8_tMeco Man
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2022-10-15[bsp][c28x] 新增adc驱动 (#6520)YuQi
1. 在c28x文件目录上一层再套一层文件夹ti,目前28379的项目路径为rt-thread\bsp\ti\c28x\tms320f28379d 2. 新增adc驱动与kconfig配置
2022-05-29[device][adc] implement adc_get_vref (#5988)Stanley Lwin
* add adc_get_vref add stm32_adc_get_vref
2022-05-25[adc][pwm] correct the command descriptionMeco Man
2022-05-19[adc.c] add finsh voltage conversion command (#5937)Stanley Lwin
* Update adc.c add finsh voltage conversion command
2022-04-23[dac] add get resolution methodMeco Man
2022-04-22[adc] 支持adc框架获取BSP的ADC分辨率 (#5853)Man, Jianting (Meco)
2022-04-06[device]Detailed classification of devices types (#5769)Tangyuxin
2021-08-23Remove C Style Command Shell马志远
2021-03-08[compoenets] auto & manual formattedMeco Man
2019-04-12Update all of debug log definition to DBG_TAG and DBG_LVL.armink
2019-03-23[components]add rt_device_ops for adc device and fix finsh_getchar() return ↵misonyo
wrong value in Big-endian status.
2019-03-06Remove the DBG_COLOR and DBG_ENABLE definition.armink
2018-12-08Update adc.cKE1VG8CBMISQ6ED\Administrator
check fun is NULL, error
2018-11-20[add] adc framework[email protected]