summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
AgeCommit message (Collapse)Author
2019-01-02[component] Sync to latest version.armink
2018-10-29[DeviceDriver] Add power management device driver.armink
2018-09-21Merge branch 'master' into devBernard Xiong
2018-09-18添加新的mtd接口heyuanjie87
2018-09-15[DeviceDriver][wlan] add new wlan frameworktangyuxin
2018-09-12[DeviceDriver] Add rbb (ring block buffer) data structure.armink
2018-06-07[DeviceDrivers] add pwm driver framework.aozima
2017-12-24[DeviceDrivers] Add CPU timeBernard Xiong
2017-10-15[DeviceDrivers] change cmd type.bernard
1. Change 'rt_uint8_t' type of cmd to 'int'; 2. Add waitqueue; 3. Split device ipc header files;
2017-02-27[DeviceDrivers] Fix the re-work issue in workqueue.Bernard Xiong
2016-11-02[DeviceDrivers]Remove dataqueue waiting_lwm flagarmink
2016-04-05[DeviceDrivers] Add audio header file.Bernard Xiong
2016-03-01[DeviceDrivers] Remove the tail spaceBernard Xiong
2015-09-02加入定时器设备heyuanjie87
2015-05-14Add Can DrvAubr.Cool
2015-04-24Add extern declaration for C++.Bernard Xiong
2015-01-20[DeviceDrivers] Add pin.h in the rtdevice.hBernard Xiong
2014-07-13[Drivers] Add workqueue implementation.bernard
2014-03-04[DeviceDrivers] Add watchdog driver frame workbernard
2013-10-23device/pipe: add a control cmd to get the space left in pipeGrissiom
2013-08-20dev/portal: implement portal deviceGrissiom
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
2013-08-19device/pipe: add nonblocking read/write and force write modeGrissiom
The previous implementation will always blocks the reader/writer. However, at least FinSh would expect the device to be nonblocking --- read should return 0 when there is no data in it.
2013-08-19ringbuffer: add put_force and putchar_force APIGrissiom
Add the APIs that will discard the old data when rb is full.
2013-08-19ringbuffer: fix the ambiguous nameGrissiom
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size of the empty space" or "the size of the data". Moreover, it's never a micro anymore. Change it to rt_ringbuffer_data_len before it's too late. Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-08-19device/pipe: add rt_pipe_{init,detach}Grissiom
This provide the possibility that allocate the buffer of the ringbuffer on a specific region, instead of always mallocing it. It also bring us the benefit of using pipe device on the systems without heap.
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-05-08reimplement ringbufferGrissiom
The new implementation use the mirroring method to distinguish full buffer and the empty buffer. It also support buffers of arbitrary size.
2013-01-08Re-normalizing the repoMing, Bai
2012-11-01add serial DMA transmit function(beta)[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2382 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28add alarm[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2374 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11update wrong file name in rtdevice.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2343 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10change the coding style of rtdevice.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2337 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10add rtc.hwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2336 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30Add pipe, data queue implementation; Fix the issue which leaks one item in ↵[email protected]
the available data of ring buffer. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15delete the config of PM[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2291 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-08move SDIO driver header files to the drivers/include directory and update ↵[email protected]
rtdevice.h git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2209 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02change rt_memcpy to memcpy in ringbuffer implementation.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18Remove I2C device and add PM pseudo device.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14fixed a eclipse compiling warning.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2163 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13update I2C driver, which now just use small memory[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01add serial device driver framework[email protected]
and implement the example in MB9BF506R branch git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-301. add mtd nor files. 2 fixed include head files in rtdevice.h and mtd_nand.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2141 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23Added device driver's IPC.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2098 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02add mtd_nand interface code[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2016 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07add MTD device.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1939 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08add some device driver header files.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1910 bbd45198-f89e-11dd-88c7-29a3b14d5316