summaryrefslogtreecommitdiff
path: root/components/drivers/misc/dac.c
AgeCommit message (Collapse)Author
2026-07-08drivers: dac: Fix disable callback checkOld-Ding
_dac_control() checked the enabled callback before invoking disabled for RT_DAC_CMD_DISABLE. That can reject DAC drivers that provide a disable callback without enable, and can call through a NULL disabled callback when only enable is implemented. Check the disabled callback in the disable command path so the guard matches the operation being dispatched. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
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-05-09[stm32][l4] add tim7 support | ↵Man, Jianting (Meco)
设备框架以及驱动错误码处理逻辑存在问题 (#5901)
2022-04-23[dac] add get resolution methodMeco Man
2022-04-15Fix return value of rt_dac_write function. (#5816)Wayne
Co-authored-by: Wayne Lin <[email protected]>
2022-04-06[device]Detailed classification of devices types (#5769)Tangyuxin
2022-02-10修改dac.c函数名称错误 (#5591)woody
2021-08-23Remove C Style Command Shell马志远
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-06-24[update] format codethread-liu
2020-06-23[update] add drivers for stm32mp1.thread-liu