summaryrefslogtreecommitdiff
path: root/components/drivers/include
AgeCommit message (Collapse)Author
2015-09-09Merge pull request #546 from heyuanjie87/ForPullRequestBernard Xiong
[DeviceDrivers] Add hardware timer framework
2015-09-06简化操作接口heyuanjie87
2015-09-04Add more spi mode.weety
2015-09-02加入定时器设备heyuanjie87
2015-08-09[DeviceDrivers] fix sd->drv issue in sdioBernard Xiong
2015-07-08[DeviceDriver] update CAN baudrate enum.aozima
2015-07-07[DeviceDriver]can add bus_hookAubr.Cool
2015-07-06[DeviceDrivers] Use mutex to lock can_open/closeBernardXiong
2015-07-04correct can hdr definesAubr.Cool
2015-06-30add rtthread.h include for can.hAubr.Cool
2015-06-20Add mmc and emmc drivers.weety
2015-05-15add author informationAubr.Cool
2015-05-14Add Can DrvAubr.Cool
2015-04-24Add extern declaration for C++.Bernard Xiong
2015-03-26mv device ctl cmd macros from serial.h to rtdef.hAubr.Cool
2015-01-20[DeviceDrivers] Add pin.h in the rtdevice.hBernard Xiong
2015-01-19[DeviceDrivers] code cleanup for hardware pinBernard Xiong
2015-01-19[DeviceDrivers] Add pin io driver frameworkBernard Xiong
2014-07-18[Drivers] re-write serial framework.bernard
2014-07-131. Fix some spell error;shaolin
2. Fix data transfer size calculate error issue;
2014-07-13[Drivers] Add workqueue implementation.bernard
2014-07-10[Drivers] Make code cleanup in serial framework.bernard
2014-03-04[DeviceDrivers] Add watchdog driver frame workbernard
2014-03-041.replace API prefix usb* with usbh* in USB host stack to distinct with USB ↵shaolin
device stack; 2.adjust some viable and micro name 3.some other small fix
2014-02-16Update USB Device Stack to support more device controllers;shaolin
Pass USB CV test verification; Code cleanup;
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-07-24add initialization debug codebernard
2013-06-28additional updateyiyue.fang
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-06-15udisk can be ejectheyuanjie87
2013-06-06usb: add USB_MSG_PLUG_OUT eventGrissiom
When the core received an USB_MSG_PLUG_OUT event, it will stop all the classes. This make a chance that the classes could get rid off doing useless stuff while the USB cable is plugged out.
2013-05-25use __rt_ffs instead of ffsweety
2013-05-25Merge pull request #95 from grissiom/vcomqiuyiuestc
usbdevice/core: add reset function to support hotplug
2013-05-25usbdevice/core: add reset function to support hotplugqiuyiuestc
When the USB got RESET packet from the host and the address is setup, all the classes will got reset. The reset is done by class stop and than class run. So the classes should reset their internal state in class_{run,stop}. Besides, the USB device driver could post a USB_MSG_RESET message on every RESET packet.
2013-05-23make Host can halt endpointsheyuanjie87
2013-05-17add usb stateheyuanjie87
2013-05-12usbdevice/core: use static thread instead of dynamic threadGrissiom
It also add two configurations for the USB device even loop thread: RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048 RT_USBD_THREAD_PRIO to set the priority, default to 8 You can overwrite the default values in rtconfig.h
2013-05-12serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.Bernard Xiong
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-24class driver can custom string descriptionheyuanjie87
2013-01-17Add RT_MTD_ESRC definitions.Bernard Xiong
Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code.
2013-01-11Correct macro definitionheyuanjie87
2013-01-11revert some define to usb_common.hheyuanjie87
2013-01-09revert the defineheyuanjie87
2013-01-09move the define related to Mass to mstorage.hheyuanjie87