Commit Graph

33 Commits

Author SHA1 Message Date
yangjie 9d0b860e54 [components][driver/pin.c]pin 框架增加 rt_pin_get 2020-09-11 11:14:53 +08:00
thread-liu a84d575314 [update] format code 2020-06-24 12:53:24 +08:00
thread-liu 2fcd940b57 [update] add drivers for stm32mp1. 2020-06-23 11:26:11 +08:00
Steven Liu 12eacb8df6 components: drivers: misc: pwm: Missing "pwm1" here. 2019-11-11 17:10:25 +08:00
tangweikang b76d3dac8a [components][drivers] change name: encoder -> pulse_encoder 2019-08-30 15:58:52 +08:00
tangweikang f9bad31d57 [components][drivers] change name: capture -> inputcapture 2019-08-21 10:51:02 +08:00
tangweikang e1587de6f7 [components][drivers] update capture driven framework 2019-08-15 16:44:05 +08:00
tangweikang 473505053f [components][drivers] add capture driven framework 2019-08-13 20:33:23 +08:00
tangweikang 2b9a9e0163 [components][drivers] update : Move clear_count() function from ops->control() to ops->clear_count() 2019-08-12 13:47:03 +08:00
tangweikang e5dc60e3cf [components][drivers] update encoder driven framework 2019-08-11 16:15:43 +08:00
tangweikang cc565da5a1 [components][drivers] add encoder driven framework 2019-08-09 18:42:14 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
misonyo 97c930cd65 [components]add rt_device_ops for adc device and fix finsh_getchar() return wrong value in Big-endian status. 2019-03-23 09:47:45 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
KE1VG8CBMISQ6ED\Administrator 895fb5c1a9 Update adc.c
check fun is NULL, error
2018-12-08 22:56:34 +08:00
aozima 669eb13ed9 [DeviceDriver] update RT_USING_DEVICE_OPS.
1. fixed audio_pipe.c compile error.
2. update pwm driver: support RT_USING_DEVICE_OPS.
2018-11-24 17:29:50 +08:00
chenchaoqun@rt-thread.com 049944529f [add] adc framework 2018-11-20 10:08:31 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
guozhanxin 12b7634c62 [components][drivers][pwm] Add rt_pwm_disable function and API Interface 2018-09-26 17:29:39 +08:00
luo jiao ef8398c2bb [components][drivers][pin module]:typo fix for pin_detach_irq 2018-06-26 22:18:58 +08:00
Bernard Xiong 564df04da1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-06-10 18:01:15 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
aozima 5569d17b95 [DeviceDrivers] rename _pwm.c to rt_drv_pwm.c 2018-06-08 16:07:12 +08:00
aozima 0e5b4a0ff2 [DeviceDrivers] export pwm_enable/set to shell. 2018-06-08 16:04:29 +08:00
aozima cdfef48395 [DeviceDrivers] add pwm driver framework. 2018-06-07 21:23:22 +08:00
armink ba2f149a4c [DeviceDriver] Change `pin_irq_enable` to `rt_pin_irq_enable`. 2017-11-08 00:05:46 +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
Aubr.Cool aa8e5cc412 [components] drivers pin irq change apis 2017-03-14 10:28:29 +08:00
Aubr.Cool 320b116b5f [Components] Drivers: pin add irq apis 2017-03-10 15:07:28 +08:00
gbcwbz 0d63eb5f6d fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
function `rt_pin_write` is invoked by  function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
Aubr.Cool 6dc5851c55 Correct pin register name problems 2015-03-23 09:38:09 +08:00
Bernard Xiong 1bb425e839 [DeviceDrivers] code cleanup for hardware pin 2015-01-19 08:56:43 +00:00
Bernard Xiong d01b2ca84b [DeviceDrivers] Add pin io driver framework 2015-01-19 06:18:16 +00:00