summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
AgeCommit message (Collapse)Author
2023-02-25Merge pull request #6981 from RT-Thread/masterserialX-devMan, Jianting (Meco)
sync from master
2023-02-21update rtdevice.h add lcdyangfasheng
2023-02-20implement serialX UART device frameworkthewon86
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-07-23[touch] 调整触摸头文件至 rtdevice.h 中 (#6180)Tangyuxin
2021-06-08[serial] 增加serial_v2版本的框架和基于stm32的串口驱动chenjh
2021-03-171. 优化pin.h, sensor.h, rtdevice.h,避免反向包含wangqiang
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数 3. 优化rt_device_register和sensor_polling的LOG信息 4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h� ↵wangqiang
�头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-10-121. ↵WangQiang
抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本 2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。 3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建 4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-06-23[update] add drivers for stm32mp1.thread-liu
2019-08-30[components][drivers] change name: encoder -> pulse_encodertangweikang
2019-08-21[components][drivers] change name: capture -> inputcapturetangweikang
2019-08-13[components][drivers] add capture driven frameworktangweikang
2019-08-09[components][drivers] add encoder driven frameworktangweikang
2019-05-25[components][drivers] add hardware crypto devicetangyuxin
2018-11-20[add] adc framework[email protected]
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