Commit Graph

20 Commits

Author SHA1 Message Date
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Tangyuxin a4829b1c00
[fix] Fix simulator compilation warnings (#6438)
* [fix] Fix simulator compilation warnings

* Update bsp/simulator/rtconfig_project.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Meco Man d5eeec2872 [hwtimer] add disable interrupt protection for hwtimer_isr function 2022-05-11 15:28:50 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
tyx 8aecd43c78 [drivers][hwtimer] Fix compilation warning 2022-04-23 23:08:47 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
luanxueguang accb73d8df [update] 获取timer count时,防止因中断到来导致overflow更新 2020-11-21 17:44:52 +08:00
Wayne Lin f0e4009c30 Fix rt_hw_inputcapture_isr public function name in header file.
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
misonyo 3b4bb18c06 [components/drivers/hwtimer]修复定时器向下计数模式时时间获取错误bug 2018-12-25 09:59:16 +08:00
zylx 6ea32ee488 [components][drivers] delete redundant judgment 2018-12-13 10:00:03 +08:00
zylx f497b17111 [components][drivers]fix hardware timer 2018-12-12 17:20:55 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
ZYH 9a666099aa [Components][Drivers][hwtimer]fix 'index' declared without an initial value 2018-09-18 15:30:52 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
tangyuxin 2bbb27c29c [drivers]修复定时器驱动框架单次长时间定时不准确的问题 2018-03-06 10:40:02 +08:00
bernard d7087fdd3b [DeviceDrivers] change cmd type.
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
heyuanjie87 984a7ba051 修改说明文档 2015-09-09 10:26:42 +08:00
heyuanjie87 efc1b058ac 添加说明文档 2015-09-07 13:27:05 +08:00
heyuanjie87 d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
heyuanjie87 c84887d021 加入定时器设备 2015-09-02 22:00:24 +08:00