Commit Graph

21 Commits

Author SHA1 Message Date
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
Wayne 3291882b38
[i2c] fix the return value of rt_i2c_master_send/recv
fix the related PR: #7029
2023-05-09 01:13:02 -04:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
Man, Jianting (Meco) 0275b23638
[i2c] fix the i2c device return error code (#7035)
* [i2c] fix the i2c device return error code
2023-03-10 23:44:03 -05:00
Zxy c8b30bf31a
[device]修改i2c读写函数返回类型为rt_ssize_t (#7029) 2023-03-09 23:42:58 -05:00
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
RiceChen 0b9e01cced add I2C bus control api 2021-04-20 00:26:28 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
a1012112796 ab981a32b5 [Device/I2C] Chang debug message print way to ulog 2019-11-26 07:41:43 +08:00
linch 55b69111dc fix i2c flags bug 2019-09-06 14:44:50 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
SummerGift cfc3b76438 delete a useless %s. 2017-08-19 10:04:04 +08:00
Bluebear233 1e6137268d Update i2c_core.c
修复I2C读写函数,I2C传输失败时返回成功的问题
2017-02-20 11:32:13 +08:00
bernard 6281ab2bbe [DeviceDriver] Remove i2c_core_lock. 2014-11-01 16:38:53 +08:00
bernard a124e7bd22 add initialization debug code 2013-07-24 07:33:48 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
dzzxzz@gmail.com 68b7e7c481 fixed the coding style in the components/drivers
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 08:43:40 +00:00
wuyangyong 9e3c72a635 fixed a eclipse compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2163 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 12:18:52 +00:00
luohui2320@gmail.com 85169d7fe8 update I2C driver, which now just use small memory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 16:55:46 +00:00
luohui2320@gmail.com 55460652d3 ADD I2C driver framework and I2C gpio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-22 17:32:32 +00:00