summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
AgeCommit message (Collapse)Author
2024-04-19sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-04-16[components][drivers]add ofw support i2czms123456
2024-02-29[components/drivers]update hwtimer (#8565)zms123456
2023-12-24[component][drivers]add clk framework (#8213)zms123456
2023-10-18[kernel][dm]适配新的设备驱动模型 (#8075)zms123456
2023-07-13【dd2.0】Support the Core API for dd2.0 (#7791)ErikChanHub
2023-07-05Drivers: Support Open Firmware API and model of PICwusongjie
We support OFW API to replace fdt old API, and add IRQ, IO, Platform-Bus, CPUs ... OFW node contorl. To support work with Device Tree or ACPI in drivers that use IRQ, we make a programmable interrupt controller driver's model. Signed-off-by: GuEe-GUI <[email protected]>
2023-07-04Components/drivers: support DM device id managementwusongjie
We add the device name and id set api in DM, now driver could set name like sprintf without know how many devices it is. The misc.h and byteorder.h add some macros to developers that they always use in drivers. Signed-off-by: GuEe-GUI <[email protected]>
2023-06-18[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)Man, Jianting (Meco)
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-02-21update rtdevice.h add lcdyangfasheng
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