Commit Graph

33 Commits

Author SHA1 Message Date
Tangyuxin 59e751eb2a
[sensor]Add blood pressure sensor type (#5766) 2022-04-05 19:35:23 +08:00
guo dcce9886e9
Update sensor.c 2021-12-24 10:10:59 +08:00
Sherman 0f0093aa3e [UPDATE]添加新驱动、完善 BSP
- [update] 更新 template 工程配置
 - [update] 更新 PLATFORM 配置
 - [add] 添加 ra icu 驱动文件
 - [add] 增加传感器类型 IAQ、EtOH
 - [add] 添加 CAN 驱动
 - [add] 添加 RW007 驱动及使用说明
 - [fix] GCC 编译问题
 - [fix] flash 驱动
 - [fix] 修改 scons 脚本配置
2021-12-14 11:04:46 +08:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
StackRyan e6f9ecfe26 [add] add spo2 sensor support in drivers/include/drivers/sensor.h and drivers/sensors/sensor.c
Signed-off-by: yuanjie <yuanjie@rt-thread.com>
2021-04-02 21:43:58 +08:00
wangqiang c72227680d Fixed formatting issues 2021-03-22 10:11:42 +08:00
wangqiang 3487f2790a 1. 优化pin.h, sensor.h, rtdevice.h,避免反向包含
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数
3. 优化rt_device_register和sensor_polling的LOG信息
4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17 17:42:43 +08:00
wangqiang 58bb9f5b2e 优化ops的检测代码 2021-03-17 13:44:05 +08:00
xfwangqiang 613f89a372 检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义ops中的函数而造成的问题 2021-03-17 13:44:05 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Bernard Xiong f9c5007cae
Merge pull request #3271 from fmkong/sensor_irq_disable
[drivers/sensor]disable irq only when the sensor and module sensors a…
2021-01-22 18:35:21 +08:00
Prry a38e7768ac 缩进由“TAB键”改用为“空格” 2020-12-20 22:23:28 +08:00
Prry e7ed764254 添加TOF传感器描述信息 2020-12-19 12:23:37 +08:00
luhuadong 6c25b839ee [sensor] support GPS/GNSS sensor class 2020-09-11 18:04:28 +08:00
luhuadong 7c4e70b3b3 [Sensor] Add user-commands range limitation 2020-03-16 11:03:32 +08:00
luhuadong 815d231f4a add change log 2020-02-22 22:43:14 +08:00
luhuadong 82f981d34c [Sensor] Support custom commands for rt_sensor_control 2020-02-22 21:00:35 +08:00
luhuadong 26fa5e5fa2 [Sensor] Add the prefix corresponding to sensor types 2020-02-20 16:09:52 +08:00
Fanming f3ee2dd186 [drivers/sensor]disable irq only when the sensor and module sensors are all cloesed. 2019-12-17 17:53:16 +08:00
wangk-ge 649f75f861
修改内存泄漏问题 2019-11-11 16:46:43 +08:00
tyustli d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00
guozhanxin 7d6fa2388d [sensor] To streamline the code.| 精简代码,去除冗余的代码。 2019-06-13 17:52:52 +08:00
guozhanxin 2600f82e39 [sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误. 2019-06-13 16:01:23 +08:00
guozhanxin 1ec6f5b101 [sensor] Fix the problem that memory is not free after the sensor is closed. | 修复sensor设备关闭后内存不释放的问题。 2019-06-13 15:39:11 +08:00
guozhanxin 8ade4fff2e [sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误. 2019-06-06 16:14:51 +08:00
guozhanxin 34e5383f9a [sensor] fixed step name display abnormal. 2019-05-30 00:06:44 +08:00
Zhou DingHua fdc9683150 Add new sensor type and vendor type.
sensor type: force sensor
  vendor type: MiraMEMS
2019-04-17 16:32:32 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
guozhanxin 507a90f055 [sensor] add irq_handle for driver. | 为底层驱动添加中断回调。 2019-03-08 10:34:10 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
guozhanxin fb9482d61b [sensor] change RT_SENSOR_FLAG_FIFO to RT_DEVICE_FLAG_FIFO_RX 2019-02-15 10:51:20 +08:00
guozhanxin 37d0400739 rename rt_sen_ to rt_sensor_ 2019-02-13 15:00:35 +08:00
guozhanxin 64813b6b07 add first version 2019-02-12 14:09:34 +08:00