summaryrefslogtreecommitdiff
path: root/components/drivers/sensors/sensor.c
AgeCommit message (Collapse)Author
2021-04-02[add] add spo2 sensor support in drivers/include/drivers/sensor.h and ↵StackRyan
drivers/sensors/sensor.c Signed-off-by: yuanjie <[email protected]>
2021-03-22Fixed formatting issueswangqiang
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优化ops的检测代码wangqiang
2021-03-17检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义 ↵xfwangqiang
ops中的函数而造成的问题
2021-03-08[compoenets] auto & manual formattedMeco Man
2021-01-22Merge pull request #3271 from fmkong/sensor_irq_disableBernard Xiong
[drivers/sensor]disable irq only when the sensor and module sensors a…
2020-12-20缩进由“TAB键”改用为“空格”Prry
2020-12-19添加TOF传感器描述信息Prry
2020-09-11[sensor] support GPS/GNSS sensor classluhuadong
2020-03-16[Sensor] Add user-commands range limitationluhuadong
2020-02-22add change logluhuadong
2020-02-22[Sensor] Support custom commands for rt_sensor_controlluhuadong
2020-02-20[Sensor] Add the prefix corresponding to sensor typesluhuadong
2019-12-17[drivers/sensor]disable irq only when the sensor and module sensors are all ↵Fanming
cloesed.
2019-11-11修改内存泄漏问题wangk-ge
2019-06-18fix kernel and framework no cast type errortyustli
2019-06-13[sensor] To streamline the code.| 精简代码,去除冗余的代码。guozhanxin
2019-06-13[sensor] Fixed error with mutex_lock take and release not matching.| ↵guozhanxin
修复锁的获取和释放不对应的错误.
2019-06-13[sensor] Fix the problem that memory is not free after the sensor is closed. ↵guozhanxin
| 修复sensor设备关闭后内存不释放的问题。
2019-06-06[sensor] Fixed error with mutex_lock take and release not matching.| ↵guozhanxin
修复锁的获取和释放不对应的错误.
2019-05-30[sensor] fixed step name display abnormal.guozhanxin
2019-04-17Add new sensor type and vendor type.Zhou DingHua
sensor type: force sensor vendor type: MiraMEMS
2019-04-12Update all of debug log definition to DBG_TAG and DBG_LVL.armink
2019-03-08[sensor] add irq_handle for driver. | 为底层驱动添加中断回调。guozhanxin
2019-03-06Remove the DBG_COLOR and DBG_ENABLE definition.armink
2019-02-15[sensor] change RT_SENSOR_FLAG_FIFO to RT_DEVICE_FLAG_FIFO_RXguozhanxin
2019-02-13rename rt_sen_ to rt_sensor_guozhanxin
2019-02-12add first versionguozhanxin