Commit Graph

13 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
Man, Jianting (Meco) c52c1c5521
[spi device] remove _spi_bus_device_control (#5898) 2022-05-30 18:05:05 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +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
bernard 5397e18c56 [DeviceDrivers] Fix compiling warning. 2014-08-03 14:29:46 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
dzzxzz@gmail.com 20de2ffa18 change file format(CR/LF) from PC to Unix/Mac OS X
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:23:11 +00:00
dzzxzz@gmail.com c1a64657f6 re-format the coding style in spi_dev.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2272 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 06:02:14 +00:00
dzzxzz@gmail.com 648b45ee26 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-05-16 12:26:39 +00:00
dzzxzz@gmail.com 55f5069a5e fixed the return value in rt_spi_bus_attach_device()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 10:44:39 +00:00
bernard.xiong@gmail.com 2b8c20af4b add SPI framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1911 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:16:51 +00:00