Commit Graph

23 Commits

Author SHA1 Message Date
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
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Prry a38e7768ac 缩进由“TAB键”改用为“空格” 2020-12-20 22:23:28 +08:00
Prry e7ed764254 添加TOF传感器描述信息 2020-12-19 12:23:37 +08:00
SimpleInit c495d5a247 1.Add sensor vendor MAXIM.
2.Fix: When printing sub-zero temperature, "-" is displayed after ".".

Signed-off-by: SimpleInit <63694297@qq.com>
2020-10-20 20:55:34 +08:00
luhuadong 6c25b839ee [sensor] support GPS/GNSS sensor class 2020-09-11 18:04:28 +08:00
luhuadong cc15a1b59c [sensor] fixed sensor cmd delay time 2020-07-08 22:53:02 +08:00
luhuadong f2070beb54 [Sensor] Add two concentration unit ppm & ppb 2020-07-04 17:14:31 +08:00
luhuadong 1fde73a93c [Sensor] Add AMS sensor vendor info 2020-07-04 16:48:05 +08:00
luhuadong 9e7fdad8fb [Sensor] Add Plantower sensor info 2020-06-11 21:26:31 +08:00
luhuadong ac6f133f86 [Sensor] fixed %% print 2020-02-26 17:31:26 +08:00
luhuadong 3994ebbfd4 [Sensor] Add vendor info and sensor types for cmd 2020-02-26 17:20:41 +08:00
Willian Chan 06b4a0611d [component][drivers][sensors]Fix compilation warnings
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-17 09:27:30 +08:00
Willian Chan 7db27345c2 [component][drivers][sensors]Increase the output of sensor information
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-16 18:30:15 +08:00
tyustli d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00
guozhanxin 44abc90990 [sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。 2019-06-13 15:39:11 +08:00
guozhanxin 8f2f232887 [sensor] 完善sensor框架
* 修复开启 RTC 编译报错的问题。
* 在显示 sensor 数据时添加单位。
2019-05-08 11:47:07 +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 f6eabb2d0a [sensor] Fixed a problem where threads were repeatedly created。| 修复线程被重复创建的问题 2019-03-08 10:37:48 +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 b9937f076b rename sensor_test to sensor_cmd 2019-02-13 15:08:16 +08:00